Interface TypedHistogram
-
- All Known Implementing Classes:
GroupedTypedHistogram,SingleTypedHistogram
public interface TypedHistogram
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidadd(int position, Block block, long count)voidaddAll(TypedHistogram other)default voidensureCapacity(long size)longgetEstimatedSize()intgetExpectedSize()TypegetType()booleanisEmpty()voidreadAllValues(HistogramValueReader reader)voidserialize(BlockBuilder out)default TypedHistogramsetGroupId(long groupId)
-
-
-
Method Detail
-
getEstimatedSize
long getEstimatedSize()
-
serialize
void serialize(BlockBuilder out)
-
addAll
void addAll(TypedHistogram other)
-
readAllValues
void readAllValues(HistogramValueReader reader)
-
add
void add(int position, Block block, long count)
-
getType
Type getType()
-
getExpectedSize
int getExpectedSize()
-
isEmpty
boolean isEmpty()
-
setGroupId
default TypedHistogram setGroupId(long groupId)
-
ensureCapacity
default void ensureCapacity(long size)
-
-