org.axiondb.functions

Class LengthFunction

public class LengthFunction extends BaseFunction implements ScalarFunction, FunctionFactory

Length(string): returns a Integer Type integerrepresenting the length of the input string .

Version: $Revision: 1.7 $ $Date: 2005/12/20 18:32:28 $

Author: Sanjeeth Duvuru Ahimanikya Satapathy

Constructor Summary
LengthFunction()
Method Summary
Objectevaluate(RowDecorator row)
DataTypegetDataType()
booleanisValid()
ConcreteFunctionmakeNewInstance()

Constructor Detail

LengthFunction

public LengthFunction()

Method Detail

evaluate

public Object evaluate(RowDecorator row)

getDataType

public DataType getDataType()

isValid

public boolean isValid()

makeNewInstance

public ConcreteFunction makeNewInstance()