net.esper.eql.expression
Interface ExprValidator

All Known Implementing Classes:
ExprAggregateNode, ExprAndNode, ExprAvedevNode, ExprAvgNode, ExprConstantNode, ExprCountNode, ExprEqualsNode, ExprIdentNode, ExprMathNode, ExprMedianNode, ExprMinMaxAggrNode, ExprMinMaxRowNode, ExprNode, ExprOrNode, ExprRelationalOpNode, 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)
          Validate node.
 

Method Detail

validate

void validate(StreamTypeService streamTypeService)
              throws ExprValidationException
Validate node.

Parameters:
streamTypeService - serves stream event type info
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