Package io.trino.type
Class JoniRegexpType
- java.lang.Object
-
- io.trino.spi.type.AbstractType
-
- io.trino.spi.type.AbstractVariableWidthType
-
- io.trino.type.JoniRegexpType
-
- All Implemented Interfaces:
Type,VariableWidthType
public class JoniRegexpType extends AbstractVariableWidthType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.trino.spi.type.Type
Type.Range
-
-
Field Summary
Fields Modifier and Type Field Description static JoniRegexpTypeJONI_REGEXPstatic StringNAME-
Fields inherited from class io.trino.spi.type.AbstractVariableWidthType
EXPECTED_BYTES_PER_ENTRY
-
-
Constructor Summary
Constructors Constructor Description JoniRegexpType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(Block block, int position, BlockBuilder blockBuilder)ObjectgetObject(Block block, int position)ObjectgetObjectValue(ConnectorSession session, Block block, int position)voidwriteObject(BlockBuilder blockBuilder, Object value)-
Methods inherited from class io.trino.spi.type.AbstractVariableWidthType
createBlockBuilder, createBlockBuilder
-
Methods inherited from class io.trino.spi.type.AbstractType
equals, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getSlice, getTypeParameters, getTypeSignature, hashCode, isComparable, isOrderable, toString, writeBoolean, writeDouble, writeLong, writeSlice, writeSlice
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.spi.type.Type
getBaseName, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getRange, getSlice, getTypeId, getTypeOperatorDeclaration, getTypeParameters, getTypeSignature, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeSlice, writeSlice
-
-
-
-
Field Detail
-
JONI_REGEXP
public static final JoniRegexpType JONI_REGEXP
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectValue
public Object getObjectValue(ConnectorSession session, Block block, int position)
-
appendTo
public void appendTo(Block block, int position, BlockBuilder blockBuilder)
-
getObject
public Object getObject(Block block, int position)
- Specified by:
getObjectin interfaceType- Overrides:
getObjectin classAbstractType
-
writeObject
public void writeObject(BlockBuilder blockBuilder, Object value)
- Specified by:
writeObjectin interfaceType- Overrides:
writeObjectin classAbstractType
-
-