org.axiondb.functions

Class MatchesFunction

public class MatchesFunction extends BaseRegExpFunction implements ScalarFunction, FunctionFactory

MATCHES(string, string): returns a BooleanTypeboolean that indicates whether first string matches the regular expression Pattern pattern represented by the second string.

Version: $Revision: 1.9 $ $Date: 2005/06/18 01:03:45 $

Author: Chuck Burdick Jonathan Giron

Field Summary
protected static DataTypeARG_TYPE
protected static DataTypeRETURN_TYPE
Constructor Summary
MatchesFunction()
Method Summary
Objectevaluate(RowDecorator row)
DataTypegetDataType()
booleanisValid()
ConcreteFunctionmakeNewInstance()

Field Detail

ARG_TYPE

protected static final DataType ARG_TYPE

RETURN_TYPE

protected static final DataType RETURN_TYPE

Constructor Detail

MatchesFunction

public MatchesFunction()

Method Detail

evaluate

public Object evaluate(RowDecorator row)

getDataType

public DataType getDataType()

isValid

public boolean isValid()

makeNewInstance

public ConcreteFunction makeNewInstance()