|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LiteralFactory
A factory to create various literal expressions. This factory is obtainable from SQLVendor.
SQLVendor| Method Summary | |
|---|---|
DateTimeLiteral |
dt(java.sql.Date date)
Creates a literal, which has some date as content. |
SQLFunctionLiteral |
func(java.lang.String name,
ValueExpression... parameters)
Creates a literal, which represents a use of SQL function. |
DirectLiteral |
l(java.lang.String literalContents)
Creates a literal, which has some textual content. |
NumericLiteral |
n(java.lang.Number number)
Creates a literal, which has some number as contents. |
DirectLiteral |
param()
Returns literal, representing a parameter ( ?) |
StringLiteral |
s(java.lang.String stringContents)
Creates new string literal, that is, a string to be enclosed in ' -characters. |
| Method Detail |
|---|
StringLiteral s(java.lang.String stringContents)
' -characters.
stringContents - The contents of string literal.
StringLiteralDirectLiteral param()
?) in parameterized SQL statement.
?) in parameterized SQL statement.DirectLiteral l(java.lang.String literalContents)
literalContents - The contents to be used.
DirectLiteral.DateTimeLiteral dt(java.sql.Date date)
date - The date to use.
DateTimeLiteral.NumericLiteral n(java.lang.Number number)
number - The number to use.
NumericLiteral.
SQLFunctionLiteral func(java.lang.String name,
ValueExpression... parameters)
name - The name of function.parameters - The parameters for function.
SQLFunctionLiteral.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||