public interface ResultSetProcessor extends StopCallback
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE |
static EPTypeClass |
EPTYPE_PROCESSORTYPE |
Modifier and Type | Method and Description |
---|---|
void |
acceptHelperVisitor(ResultSetProcessorOutputHelperVisitor visitor) |
void |
applyJoinResult(Set<MultiKeyArrayOfKeys<EventBean>> newEvents,
Set<MultiKeyArrayOfKeys<EventBean>> oldEvents) |
void |
applyViewResult(EventBean[] newData,
EventBean[] oldData) |
void |
clear()
Clear out current state.
|
UniformPair<EventBean[]> |
continueOutputLimitedLastAllNonBufferedJoin(boolean isSynthesize) |
UniformPair<EventBean[]> |
continueOutputLimitedLastAllNonBufferedView(boolean isSynthesize) |
Iterator<EventBean> |
getIterator(Set<MultiKeyArrayOfKeys<EventBean>> joinSet)
Returns the iterator for iterating over a join-result.
|
Iterator<EventBean> |
getIterator(Viewable parent)
Returns the iterator implementing the group-by and aggregation and order-by logic
specific to each case of use of these construct.
|
EventType |
getResultEventType()
Returns the event type of processed results.
|
UniformPair<EventBean[]> |
processJoinResult(Set<MultiKeyArrayOfKeys<EventBean>> newEvents,
Set<MultiKeyArrayOfKeys<EventBean>> oldEvents,
boolean isSynthesize)
For use by joins posting their result, process the event rows that are entered and removed (new and old events).
|
UniformPair<EventBean[]> |
processOutputLimitedJoin(List<UniformPair<Set<MultiKeyArrayOfKeys<EventBean>>>> joinEventsSet,
boolean generateSynthetic)
Processes batched events in case of output-rate limiting.
|
void |
processOutputLimitedLastAllNonBufferedJoin(Set<MultiKeyArrayOfKeys<EventBean>> newEvents,
Set<MultiKeyArrayOfKeys<EventBean>> oldEvents,
boolean isGenerateSynthetic) |
void |
processOutputLimitedLastAllNonBufferedView(EventBean[] newData,
EventBean[] oldData,
boolean isGenerateSynthetic) |
UniformPair<EventBean[]> |
processOutputLimitedView(List<UniformPair<EventBean[]>> viewEventsList,
boolean generateSynthetic)
Processes batched events in case of output-rate limiting.
|
UniformPair<EventBean[]> |
processViewResult(EventBean[] newData,
EventBean[] oldData,
boolean isSynthesize)
For use by views posting their result, process the event rows that are entered and removed (new and old events).
|
void |
setExprEvaluatorContext(ExprEvaluatorContext context) |
stop
static final EPTypeClass EPTYPE
static final EPTypeClass EPTYPE_PROCESSORTYPE
EventType getResultEventType()
UniformPair<EventBean[]> processViewResult(EventBean[] newData, EventBean[] oldData, boolean isSynthesize)
newData
- - new events posted by viewoldData
- - old events posted by viewisSynthesize
- - set to true to indicate that synthetic events are required for an iterator result setUniformPair<EventBean[]> processJoinResult(Set<MultiKeyArrayOfKeys<EventBean>> newEvents, Set<MultiKeyArrayOfKeys<EventBean>> oldEvents, boolean isSynthesize)
newEvents
- - new events posted by joinoldEvents
- - old events posted by joinisSynthesize
- - set to true to indicate that synthetic events are required for an iterator result setIterator<EventBean> getIterator(Viewable parent)
parent
- is the parent view iteratorIterator<EventBean> getIterator(Set<MultiKeyArrayOfKeys<EventBean>> joinSet)
joinSet
- is the join result setvoid clear()
UniformPair<EventBean[]> processOutputLimitedJoin(List<UniformPair<Set<MultiKeyArrayOfKeys<EventBean>>>> joinEventsSet, boolean generateSynthetic)
joinEventsSet
- the join resultsgenerateSynthetic
- flag to indicate whether synthetic events must be generatedUniformPair<EventBean[]> processOutputLimitedView(List<UniformPair<EventBean[]>> viewEventsList, boolean generateSynthetic)
viewEventsList
- the view resultsgenerateSynthetic
- flag to indicate whether synthetic events must be generatedvoid setExprEvaluatorContext(ExprEvaluatorContext context)
void applyJoinResult(Set<MultiKeyArrayOfKeys<EventBean>> newEvents, Set<MultiKeyArrayOfKeys<EventBean>> oldEvents)
void processOutputLimitedLastAllNonBufferedView(EventBean[] newData, EventBean[] oldData, boolean isGenerateSynthetic)
void processOutputLimitedLastAllNonBufferedJoin(Set<MultiKeyArrayOfKeys<EventBean>> newEvents, Set<MultiKeyArrayOfKeys<EventBean>> oldEvents, boolean isGenerateSynthetic)
UniformPair<EventBean[]> continueOutputLimitedLastAllNonBufferedView(boolean isSynthesize)
UniformPair<EventBean[]> continueOutputLimitedLastAllNonBufferedJoin(boolean isSynthesize)
void acceptHelperVisitor(ResultSetProcessorOutputHelperVisitor visitor)
Copyright © 2005–2021. All rights reserved.