com.espertech.esper.epl.expression.table
Class ExprTableAccessNodeKeys

java.lang.Object
  extended by com.espertech.esper.epl.expression.core.ExprNodeBase
      extended by com.espertech.esper.epl.expression.table.ExprTableAccessNode
          extended by com.espertech.esper.epl.expression.table.ExprTableAccessNodeKeys
All Implemented Interfaces:
ExprEvaluator, ExprNode, ExprValidator, MetaDefItem, java.io.Serializable

public class ExprTableAccessNodeKeys
extends ExprTableAccessNode
implements ExprEvaluator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.espertech.esper.epl.expression.table.ExprTableAccessNode
groupKeyEvaluators, strategy, tableName
 
Constructor Summary
ExprTableAccessNodeKeys(java.lang.String tableName)
           
 
Method Summary
protected  boolean equalsNodeInternal(ExprTableAccessNode other)
           
 java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
          Evaluate event tuple and return result.
 ExprEvaluator getExprEvaluator()
           
 java.lang.Class getType()
          Returns the type that the node's evaluate method returns an instance of.
 void toPrecedenceFreeEPL(java.io.StringWriter writer)
           
protected  void validateBindingInternal(ExprValidationContext validationContext, TableMetadata tableMetadata)
           
 
Methods inherited from class com.espertech.esper.epl.expression.table.ExprTableAccessNode
equalsNode, getGroupKeyEvaluators, getPrecedence, getTableName, hashCode, isConstantResult, setStrategy, toPrecedenceFreeEPLInternal, toPrecedenceFreeEPLInternal, validate, validateGroupKeys, validateSubpropertyGetCol
 
Methods inherited from class com.espertech.esper.epl.expression.core.ExprNodeBase
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprTableAccessNodeKeys

public ExprTableAccessNodeKeys(java.lang.String tableName)
Method Detail

toPrecedenceFreeEPL

public void toPrecedenceFreeEPL(java.io.StringWriter writer)
Specified by:
toPrecedenceFreeEPL in class ExprNodeBase

getExprEvaluator

public ExprEvaluator getExprEvaluator()
Specified by:
getExprEvaluator in interface ExprNode

validateBindingInternal

protected void validateBindingInternal(ExprValidationContext validationContext,
                                       TableMetadata tableMetadata)
                                throws ExprValidationException
Specified by:
validateBindingInternal in class ExprTableAccessNode
Throws:
ExprValidationException

evaluate

public java.lang.Object evaluate(EventBean[] eventsPerStream,
                                 boolean isNewData,
                                 ExprEvaluatorContext context)
Description copied from interface: ExprEvaluator
Evaluate event tuple and return result.

Specified by:
evaluate in interface ExprEvaluator
Parameters:
eventsPerStream - - event tuple
isNewData - - indicates whether we are dealing with new data (istream) or old data (rstream)
context - context for expression evaluation
Returns:
evaluation result, a boolean value for OR/AND-type evalution nodes.

getType

public java.lang.Class getType()
Description copied from interface: ExprEvaluator
Returns the type that the node's evaluate method returns an instance of.

Specified by:
getType in interface ExprEvaluator
Returns:
type returned when evaluated

equalsNodeInternal

protected boolean equalsNodeInternal(ExprTableAccessNode other)
Specified by:
equalsNodeInternal in class ExprTableAccessNode

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com