public abstract class AbstractFilterStringColLikeStringScalar extends VectorExpression
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractFilterStringColLikeStringScalar.BeginChecker
Matches the beginning of each string to a pattern.
|
protected static class |
AbstractFilterStringColLikeStringScalar.ChainedChecker
Matches a chained sequence of checkers.
|
static interface |
AbstractFilterStringColLikeStringScalar.Checker
A Checker contains a pattern and checks whether a given string matches or not.
|
protected static interface |
AbstractFilterStringColLikeStringScalar.CheckerFactory
A CheckerFactory creates checkers of its kind.
|
protected static class |
AbstractFilterStringColLikeStringScalar.ComplexChecker
Matches each string to a pattern with Java regular expression package.
|
protected static class |
AbstractFilterStringColLikeStringScalar.EndChecker
Matches the ending of each string to its pattern.
|
protected static class |
AbstractFilterStringColLikeStringScalar.MiddleChecker
Matches the middle of each string to its pattern.
|
protected static class |
AbstractFilterStringColLikeStringScalar.NoneChecker
Matches the whole string to its pattern.
|
childExpressions, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo
Constructor and Description |
---|
AbstractFilterStringColLikeStringScalar() |
AbstractFilterStringColLikeStringScalar(int colNum,
String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
This is the primary method to implement expression logic.
|
protected abstract List<AbstractFilterStringColLikeStringScalar.CheckerFactory> |
getCheckerFactories() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
String |
getPattern() |
void |
setPattern(String pattern) |
void |
transientInit() |
String |
vectorExpressionParameters() |
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, doTransientInit, doTransientInit, evaluateChildren, getChildExpressions, getColumnParamString, getDoubleValueParamString, getInputDataTypePhysicalVariations, getInputTypeInfos, getLongValueParamString, getOutputColumnNum, getOutputColumnVectorType, getOutputDataTypePhysicalVariation, getOutputTypeInfo, getParamTypeString, getTypeName, init, setChildExpressions, setInputDataTypePhysicalVariations, setInputTypeInfos, setOutputDataTypePhysicalVariation, setOutputTypeInfo, supportsCheckedExecution, toString
public AbstractFilterStringColLikeStringScalar(int colNum, String pattern)
public AbstractFilterStringColLikeStringScalar()
public void transientInit() throws HiveException
transientInit
in class VectorExpression
HiveException
protected abstract List<AbstractFilterStringColLikeStringScalar.CheckerFactory> getCheckerFactories()
public void evaluate(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) throws HiveException
VectorExpression
evaluate
in class VectorExpression
HiveException
public String getPattern()
public void setPattern(String pattern)
public String vectorExpressionParameters()
vectorExpressionParameters
in class VectorExpression
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
Copyright © 2019 The Apache Software Foundation. All rights reserved.