Click or drag to resize

AggregationMultiFunctionHandlerReturnType Property

Provide return type.

The accessor return values must match the return type declared herein.

Use to indicate that the accessor returns a single value. The accessor should return the single value upon invocation of . The accessor should return a null value for all other accessor methods.

Use {@link EPTypeHelper#collectionOfEvents(EventType)} to indicate that the accessor returns a collection of events. The accessor should return a value in . The accessor can also return an array of underlying event objects in . The accessor should return a null value for all other accessor methods.

Use {@link EPTypeHelper#singleEvent(EventType)} to indicate that the accessor returns a single event. The accessor should return a value in . The accessor can also return the underlying event object in {@link AggregationMultiFunctionAccessor#getValue. The accessor should return a null value for all other accessor methods.

Use to indicate that the accessor returns a collection of single values (scalar, object etc.). The accessor should return a Collection in . The accessor should return a null value for all other accessor methods.

Use to indicate that the accessor returns an array of single values. The accessor should return an array in {@link AggregationMultiFunctionAccessor#getValue(AggregationMultiFunctionState, EventBean[], boolean, ExprEvaluatorContext)}. The accessor should return a null value for all other accessor methods.

Namespace:  com.espertech.esper.common.client.hook.aggmultifunc
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
EPType ReturnType { get; }

Property Value

Type: EPType
expression result type
See Also

Reference

AggregationMultiFunctionAccessor.GetEnumerableEvents(AggregationMultiFunctionState, EventBean, Boolean, ExprEvaluatorContext)
EPTypeHelper.CollectionOfSingleValue(Type, Type)
EPTypeHelper.Array(Type)