org.datanucleus.store.rdbms.sql.method
Interface SQLMethod

All Known Implementing Classes:
AbsFunction, AbstractSQLMethod, AcosFunction, ArrayContainsMethod, ArrayIsEmptyMethod, ArraySizeMethod, AsinFunction, AtanFunction, AvgFunction, CeilFunction, CollectionContainsMethod, CollectionIsEmptyMethod, CollectionSizeMethod, CosFunction, CountFunction, CurrentDateFunction, CurrentTimeFunction, CurrentTimestampFunction, DateGetDay2Method, DateGetDay3Method, DateGetDayMethod, DateGetHour2Method, DateGetHour3Method, DateGetHour4Method, DateGetHourMethod, DateGetMinute2Method, DateGetMinute3Method, DateGetMinute4Method, DateGetMinuteMethod, DateGetMonth2Method, DateGetMonth3Method, DateGetMonthMethod, DateGetSecond2Method, DateGetSecond3Method, DateGetSecond4Method, DateGetSecondMethod, DateGetYear2Method, DateGetYear3Method, DateGetYearMethod, EnumOrdinalMethod, EnumToStringMethod, ExpFunction, FloorFunction, JDOHelperGetObjectIdMethod, JDOHelperGetVersionMethod, LogFunction, MapContainsEntryMethod, MapContainsKeyMethod, MapContainsValueMethod, MapGetMethod, MapIsEmptyMethod, MapSizeMethod, MathAbsMethod, MathAcosMethod, MathAsinMethod, MathAtanMethod, MathCeilMethod, MathCosMethod, MathExpMethod, MathFloorMethod, MathLogMethod, MathSinMethod, MathSqrtMethod, MathTanMethod, MaxFunction, MinFunction, SimpleAggregateMethod, SimpleNumericMethod, SimpleStringMethod, SinFunction, SQLCubeFunction, SQLRollupFunction, SqrtFunction, StringCharAtMethod, StringEndsWithMethod, StringEqualsMethod, StringIndexOf2Method, StringIndexOf3Method, StringIndexOf4Method, StringIndexOf5Method, StringIndexOfMethod, StringLength2Method, StringLength3Method, StringLengthMethod, StringMatches2Method, StringMatchesMethod, StringStartsWith2Method, StringStartsWith3Method, StringStartsWithMethod, StringSubstring2Method, StringSubstring3Method, StringSubstringMethod, StringToLowerMethod, StringToUpperMethod, StringTrim2Method, StringTrimLeftMethod, StringTrimMethod, StringTrimRightMethod, SumFunction, TanFunction

public interface SQLMethod

Interface to implement to wrap an SQL function.


Method Summary
 SQLExpression getExpression(SQLExpression expr, java.util.List args)
          Return the expression for this SQL function.
 void setStatement(SQLStatement stmt)
          Method to set the SQLStatement that we are related to.
 

Method Detail

getExpression

SQLExpression getExpression(SQLExpression expr,
                            java.util.List args)
Return the expression for this SQL function.

Parameters:
expr - The expression that it is invoked on
args - Arguments passed in
Returns:
The SQL expression using the SQL function

setStatement

void setStatement(SQLStatement stmt)
Method to set the SQLStatement that we are related to.

Parameters:
stmt - The statement


Copyright © 2009. All Rights Reserved.