com.hardcode.gdbms.engine.function
Interface Function

All Known Implementing Classes:
BooleanFunction, ConcatenateFunction, Count, DateFunction, LengthFunction, Sum

public interface Function

Interface to be implemented to create a function. The name will be the string used in the SQL to refeer the function. A function will be created once for each instruction execution.


Method Summary
 Function cloneFunction()
          DOCUMENT ME!
 Value evaluate(Value[] args)
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 boolean isAggregate()
          DOCUMENT ME!
 

Method Detail

evaluate

Value evaluate(Value[] args)
               throws FunctionException
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
FunctionException - DOCUMENT ME!

getName

java.lang.String getName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isAggregate

boolean isAggregate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

cloneFunction

Function cloneFunction()
DOCUMENT ME!

Returns:
DOCUMENT ME!


Copyright © 2005-2006 . All Rights Reserved.