com.espertech.esper.epl.property
Class PropertyEvaluatorNested

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

public class PropertyEvaluatorNested
extends java.lang.Object
implements PropertyEvaluator

A property evaluator that considers nested properties and that considers where-clauses but does not consider select-clauses.


Constructor Summary
PropertyEvaluatorNested(ContainedEventEval[] containedEventEvals, FragmentEventType[] fragmentEventType, ExprEvaluator[] whereClauses, java.util.List<java.lang.String> expressionTexts)
          Ctor.
 
Method Summary
 boolean compareTo(PropertyEvaluator otherEval)
          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

PropertyEvaluatorNested

public PropertyEvaluatorNested(ContainedEventEval[] containedEventEvals,
                               FragmentEventType[] fragmentEventType,
                               ExprEvaluator[] whereClauses,
                               java.util.List<java.lang.String> expressionTexts)
Ctor.

Parameters:
containedEventEvals - property getters or other evaluators
fragmentEventType - the fragments
whereClauses - the where clauses
expressionTexts - the property names that are staggered
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 otherEval)
Description copied from interface: PropertyEvaluator
Compare to another property evaluator.

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

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