Package io.trino.type
Class FunctionType
java.lang.Object
io.trino.type.FunctionType
- All Implemented Interfaces:
Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(Block block, int position, BlockBuilder blockBuilder) createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries) createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries, int expectedBytesPerEntry) booleangetBoolean(Block block, int position) doublefinal Class<?>longgetObjectValue(ConnectorSession session, Block block, int position) io.airlift.slice.Slicefinal TypeSignaturebooleanbooleanvoidwriteBoolean(BlockBuilder blockBuilder, boolean value) voidwriteDouble(BlockBuilder blockBuilder, double value) voidwriteLong(BlockBuilder blockBuilder, long value) voidwriteObject(BlockBuilder blockBuilder, Object value) voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value) voidwriteSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.type.Type
getBaseName, getRange, getTypeId, getTypeOperatorDeclaration
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
FunctionType
-
-
Method Details
-
getReturnType
-
getArgumentTypes
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceType
-
getTypeSignature
- Specified by:
getTypeSignaturein interfaceType
-
getDisplayName
- Specified by:
getDisplayNamein interfaceType
-
getJavaType
- Specified by:
getJavaTypein interfaceType
-
isComparable
public boolean isComparable()- Specified by:
isComparablein interfaceType
-
isOrderable
public boolean isOrderable()- Specified by:
isOrderablein interfaceType
-
getBoolean
- Specified by:
getBooleanin interfaceType
-
writeBoolean
- Specified by:
writeBooleanin interfaceType
-
getLong
-
writeLong
-
getDouble
-
writeDouble
- Specified by:
writeDoublein interfaceType
-
getSlice
-
writeSlice
- Specified by:
writeSlicein interfaceType
-
writeSlice
public void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length) - Specified by:
writeSlicein interfaceType
-
getObject
-
writeObject
- Specified by:
writeObjectin interfaceType
-
getObjectValue
- Specified by:
getObjectValuein interfaceType
-
appendTo
-
createBlockBuilder
public BlockBuilder createBlockBuilder(BlockBuilderStatus blockBuilderStatus, int expectedEntries, int expectedBytesPerEntry) - Specified by:
createBlockBuilderin interfaceType
-
createBlockBuilder
- Specified by:
createBlockBuilderin interfaceType
-