unity.functions
Class F_Trim

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.F_Trim

public class F_Trim
extends Expression


Field Summary
static java.lang.String BOTH
           
static int BOTH_VAL
           
static java.lang.String LEADING
           
static int LEADING_VAL
           
static java.lang.String TRAILING
           
static int TRAILING_VAL
           
 
Constructor Summary
F_Trim(Expression exp, java.lang.String type, Expression chars)
           
 
Method Summary
 java.lang.Object evaluate(Tuple t)
           
static java.lang.String getFunctionName()
           
static int[] getParamListTypes()
           
 int getReturnType()
           
 java.lang.String toString(Relation relation)
           
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, hasChildren, setParent, setReturnType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEADING

public static java.lang.String LEADING

TRAILING

public static java.lang.String TRAILING

BOTH

public static java.lang.String BOTH

LEADING_VAL

public static int LEADING_VAL

TRAILING_VAL

public static int TRAILING_VAL

BOTH_VAL

public static int BOTH_VAL
Constructor Detail

F_Trim

public F_Trim(Expression exp,
              java.lang.String type,
              Expression chars)
Method Detail

evaluate

public java.lang.Object evaluate(Tuple t)
Specified by:
evaluate in class Expression

getReturnType

public int getReturnType()
Overrides:
getReturnType in class Expression

getParamListTypes

public static int[] getParamListTypes()

getFunctionName

public static java.lang.String getFunctionName()

toString

public java.lang.String toString(Relation relation)
Overrides:
toString in class Expression