com.espertech.esper.epl.property
Class PropertyEvaluatorSelect

java.lang.Object
  extended by com.espertech.esper.epl.property.PropertyEvaluatorSelect
All Implemented Interfaces:
PropertyEvaluator

public class PropertyEvaluatorSelect
extends java.lang.Object
implements PropertyEvaluator

Property evaluator that considers a select-clauses and relies on an accumulative property evaluator that presents events for all columns and rows.


Constructor Summary
PropertyEvaluatorSelect(SelectExprProcessor selectExprProcessor, PropertyEvaluatorAccumulative accumulative)
          Ctor.
 
Method Summary
 boolean compareTo(PropertyEvaluator otherFilterPropertyEval)
          Compare to another property evaluator.
 EventType getFragmentEventType()
          Returns the result type of the events generated by evaluating a property expression.
 EventBean[] getProperty(EventBean theEvent, ExprEvaluatorContext exprEvaluatorContext)
          Returns the result events based on property values, or null if none found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEvaluatorSelect

public PropertyEvaluatorSelect(SelectExprProcessor selectExprProcessor,
                               PropertyEvaluatorAccumulative accumulative)
Ctor.

Parameters:
selectExprProcessor - evaluates the select clause
accumulative - provides property events for input events
Method Detail

getProperty

public EventBean[] getProperty(EventBean theEvent,
                               ExprEvaluatorContext exprEvaluatorContext)
Description copied from interface: PropertyEvaluator
Returns the result events based on property values, or null if none found.

Specified by:
getProperty in interface PropertyEvaluator
Parameters:
theEvent - to inspect
exprEvaluatorContext - expression evaluation context
Returns:
events representing property(s)

getFragmentEventType

public EventType getFragmentEventType()
Description copied from interface: PropertyEvaluator
Returns the result type of the events generated by evaluating a property expression.

Specified by:
getFragmentEventType in interface PropertyEvaluator
Returns:
result event type

compareTo

public boolean compareTo(PropertyEvaluator otherFilterPropertyEval)
Description copied from interface: PropertyEvaluator
Compare to another property evaluator.

Specified by:
compareTo in interface PropertyEvaluator
Parameters:
otherFilterPropertyEval - other
Returns:
equals or not

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