com.espertech.esper.epl.expression
Interface ExprValidator

All Known Implementing Classes:
ExprAggregateNode, ExprAndNode, ExprArrayNode, ExprAvedevNode, ExprAvgNode, ExprBetweenNode, ExprBitWiseNode, ExprCaseNode, ExprCastNode, ExprCoalesceNode, ExprConcatNode, ExprConstantNode, ExprCountNode, ExprEqualsNode, ExprIdentNode, ExprInNode, ExprInstanceofNode, ExprLikeNode, ExprMathNode, ExprMedianNode, ExprMinMaxAggrNode, ExprMinMaxRowNode, ExprNode, ExprNotNode, ExprOrNode, ExprPlugInAggFunctionNode, ExprPreviousNode, ExprPriorNode, ExprPropertyExistsNode, ExprRegexpNode, ExprRelationalOpNode, ExprStaticMethodNode, ExprStddevNode, ExprStreamInstanceMethodNode, ExprStreamUnderlyingNode, ExprSubselectExistsNode, ExprSubselectInNode, ExprSubselectNode, ExprSubselectRowNode, ExprSubstitutionNode, ExprSumNode, ExprTimestampNode, ExprVariableNode

public interface ExprValidator

Validation interface for expression nodes.


Method Summary
 Class getType()
          Returns the type that the node's evaluate method returns an instance of.
 void validate(StreamTypeService streamTypeService, MethodResolutionService methodResolutionService, ViewResourceDelegate viewResourceDelegate, TimeProvider timeProvider, VariableService variableService)
          Validate node.
 

Method Detail

validate

void validate(StreamTypeService streamTypeService,
              MethodResolutionService methodResolutionService,
              ViewResourceDelegate viewResourceDelegate,
              TimeProvider timeProvider,
              VariableService variableService)
              throws ExprValidationException
Validate node.

Parameters:
streamTypeService - serves stream event type info
methodResolutionService - - for resolving class names in library method invocations
viewResourceDelegate - - delegates for view resources to expression nodes
timeProvider - - provides engine current time
variableService - - provides access to variable values
Throws:
ExprValidationException - thrown when validation failed

getType

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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com