Package io.trino.spi.type
Class QuantileDigestType
java.lang.Object
io.trino.spi.type.AbstractType
io.trino.spi.type.AbstractVariableWidthType
io.trino.spi.type.QuantileDigestType
- All Implemented Interfaces:
Type,VariableWidthType
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range -
Field Summary
Fields inherited from class io.trino.spi.type.AbstractVariableWidthType
EXPECTED_BYTES_PER_ENTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(Block block, int position, BlockBuilder blockBuilder) Append the value atpositioninblocktoblockBuilder.getObjectValue(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.For parameterized types returns the list of parameters.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
createBlockBuilder, createBlockBuilderMethods inherited from class io.trino.spi.type.AbstractType
equals, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getObject, getTypeSignature, 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
getBaseName, getBoolean, getDiscreteValues, getDisplayName, getDouble, getJavaType, getLong, getNextValue, getObject, getPreviousValue, getRange, getTypeId, getTypeOperatorDeclaration, getTypeSignature, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeObject
-
Constructor Details
-
QuantileDigestType
-
-
Method Details
-
appendTo
Description copied from interface:TypeAppend the value atpositioninblocktoblockBuilder. -
getSlice
Description copied from interface:TypeGets the value at theblockpositionas a Slice.- Specified by:
getSlicein interfaceType- Overrides:
getSlicein classAbstractType
-
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. -
getValueType
-
getTypeParameters
Description copied from interface:TypeFor parameterized types returns the list of parameters.- Specified by:
getTypeParametersin interfaceType- Overrides:
getTypeParametersin classAbstractType
-