org.axiondb.functions
Class MatchesFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.MatchesFunction
- All Implemented Interfaces:
- Serializable, Function, FunctionFactory, ConcreteFunction, ScalarFunction, Selectable
public class MatchesFunction
- extends BaseFunction
- implements ScalarFunction, FunctionFactory
MATCHES(string, string): returns a boolean
that indicates whether first string matches the regular
expression
represented by the second string
- Version:
- $Revision: 1.5 $ $Date: 2004/08/21 02:59:45 $
- See Also:
- Serialized Form
Methods inherited from class org.axiondb.functions.BaseFunction |
addArgument, getAlias, getArgument, getArgumentCount, getLabel, getName, setAlias, setArgument, setName, setVariableContext, toString |
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 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