Package io.prestosql.type
Class IntervalYearMonthType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractIntType
-
- io.prestosql.type.IntervalYearMonthType
-
- All Implemented Interfaces:
FixedWidthType
,Type
public final class IntervalYearMonthType extends AbstractIntType
-
-
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 IntervalYearMonthType
INTERVAL_YEAR_MONTH
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Object
getObjectValue(ConnectorSession session, Block block, int position)
int
hashCode()
-
Methods inherited from class io.prestosql.spi.type.AbstractIntType
appendTo, createBlockBuilder, createBlockBuilder, createFixedSizeBlockBuilder, getFixedSize, getLong, getSlice, getTypeOperatorDeclaration, isComparable, isOrderable, writeLong
-
Methods inherited from class io.prestosql.spi.type.AbstractType
getBoolean, getDisplayName, getDouble, getJavaType, getObject, getTypeParameters, getTypeSignature, toString, writeBoolean, writeDouble, writeObject, 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, getObject, getRange, getTypeId, getTypeParameters, getTypeSignature, writeBoolean, writeDouble, writeObject, writeSlice, writeSlice
-
-
-
-
Field Detail
-
INTERVAL_YEAR_MONTH
public static final IntervalYearMonthType INTERVAL_YEAR_MONTH
-
-
Method Detail
-
getObjectValue
public Object getObjectValue(ConnectorSession session, Block block, int position)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classAbstractType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractType
-
-