Class HyperLogLogType
java.lang.Object
io.trino.spi.type.AbstractType
io.trino.spi.type.AbstractVariableWidthType
io.trino.spi.type.HyperLogLogType
- All Implemented Interfaces:
Type,VariableWidthType
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range -
Field Summary
FieldsFields inherited from class io.trino.spi.type.AbstractVariableWidthType
DEFAULT_COMPARABLE_OPERATORS, DEFAULT_ORDERING_OPERATORS, DEFAULT_READ_OPERATORS, EXPECTED_BYTES_PER_ENTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObjectValue(ConnectorSession session, Block block, int position) Gets an object representation of the type value in theblockposition.io.airlift.slice.SliceGets the value at theblockpositionas a Slice.voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value) Writes the Slice value into theBlockBuilder.voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length) Writes the Slice value into theBlockBuilder.Methods inherited from class io.trino.spi.type.AbstractVariableWidthType
appendTo, createBlockBuilder, createBlockBuilder, getFlatFixedSize, getFlatVariableWidthSize, getTypeOperatorDeclaration, isFlatVariableWidth, relocateFlatVariableWidthOffsetsMethods inherited from class io.trino.spi.type.AbstractType
equals, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getObject, getTypeParameters, getTypeSignature, getValueBlockType, hashCode, isComparable, isOrderable, toString, writeBoolean, writeDouble, writeLong, writeObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.type.Type
createNullBlock, getBaseName, getBoolean, getDiscreteValues, getDisplayName, getDouble, getJavaType, getLong, getNextValue, getObject, getPreviousValue, getRange, getTypeId, getTypeParameters, getTypeSignature, getValueBlockType, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeObject
-
Field Details
-
HYPER_LOG_LOG
-
-
Constructor Details
-
HyperLogLogType
public HyperLogLogType()
-
-
Method Details
-
getSlice
-
writeSlice
Description copied from interface:TypeWrites the Slice value into theBlockBuilder.- Specified by:
writeSlicein interfaceType- Overrides:
writeSlicein classAbstractType
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length) Description copied from interface:TypeWrites the Slice value into theBlockBuilder.- Specified by:
writeSlicein interfaceType- Overrides:
writeSlicein classAbstractType
-
getObjectValue
Description copied from interface:TypeGets an object representation of the type value in theblockposition. This is the value returned to the user via the REST endpoint and therefore must be JSON serializable.
-