com.espertech.esper.epl.core
Interface SelectExprProcessor

All Known Implementing Classes:
EvalBaseFirstProp, EvalBaseMap, EvalBaseObjectArr, EvalInsertBeanRecast, EvalInsertBeanWrapRecast, EvalInsertCoercionMap, EvalInsertCoercionObjectArray, EvalInsertNoWildcardMap, EvalInsertNoWildcardObjectArray, EvalInsertNoWildcardObjectArrayRemap, EvalInsertNoWildcardObjectArrayRemapWWiden, EvalInsertNoWildcardRevision, EvalInsertNoWildcardSingleColCoercionBean, EvalInsertNoWildcardSingleColCoercionBeanWrap, EvalInsertNoWildcardSingleColCoercionBeanWrapVariant, EvalInsertNoWildcardSingleColCoercionMapWrap, EvalInsertNoWildcardSingleColCoercionObjectArrayWrap, EvalInsertNoWildcardSingleColCoercionRevisionBean, EvalInsertNoWildcardSingleColCoercionRevisionBeanWrap, EvalInsertNoWildcardSingleColCoercionRevisionMap, EvalInsertNoWildcardSingleColCoercionRevisionObjectArray, EvalInsertWildcardBean, EvalInsertWildcardJoin, EvalInsertWildcardJoinRevision, EvalInsertWildcardRevision, EvalInsertWildcardRevisionWrapper, EvalInsertWildcardSSWrapper, EvalInsertWildcardSSWrapperRevision, EvalInsertWildcardWrapper, EvalSelectNoWildcardEmptyProps, EvalSelectNoWildcardMap, EvalSelectNoWildcardObjectArray, EvalSelectStreamBase, EvalSelectStreamBaseMap, EvalSelectStreamBaseObjectArray, EvalSelectStreamNoUnderlyingMap, EvalSelectStreamNoUnderlyingObjectArray, EvalSelectStreamNoUndWEventBeanToObj, EvalSelectStreamNoUndWEventBeanToObjObjArray, EvalSelectStreamWUnderlying, EvalSelectWildcard, EvalSelectWildcardJoin, EvalSelectWildcardSSWrapper, SelectExprInsertEventBeanFactory.SelectExprInsertNativeBase, SelectExprInsertEventBeanFactory.SelectExprInsertNativeExpressionCoerceBase, SelectExprInsertEventBeanFactory.SelectExprInsertNativeExpressionCoerceMap, SelectExprInsertEventBeanFactory.SelectExprInsertNativeExpressionCoerceNative, SelectExprInsertEventBeanFactory.SelectExprInsertNativeExpressionCoerceObjectArray, SelectExprInsertEventBeanFactory.SelectExprInsertNativeNoWiden, SelectExprInsertEventBeanFactory.SelectExprInsertNativeWidening, SelectExprJoinWildcardProcessorMap, SelectExprJoinWildcardProcessorObjectArray, SelectExprJoinWildcardProcessorTableRows, SelectExprProcessorWDeliveryCallback, SelectExprResultProcessor, SelectExprWildcardProcessor, SelectExprWildcardTableProcessor

public interface SelectExprProcessor

Interface for processors of select-clause items, implementors are computing results based on matching events.


Method Summary
 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.
 

Method Detail

getResultEventType

EventType getResultEventType()
Returns the event type that represents the select-clause items.

Returns:
event type representing select-clause items

process

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.

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
exprEvaluatorContext -
Returns:
event with properties containing selected items

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