public class MatchesFunction extends BaseRegExpFunction implements ScalarFunction, FunctionFactory
BooleanTypeboolean
that
indicates whether first string matches the regular expression pattern
represented by the second string.Modifier and Type | Field and Description |
---|---|
protected static DataType |
ARG_TYPE |
protected static DataType |
RETURN_TYPE |
_hash
Constructor and Description |
---|
MatchesFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(RowDecorator row) |
DataType |
getDataType() |
boolean |
isValid() |
ConcreteFunction |
makeNewInstance() |
compile, getFromCache, putInCache
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toString
getAlias, getLabel, getName, setAlias, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument
getLabel, setVariableContext
protected static final DataType ARG_TYPE
protected static final DataType RETURN_TYPE
public ConcreteFunction makeNewInstance()
makeNewInstance
in interface FunctionFactory
public DataType getDataType()
getDataType
in interface Selectable
getDataType
in class BaseFunction
public java.lang.Object evaluate(RowDecorator row) throws AxionException
evaluate
in interface ScalarFunction
evaluate
in interface Selectable
AxionException
public boolean isValid()
isValid
in interface ConcreteFunction
isValid
in class BaseFunction