public class AggregationAccessorMinMaxByNonTable extends AggregationAccessorMinMaxByBase implements AggregationAccessorForge
max
Constructor and Description |
---|
AggregationAccessorMinMaxByNonTable(boolean max) |
Modifier and Type | Method and Description |
---|---|
AggregationAccessor |
getAccessor(EngineImportService engineImportService,
boolean isFireAndForget,
java.lang.String statementName) |
PlugInAggregationMultiFunctionCodegenType |
getPluginCodegenType() |
java.lang.Object |
getValue(AggregationState state,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Return the aggregation state value either as a scalar value or any other object.
|
void |
getValueCodegen(AggregationAccessorForgeGetCodegenContext context) |
getEnumerableEvent, getEnumerableEventCodegen, getEnumerableEvents, getEnumerableEventsCodegen, getEnumerableScalar, getEnumerableScalarCodegen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnumerableEventCodegen, getEnumerableEventsCodegen, getEnumerableScalarCodegen
public AggregationAccessorMinMaxByNonTable(boolean max)
public PlugInAggregationMultiFunctionCodegenType getPluginCodegenType()
getPluginCodegenType
in interface AggregationAccessorForge
public java.lang.Object getValue(AggregationState state, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
AggregationAccessor
For enumeration over scalar values or objects return an array or collection of scalar or object values.
Use the #getEnumerableEvents method to return a collection of events.
Use the #getEnumerableEvent to return a single events.
getValue
in interface AggregationAccessor
state
- aggregation state, downcast as neededeventsPerStream
- eventsisNewData
- new-data indicatorcontext
- eval contextpublic void getValueCodegen(AggregationAccessorForgeGetCodegenContext context)
getValueCodegen
in interface AggregationAccessorForge
public AggregationAccessor getAccessor(EngineImportService engineImportService, boolean isFireAndForget, java.lang.String statementName)
getAccessor
in interface AggregationAccessorForge