net.esper.eql.expression
Interface ExprValidator

All Known Implementing Classes:
ExprAggregateNode, ExprAndNode, ExprAvedevNode, ExprAvgNode, ExprBitWiseNode, ExprConcatNode, ExprConstantNode, ExprCountNode, ExprEqualsNode, ExprIdentNode, ExprMathNode, ExprMedianNode, ExprMinMaxAggrNode, ExprMinMaxRowNode, ExprNode, ExprNotNode, ExprOrNode, ExprRelationalOpNode, ExprStaticMethodNode, ExprStddevNode, ExprSumNode

public interface ExprValidator

Validation interface for filter nodes.


Method Summary
 java.lang.Class getType()
          Returns the type that the node's evaluate method returns an instance of.
 void validate(StreamTypeService streamTypeService, AutoImportService autoImportService)
          Validate node.
 

Method Detail

validate

void validate(StreamTypeService streamTypeService,
              AutoImportService autoImportService)
              throws ExprValidationException
Validate node.

Parameters:
streamTypeService - serves stream event type info
autoImportService - - for resolving class names in library method invocations
Throws:
ExprValidationException - thrown when validation failed

getType

java.lang.Class getType()
                        throws ExprValidationException
Returns the type that the node's evaluate method returns an instance of.

Returns:
type returned when evaluated
Throws:
ExprValidationException - thrown when validation failed