com.triactive.jdo.store.sql.expr.fn
Class SqlFunction

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.fn.SqlFunction
Direct Known Subclasses:
BinaryFunction, CastFunction, NumericFunction, StringFunction

public abstract class SqlFunction
extends java.lang.Object


Field Summary
static SqlFunction ABS
           
static SqlFunction AVG
           
static SqlFunction CHAR_LENGTH
           
static SqlFunction COUNT
           
static SqlFunction LEN
           
static SqlFunction LENGTH
           
static SqlFunction LOWER
           
static SqlFunction MAX
           
static SqlFunction MIN
           
static SqlFunction MOD
           
protected  java.lang.String name
           
static SqlFunction SQRT
           
static SqlFunction STRLEN
           
static SqlFunction SUBSTR
           
static SqlFunction SUBSTRING
           
static SqlFunction SUBSTRING_MS
           
static SqlFunction SUM
           
static SqlFunction TRIM
           
static SqlFunction UPPER
           
 
Constructor Summary
SqlFunction(java.lang.String name)
           
 
Method Summary
abstract  SqlExpression call(java.util.List args)
           
 SqlExpression call(SqlExpression arg)
           
 SqlExpression call(SqlExpression[] args)
           
 SqlExpression call(SqlExpression arg1, SqlExpression arg2)
           
 SqlExpression call(SqlExpression arg1, SqlExpression arg2, SqlExpression arg3)
           
abstract  java.lang.Class returnType(java.util.List args)
           
 StatementText toStatementText(java.util.List args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABS

public static final SqlFunction ABS

AVG

public static final SqlFunction AVG

CHAR_LENGTH

public static final SqlFunction CHAR_LENGTH

COUNT

public static final SqlFunction COUNT

MAX

public static final SqlFunction MAX

MIN

public static final SqlFunction MIN

MOD

public static final SqlFunction MOD

LEN

public static final SqlFunction LEN

LENGTH

public static final SqlFunction LENGTH

LOWER

public static final SqlFunction LOWER

UPPER

public static final SqlFunction UPPER

SQRT

public static final SqlFunction SQRT

STRLEN

public static final SqlFunction STRLEN

SUBSTR

public static final SqlFunction SUBSTR

SUBSTRING

public static final SqlFunction SUBSTRING

SUBSTRING_MS

public static final SqlFunction SUBSTRING_MS

SUM

public static final SqlFunction SUM

TRIM

public static final SqlFunction TRIM

name

protected final java.lang.String name
Constructor Detail

SqlFunction

public SqlFunction(java.lang.String name)
Method Detail

returnType

public abstract java.lang.Class returnType(java.util.List args)

toStatementText

public StatementText toStatementText(java.util.List args)

call

public final SqlExpression call(SqlExpression arg)

call

public final SqlExpression call(SqlExpression arg1,
                                SqlExpression arg2)

call

public final SqlExpression call(SqlExpression arg1,
                                SqlExpression arg2,
                                SqlExpression arg3)

call

public final SqlExpression call(SqlExpression[] args)

call

public abstract SqlExpression call(java.util.List args)


Copyright © 2001-2007 The TJDO Project All Rights Reserved.