Package io.trino.spi.type
Class BigintType
java.lang.Object
io.trino.spi.type.AbstractType
io.trino.spi.type.AbstractLongType
io.trino.spi.type.BigintType
- 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 TypeMethodDescriptionbooleangetDiscreteValues(Type.Range range) Returns a stream of discrete values inside the specified range (if supported by this type).getNextValue(Object object) Returns the minimum value that compares greater thanvalue.getObjectValue(ConnectorSession session, Block block, int position) Gets an object representation of the type value in theblockposition.getPreviousValue(Object object) Returns the maximum value that compares less thanvalue.getRange()Return the range of possible values for this type, if available.inthashCode()Methods inherited from class io.trino.spi.type.AbstractLongType
appendTo, createBlockBuilder, createBlockBuilder, createFixedSizeBlockBuilder, getFixedSize, getFlatFixedSize, getLong, getTypeOperatorDeclaration, hash, isComparable, isOrderable, writeLongMethods inherited from class io.trino.spi.type.AbstractType
getBoolean, getDisplayName, getDouble, getJavaType, getObject, getSlice, getTypeParameters, getTypeSignature, getValueBlockType, toString, writeBoolean, writeDouble, 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, getBoolean, getDisplayName, getDouble, getJavaType, getObject, getSlice, getTypeId, getTypeParameters, getTypeSignature, getValueBlockType, writeBoolean, writeDouble, writeObject, writeSlice, writeSlice
-
Field Details
-
BIGINT
-
-
Method Details
-
getObjectValue
Description copied from interface:TypeGets an object representation of the type value in theblockposition. This is the value returned to the user via the REST endpoint and therefore must be JSON serializable. -
equals
- Overrides:
equalsin classAbstractType
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractType
-
getRange
Description copied from interface:TypeReturn the range of possible values for this type, if available.The type of the values must match
Type.getJavaType() -
getPreviousValue
Description copied from interface:TypeReturns the maximum value that compares less thanvalue.The type of the value must match
Type.getJavaType(). -
getNextValue
Description copied from interface:TypeReturns the minimum value that compares greater thanvalue.The type of the value must match
Type.getJavaType(). -
getDiscreteValues
Description copied from interface:TypeReturns a stream of discrete values inside the specified range (if supported by this type).
-