Package io.prestosql.type
Class TDigestType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractVariableWidthType
-
- io.prestosql.type.TDigestType
-
- All Implemented Interfaces:
Type
,VariableWidthType
public class TDigestType extends AbstractVariableWidthType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.spi.type.Type
Type.Range
-
-
Field Summary
Fields Modifier and Type Field Description static TDigestType
TDIGEST
-
Fields inherited from class io.prestosql.spi.type.AbstractVariableWidthType
EXPECTED_BYTES_PER_ENTRY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTo(Block block, int position, BlockBuilder blockBuilder)
Object
getObject(Block block, int position)
Object
getObjectValue(ConnectorSession session, Block block, int position)
void
writeObject(BlockBuilder blockBuilder, Object value)
-
Methods inherited from class io.prestosql.spi.type.AbstractVariableWidthType
createBlockBuilder, createBlockBuilder
-
Methods inherited from class io.prestosql.spi.type.AbstractType
equals, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getSlice, getTypeParameters, getTypeSignature, hashCode, isComparable, isOrderable, toString, writeBoolean, writeDouble, writeLong, writeSlice, writeSlice
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.prestosql.spi.type.Type
getBaseName, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getRange, getSlice, getTypeId, getTypeOperatorDeclaration, getTypeParameters, getTypeSignature, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeSlice, writeSlice
-
-
-
-
Field Detail
-
TDIGEST
public static final TDigestType TDIGEST
-
-
Method Detail
-
appendTo
public void appendTo(Block block, int position, BlockBuilder blockBuilder)
-
getObject
public Object getObject(Block block, int position)
- Specified by:
getObject
in interfaceType
- Overrides:
getObject
in classAbstractType
-
writeObject
public void writeObject(BlockBuilder blockBuilder, Object value)
- Specified by:
writeObject
in interfaceType
- Overrides:
writeObject
in classAbstractType
-
getObjectValue
public Object getObjectValue(ConnectorSession session, Block block, int position)
-
-