Package io.prestosql.type.setdigest
Class SetDigestType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractVariableWidthType
-
- io.prestosql.type.setdigest.SetDigestType
-
- All Implemented Interfaces:
Type
,VariableWidthType
public class SetDigestType 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 String
NAME
static SetDigestType
SET_DIGEST
-
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
getObjectValue(ConnectorSession session, Block block, int position)
io.airlift.slice.Slice
getSlice(Block block, int position)
void
writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value)
void
writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length)
-
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, getObject, getTypeParameters, getTypeSignature, hashCode, isComparable, isOrderable, toString, writeBoolean, writeDouble, writeLong, writeObject
-
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, getObject, getRange, getTypeId, getTypeOperatorDeclaration, getTypeParameters, getTypeSignature, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeObject
-
-
-
-
Field Detail
-
SET_DIGEST
public static final SetDigestType SET_DIGEST
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectValue
public Object getObjectValue(ConnectorSession session, Block block, int position)
-
getSlice
public io.airlift.slice.Slice getSlice(Block block, int position)
- Specified by:
getSlice
in interfaceType
- Overrides:
getSlice
in classAbstractType
-
appendTo
public void appendTo(Block block, int position, BlockBuilder blockBuilder)
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value)
- Specified by:
writeSlice
in interfaceType
- Overrides:
writeSlice
in classAbstractType
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length)
- Specified by:
writeSlice
in interfaceType
- Overrides:
writeSlice
in classAbstractType
-
-