net.sf.farrago.ojrex
Enum FarragoOJRexBuiltinImplementor.Function

java.lang.Object
  extended by java.lang.Enum<FarragoOJRexBuiltinImplementor.Function>
      extended by net.sf.farrago.ojrex.FarragoOJRexBuiltinImplementor.Function
All Implemented Interfaces:
Serializable, Comparable<FarragoOJRexBuiltinImplementor.Function>
Enclosing class:
FarragoOJRexBuiltinImplementor

public static enum FarragoOJRexBuiltinImplementor.Function
extends Enum<FarragoOJRexBuiltinImplementor.Function>

Enumeration of SQL operators that can be implemented in OJ.


Enum Constant Summary
ABS
           
CEIL
           
CHAR_LENGTH
           
CHARACTER_LENGTH
           
CONCAT
           
CONVERT
           
EXP
           
FLOOR
           
INITCAP
           
LN
           
LOG10
           
LOWER
           
MOD
           
OVERLAY
           
POSITION
           
POWER
           
SUBSTRING
           
TRANSLATE
           
TRIM
           
UPPER
           
 
Method Summary
static FarragoOJRexBuiltinImplementor.Function valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FarragoOJRexBuiltinImplementor.Function[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FLOOR

public static final FarragoOJRexBuiltinImplementor.Function FLOOR

CEIL

public static final FarragoOJRexBuiltinImplementor.Function CEIL

ABS

public static final FarragoOJRexBuiltinImplementor.Function ABS

POWER

public static final FarragoOJRexBuiltinImplementor.Function POWER

LN

public static final FarragoOJRexBuiltinImplementor.Function LN

LOG10

public static final FarragoOJRexBuiltinImplementor.Function LOG10

SUBSTRING

public static final FarragoOJRexBuiltinImplementor.Function SUBSTRING

OVERLAY

public static final FarragoOJRexBuiltinImplementor.Function OVERLAY

MOD

public static final FarragoOJRexBuiltinImplementor.Function MOD

EXP

public static final FarragoOJRexBuiltinImplementor.Function EXP

CONCAT

public static final FarragoOJRexBuiltinImplementor.Function CONCAT

TRIM

public static final FarragoOJRexBuiltinImplementor.Function TRIM

POSITION

public static final FarragoOJRexBuiltinImplementor.Function POSITION

CHAR_LENGTH

public static final FarragoOJRexBuiltinImplementor.Function CHAR_LENGTH

CHARACTER_LENGTH

public static final FarragoOJRexBuiltinImplementor.Function CHARACTER_LENGTH

UPPER

public static final FarragoOJRexBuiltinImplementor.Function UPPER

LOWER

public static final FarragoOJRexBuiltinImplementor.Function LOWER

INITCAP

public static final FarragoOJRexBuiltinImplementor.Function INITCAP

CONVERT

public static final FarragoOJRexBuiltinImplementor.Function CONVERT

TRANSLATE

public static final FarragoOJRexBuiltinImplementor.Function TRANSLATE
Method Detail

values

public static final FarragoOJRexBuiltinImplementor.Function[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(FarragoOJRexBuiltinImplementor.Function c : FarragoOJRexBuiltinImplementor.Function.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static FarragoOJRexBuiltinImplementor.Function valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name