Class PropertyEvaluatorSimple

java.lang.Object
com.espertech.esper.common.internal.epl.contained.PropertyEvaluatorSimple
All Implemented Interfaces:
PropertyEvaluator

public class PropertyEvaluatorSimple extends Object implements PropertyEvaluator
Property evaluator that considers only level one and considers a where-clause, but does not consider a select clause or N-level.
  • Field Details

  • Constructor Details

    • PropertyEvaluatorSimple

      public PropertyEvaluatorSimple()
  • Method Details

    • setContainedEventEval

      public void setContainedEventEval(ContainedEventEval containedEventEval)
    • setFilter

      public void setFilter(ExprEvaluator filter)
    • setFragmentIsIndexed

      public void setFragmentIsIndexed(boolean fragmentIsIndexed)
    • setExpressionText

      public void setExpressionText(String expressionText)
    • setEventType

      public void setEventType(EventType eventType)
    • 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
    • getFilter

      public ExprEvaluator getFilter()
    • getExpressionText

      public String getExpressionText()