Package io.trino.type
Class UnknownType
java.lang.Object
io.trino.spi.type.AbstractType
io.trino.type.UnknownType
- All Implemented Interfaces:
FixedWidthType,Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(Block block, int position, BlockBuilder blockBuilder) createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries) createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries, int expectedBytesPerEntry) createFixedSizeBlockBuilder(int positionCount) booleangetBoolean(Block block, int position) intintgetObjectValue(ConnectorSession session, Block block, int position) getTypeOperatorDeclaration(TypeOperators typeOperators) booleanbooleanvoidwriteBoolean(BlockBuilder blockBuilder, boolean value) Deprecated.Methods inherited from class io.trino.spi.type.AbstractType
equals, getDisplayName, getDouble, getJavaType, getLong, getObject, getSlice, getTypeParameters, getTypeSignature, getValueBlockType, hashCode, toString, writeDouble, writeLong, writeObject, writeSlice, writeSliceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.type.FixedWidthType
getFlatVariableWidthSize, isFlatVariableWidth, relocateFlatVariableWidthOffsetsMethods inherited from interface io.trino.spi.type.Type
getBaseName, getDiscreteValues, getDisplayName, getDouble, getJavaType, getLong, getNextValue, getObject, getPreviousValue, getRange, getSlice, getTypeId, getTypeParameters, getTypeSignature, getValueBlockType, writeDouble, writeLong, writeObject, writeSlice, writeSlice
-
Field Details
-
UNKNOWN
-
NAME
- See Also:
-
-
Method Details
-
getFixedSize
public int getFixedSize()- Specified by:
getFixedSizein interfaceFixedWidthType
-
createBlockBuilder
public BlockBuilder createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries, int expectedBytesPerEntry) - Specified by:
createBlockBuilderin interfaceType
-
createBlockBuilder
- Specified by:
createBlockBuilderin interfaceType
-
createFixedSizeBlockBuilder
- Specified by:
createFixedSizeBlockBuilderin interfaceFixedWidthType
-
isComparable
public boolean isComparable()- Specified by:
isComparablein interfaceType- Overrides:
isComparablein classAbstractType
-
isOrderable
public boolean isOrderable()- Specified by:
isOrderablein interfaceType- Overrides:
isOrderablein classAbstractType
-
getTypeOperatorDeclaration
- Specified by:
getTypeOperatorDeclarationin interfaceType
-
getObjectValue
- Specified by:
getObjectValuein interfaceType
-
appendTo
-
getBoolean
- Specified by:
getBooleanin interfaceType- Overrides:
getBooleanin classAbstractType
-
writeBoolean
Deprecated.- Specified by:
writeBooleanin interfaceType- Overrides:
writeBooleanin classAbstractType
-
getFlatFixedSize
public int getFlatFixedSize()- Specified by:
getFlatFixedSizein interfaceType
-