public abstract class SQLStatement extends Object implements Serializable, Cloneable
Purpose: Mirror SQL behavior.
Responsibilities:
Modifier and Type | Field and Description |
---|---|
protected ExpressionBuilder |
builder |
protected AbstractRecord |
translationRow |
protected Expression |
whereClause |
Constructor and Description |
---|
SQLStatement() |
Modifier and Type | Method and Description |
---|---|
abstract DatabaseCall |
buildCall(AbstractSession session)
Return SQL call for the statement, through generating the SQL string.
|
Object |
clone()
Clone the Statement
|
ExpressionBuilder |
getBuilder() |
ExpressionBuilder |
getExpressionBuilder() |
AbstractRecord |
getTranslationRow()
INTERNAL:
Return the row for translation
|
Expression |
getWhereClause() |
protected void |
setBuilder(ExpressionBuilder aBuilder) |
void |
setTranslationRow(AbstractRecord theRow)
INTERNAL:
Set the row for translation
|
void |
setWhereClause(Expression expression) |
String |
toString()
Try to print the SQL.
|
protected Expression whereClause
protected ExpressionBuilder builder
protected AbstractRecord translationRow
public abstract DatabaseCall buildCall(AbstractSession session)
public ExpressionBuilder getBuilder()
public ExpressionBuilder getExpressionBuilder()
public AbstractRecord getTranslationRow()
public Expression getWhereClause()
protected void setBuilder(ExpressionBuilder aBuilder)
public void setTranslationRow(AbstractRecord theRow)
public void setWhereClause(Expression expression)
Copyright © 2022. All rights reserved.