org.tranql.ql
Class Function

java.lang.Object
  extended by org.tranql.ql.AbstractNode
      extended by org.tranql.ql.Function
All Implemented Interfaces:
java.io.Serializable, Node

public class Function
extends AbstractNode

This node represents a function call. This is normally used within a where clause. This node expects zero or more children. abs(-42)

Version:
$Revision: 173 $ $Date: 2005-02-20 16:42:56 +0100 (Sun, 20 Feb 2005) $
See Also:
Serialized Form

Nested Class Summary
static class Function.FunctionType
           
 
Field Summary
static Function.FunctionType ABS
           
static Function.FunctionType CONCAT
           
static Function.FunctionType LENGTH
           
static Function.FunctionType LOCATE
           
static Function.FunctionType MOD
           
static Function.FunctionType SQRT
           
static Function.FunctionType SUBSTRING
           
 
Constructor Summary
Function(Function.FunctionType functionType)
           
 
Method Summary
 Function.FunctionType getFunctionType()
           
 java.lang.Object visit(QueryVisitor visitor, java.lang.Object param)
           
 
Methods inherited from class org.tranql.ql.AbstractNode
addChild, getChild, getSibling, isOnlyChild, setSibling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONCAT

public static final Function.FunctionType CONCAT

SUBSTRING

public static final Function.FunctionType SUBSTRING

LENGTH

public static final Function.FunctionType LENGTH

LOCATE

public static final Function.FunctionType LOCATE

ABS

public static final Function.FunctionType ABS

SQRT

public static final Function.FunctionType SQRT

MOD

public static final Function.FunctionType MOD
Constructor Detail

Function

public Function(Function.FunctionType functionType)
Method Detail

getFunctionType

public Function.FunctionType getFunctionType()

visit

public java.lang.Object visit(QueryVisitor visitor,
                              java.lang.Object param)
                       throws QueryException
Throws:
QueryException


Copyright © -2010 The Codehaus. All Rights Reserved.