Package io.trino.type.setdigest
Class SetDigestType
- java.lang.Object
-
- io.trino.spi.type.AbstractType
-
- io.trino.spi.type.AbstractVariableWidthType
-
- io.trino.type.setdigest.SetDigestType
-
- All Implemented Interfaces:
Type,VariableWidthType
public class SetDigestType extends AbstractVariableWidthType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic SetDigestTypeSET_DIGEST-
Fields inherited from class io.trino.spi.type.AbstractVariableWidthType
EXPECTED_BYTES_PER_ENTRY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(Block block, int position, BlockBuilder blockBuilder)ObjectgetObjectValue(ConnectorSession session, Block block, int position)io.airlift.slice.SlicegetSlice(Block block, int position)voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value)voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length)-
Methods inherited from class io.trino.spi.type.AbstractVariableWidthType
createBlockBuilder, createBlockBuilder
-
Methods inherited from class io.trino.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.trino.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:
getSlicein interfaceType- Overrides:
getSlicein classAbstractType
-
appendTo
public void appendTo(Block block, int position, BlockBuilder blockBuilder)
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value)
- Specified by:
writeSlicein interfaceType- Overrides:
writeSlicein classAbstractType
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length)
- Specified by:
writeSlicein interfaceType- Overrides:
writeSlicein classAbstractType
-
-