Class SingleArrayAggregationState
- java.lang.Object
-
- io.prestosql.operator.aggregation.arrayagg.SingleArrayAggregationState
-
- All Implemented Interfaces:
ArrayAggregationState
,AccumulatorState
public class SingleArrayAggregationState extends Object implements ArrayAggregationState
-
-
Constructor Summary
Constructors Constructor Description SingleArrayAggregationState(Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Block block, int position)
void
forEach(ArrayAggregationStateConsumer consumer)
long
getEstimatedSize()
boolean
isEmpty()
void
reset()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.operator.aggregation.arrayagg.ArrayAggregationState
merge
-
-
-
-
Constructor Detail
-
SingleArrayAggregationState
public SingleArrayAggregationState(Type type)
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceAccumulatorState
-
add
public void add(Block block, int position)
- Specified by:
add
in interfaceArrayAggregationState
-
forEach
public void forEach(ArrayAggregationStateConsumer consumer)
- Specified by:
forEach
in interfaceArrayAggregationState
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceArrayAggregationState
-
reset
public void reset()
- Specified by:
reset
in interfaceArrayAggregationState
-
-