public abstract class StatementImpl extends java.lang.Object implements Statement
A common base class for SelectStatement,
InsertStatement,
UpdateStatement, and
DeleteStatement.
| Modifier | Constructor and Description |
|---|---|
protected |
StatementImpl(SQLFactory pFactory) |
| Modifier and Type | Method and Description |
|---|---|
Function |
createFunction(java.lang.String pName)
Creates a new function, which may be added to a
BooleanConstraint. |
SQLFactory |
getSQLFactory()
Returns the
SQLFactory
that created this Statement. |
TableReference |
getTableReference()
Returns the table reference, for which the statement applies.
|
Case |
newCase(Column.Type pType)
Creates a new instance of
Case. |
protected TableReference |
newTableReference(Table pTable) |
TableReference |
setTable(Table pTable)
Sets the table, for which the statement applies and returns
a reference to the table.
|
protected StatementImpl(SQLFactory pFactory)
public SQLFactory getSQLFactory()
StatementReturns the SQLFactory
that created this Statement.
getSQLFactory in interface Statementprotected TableReference newTableReference(Table pTable)
public TableReference setTable(Table pTable)
StatementSets the table, for which the statement applies and returns a reference to the table.
public TableReference getTableReference()
StatementReturns the table reference, for which the statement applies.
getTableReference in interface Statementpublic Function createFunction(java.lang.String pName)
StatementCreates a new function, which may be added to a
BooleanConstraint.
createFunction in interface Statement