com.espertech.esper.epl.core.eval
Class EvalBaseFirstProp

java.lang.Object
  extended by com.espertech.esper.epl.core.eval.EvalBaseFirstProp
All Implemented Interfaces:
SelectExprProcessor
Direct Known Subclasses:
EvalInsertNoWildcardSingleColCoercionBean, EvalInsertNoWildcardSingleColCoercionBeanWrap, EvalInsertNoWildcardSingleColCoercionBeanWrapVariant, EvalInsertNoWildcardSingleColCoercionMapWrap, EvalInsertNoWildcardSingleColCoercionObjectArrayWrap, EvalInsertNoWildcardSingleColCoercionRevisionBean, EvalInsertNoWildcardSingleColCoercionRevisionBeanWrap, EvalInsertNoWildcardSingleColCoercionRevisionMap, EvalInsertNoWildcardSingleColCoercionRevisionObjectArray

public abstract class EvalBaseFirstProp
extends java.lang.Object
implements SelectExprProcessor


Constructor Summary
EvalBaseFirstProp(SelectExprContext selectExprContext, EventType resultEventType)
           
 
Method Summary
 EventAdapterService getEventAdapterService()
           
 EventType getResultEventType()
          Returns the event type that represents the select-clause items.
 EventBean process(EventBean[] eventsPerStream, boolean isNewData, boolean isSynthesize, ExprEvaluatorContext exprEvaluatorContext)
          Computes the select-clause results and returns an event of the result event type that contains, in it's properties, the selected items.
abstract  EventBean processFirstCol(java.lang.Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvalBaseFirstProp

public EvalBaseFirstProp(SelectExprContext selectExprContext,
                         EventType resultEventType)
Method Detail

processFirstCol

public abstract EventBean processFirstCol(java.lang.Object result)

process

public EventBean process(EventBean[] eventsPerStream,
                         boolean isNewData,
                         boolean isSynthesize,
                         ExprEvaluatorContext exprEvaluatorContext)
Description copied from interface: SelectExprProcessor
Computes the select-clause results and returns an event of the result event type that contains, in it's properties, the selected items.

Specified by:
process in interface SelectExprProcessor
Parameters:
eventsPerStream - - is per stream the event
isNewData - - indicates whether we are dealing with new data (istream) or old data (rstream)
isSynthesize - - set to true to indicate that synthetic events are required for an iterator result set
Returns:
event with properties containing selected items

getEventAdapterService

public EventAdapterService getEventAdapterService()

getResultEventType

public EventType getResultEventType()
Description copied from interface: SelectExprProcessor
Returns the event type that represents the select-clause items.

Specified by:
getResultEventType in interface SelectExprProcessor
Returns:
event type representing select-clause items

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