Package io.prestosql.type
Class CodePointsType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractVariableWidthType
-
- io.prestosql.type.CodePointsType
-
- All Implemented Interfaces:
Type
,VariableWidthType
public class CodePointsType 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 CodePointsType
CODE_POINTS
static String
NAME
-
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
-
CODE_POINTS
public static final CodePointsType CODE_POINTS
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectValue
public Object getObjectValue(ConnectorSession session, Block block, int position)
-
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
-
-