public class AggregationAccessorMinMaxByTable extends AggregationAccessorMinMaxByBase
Constructor and Description |
---|
AggregationAccessorMinMaxByTable(boolean max,
TableMetadata tableMetadata) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(AggregationState state,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Return the aggregation state value either as a scalar value or any other object.
|
getEnumerableEvent, getEnumerableEvents, getEnumerableScalar
public AggregationAccessorMinMaxByTable(boolean max, TableMetadata tableMetadata)
public 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.
state
- aggregation state, downcast as neededeventsPerStream
- eventsisNewData
- new-data indicatorcontext
- eval context