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()
Statement
Returns the SQLFactory
that created this Statement.
getSQLFactory
in interface Statement
protected TableReference newTableReference(Table pTable)
public TableReference setTable(Table pTable)
Statement
Sets the table, for which the statement applies and returns a reference to the table.
public TableReference getTableReference()
Statement
Returns the table reference, for which the statement applies.
getTableReference
in interface Statement
public Function createFunction(java.lang.String pName)
Statement
Creates a new function, which may be added to a
BooleanConstraint
.
createFunction
in interface Statement