org.axiondb.functions
Class MatchesFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.BaseRegExpFunction
org.axiondb.functions.MatchesFunction
- All Implemented Interfaces:
- java.io.Serializable, Function, FunctionFactory, ConcreteFunction, ScalarFunction, Selectable
public class MatchesFunction
- extends BaseRegExpFunction
- implements ScalarFunction, FunctionFactory
MATCHES(string, string): returns a BooleanTypeboolean
that
indicates whether first string matches the regular expression pattern
represented by the second string.
- Version:
- $Revision: 1.9 $ $Date: 2005/06/18 01:03:45 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ARG_TYPE
protected static final DataType ARG_TYPE
RETURN_TYPE
protected static final DataType RETURN_TYPE
MatchesFunction
public MatchesFunction()
makeNewInstance
public ConcreteFunction makeNewInstance()
- Specified by:
makeNewInstance
in interface FunctionFactory
getDataType
public DataType getDataType()
- Specified by:
getDataType
in interface Selectable
- Specified by:
getDataType
in class BaseFunction
evaluate
public java.lang.Object evaluate(RowDecorator row)
throws AxionException
- Specified by:
evaluate
in interface ScalarFunction
- Specified by:
evaluate
in interface Selectable
- Throws:
AxionException
isValid
public boolean isValid()
- Specified by:
isValid
in interface ConcreteFunction
- Specified by:
isValid
in class BaseFunction