Class OffsetTimeAggregation
java.lang.Object
io.jmix.flowui.data.aggregation.impl.AbstractAggregation<T>
io.jmix.flowui.data.aggregation.impl.CountAggregation<OffsetTime>
io.jmix.flowui.data.aggregation.impl.OffsetTimeAggregation
- All Implemented Interfaces:
Aggregation<OffsetTime>
Implementation of
Aggregation intended for aggregating OffsetTime values.-
Field Summary
FieldsFields inherited from class io.jmix.flowui.data.aggregation.impl.AbstractAggregation
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of aggregation types that are supported by this class.max(Collection<OffsetTime> items) Determines the maximum value in the provided collection of items.min(Collection<OffsetTime> items) Determines the minimum value in the provided collection of items.Methods inherited from class io.jmix.flowui.data.aggregation.impl.AbstractAggregation
avg, count, getResultClass, sum
-
Field Details
-
currentOffset
-
-
Constructor Details
-
OffsetTimeAggregation
public OffsetTimeAggregation()
-
-
Method Details
-
min
Description copied from interface:AggregationDetermines the minimum value in the provided collection of items.- Specified by:
minin interfaceAggregation<OffsetTime>- Overrides:
minin classAbstractAggregation<OffsetTime>- Parameters:
items- the collection of items to evaluate for the minimum value- Returns:
- the minimum value from the collection, or
nullif the collection is empty
-
max
Description copied from interface:AggregationDetermines the maximum value in the provided collection of items.- Specified by:
maxin interfaceAggregation<OffsetTime>- Overrides:
maxin classAbstractAggregation<OffsetTime>- Parameters:
items- the collection of items to evaluate for the maximum value- Returns:
- the maximum value from the collection, or
nullif the collection is empty
-
getSupportedAggregationTypes
Description copied from interface:AggregationReturns the set of aggregation types that are supported by this class.- Specified by:
getSupportedAggregationTypesin interfaceAggregation<OffsetTime>- Overrides:
getSupportedAggregationTypesin classAbstractAggregation<OffsetTime>- Returns:
- a set of supported aggregation types
-