Module org.eclipse.persistence.core
Class SQLStatement
java.lang.Object
org.eclipse.persistence.internal.expressions.SQLStatement
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
SQLModifyStatement
,SQLSelectStatement
Purpose: Mirror SQL behavior.
Responsibilities:
- Mirror SQL behavior.
- Print as SQL string.
- Since:
- TOPLink/Java 1.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ExpressionBuilder
protected String
protected AbstractRecord
protected Expression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract DatabaseCall
buildCall
(AbstractSession session) Return SQL call for the statement, through generating the SQL string.clone()
Clone the StatementINTERNAL: Return the Hint String for the statementINTERNAL: Return the row for translationprotected void
setBuilder
(ExpressionBuilder aBuilder) void
setHintString
(String newHintString) INTERNAL: Set the Hint String for the statementvoid
setTranslationRow
(AbstractRecord theRow) INTERNAL: Set the row for translationvoid
setWhereClause
(Expression expression) toString()
Try to print the SQL.
-
Field Details
-
whereClause
-
builder
-
translationRow
-
hintString
-
-
Constructor Details
-
SQLStatement
protected SQLStatement()Default constructor.
-
-
Method Details
-
buildCall
Return SQL call for the statement, through generating the SQL string. -
clone
Clone the Statement -
getBuilder
-
getExpressionBuilder
-
getHintString
INTERNAL: Return the Hint String for the statement -
getTranslationRow
INTERNAL: Return the row for translation -
getWhereClause
-
setHintString
INTERNAL: Set the Hint String for the statement -
setBuilder
-
setTranslationRow
INTERNAL: Set the row for translation -
setWhereClause
-
toString
Try to print the SQL.
-