Package io.prestosql.type
Class ColorType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractIntType
-
- io.prestosql.type.ColorType
-
- All Implemented Interfaces:
FixedWidthType
,Type
public class ColorType extends AbstractIntType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.prestosql.spi.type.Type
Type.Range
-
-
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()
boolean
isOrderable()
-
Methods inherited from class io.prestosql.spi.type.AbstractIntType
appendTo, createBlockBuilder, createBlockBuilder, createFixedSizeBlockBuilder, getFixedSize, getLong, getSlice, getTypeOperatorDeclaration, isComparable, 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
-
COLOR
public static final ColorType COLOR
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOrderable
public boolean isOrderable()
- Specified by:
isOrderable
in interfaceType
- Overrides:
isOrderable
in classAbstractIntType
-
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
-
-