Package io.prestosql.type
Class Re2JRegexpType
- java.lang.Object
-
- io.prestosql.spi.type.AbstractType
-
- io.prestosql.spi.type.AbstractVariableWidthType
-
- io.prestosql.type.Re2JRegexpType
-
- All Implemented Interfaces:
Type
,VariableWidthType
public class Re2JRegexpType extends AbstractVariableWidthType
-
-
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 String
NAME
static TypeSignature
RE2J_REGEXP_SIGNATURE
-
Fields inherited from class io.prestosql.spi.type.AbstractVariableWidthType
EXPECTED_BYTES_PER_ENTRY
-
-
Constructor Summary
Constructors Constructor Description Re2JRegexpType(int dfaStatesLimit, int dfaRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendTo(Block block, int position, BlockBuilder blockBuilder)
Object
getObject(Block block, int position)
Object
getObjectValue(ConnectorSession session, Block block, int position)
void
writeObject(BlockBuilder blockBuilder, Object value)
-
Methods inherited from class io.prestosql.spi.type.AbstractVariableWidthType
createBlockBuilder, createBlockBuilder
-
Methods inherited from class io.prestosql.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.prestosql.spi.type.Type
getBaseName, getBoolean, getDisplayName, getDouble, getJavaType, getLong, getRange, getSlice, getTypeId, getTypeOperatorDeclaration, getTypeParameters, getTypeSignature, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeSlice, writeSlice
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
RE2J_REGEXP_SIGNATURE
public static final TypeSignature RE2J_REGEXP_SIGNATURE
-
-
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:
getObject
in interfaceType
- Overrides:
getObject
in classAbstractType
-
writeObject
public void writeObject(BlockBuilder blockBuilder, Object value)
- Specified by:
writeObject
in interfaceType
- Overrides:
writeObject
in classAbstractType
-
-