public class ObjectFactoryImpl extends java.lang.Object implements ObjectFactory
Default implementation of the object factory.
| Modifier | Constructor and Description |
|---|---|
protected |
ObjectFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
createExpression(Statement pStatement,
Expression.Type pType)
Creates a new instance of
Expression. |
Case |
newCase(Column.Type pType)
Creates a new instance of
Case. |
ColumnReference |
newColumnReference(TableReference pTableReference,
Column pColumn)
Creates a new instance of
ColumnReference. |
CombinedConstraint |
newCombinedConstraint(ConstrainedStatement pStatement,
CombinedConstraint.Type pType)
Creates a new instance of
Constraint constraining
the given ConstrainedStatement. |
Function |
newFunction(Statement pStatement,
java.lang.String pName)
Returns an instance of
Function. |
JoinReference |
newJoinReference(SelectTableReference pSelectTableReference,
Table pTable,
boolean pIsLeftOuterJoin)
Returns an instance of
JoinReference. |
RawSQLCode |
newRawSQL(java.lang.String pRawSQLCode)
Returns an instance of
RawSQLCode. |
Table |
newView(SelectStatement pSelectStatement,
Table.Name pName)
Returns an instance of
Table, which allows to embed
the given instance of
SelectStatement into another
SELECT statement. |
public RawSQLCode newRawSQL(java.lang.String pRawSQLCode)
ObjectFactoryRawSQLCode.newRawSQL in interface ObjectFactorypublic JoinReference newJoinReference(SelectTableReference pSelectTableReference, Table pTable, boolean pIsLeftOuterJoin)
ObjectFactoryReturns an instance of
JoinReference.
newJoinReference in interface ObjectFactorypublic Function newFunction(Statement pStatement, java.lang.String pName)
ObjectFactoryFunction.newFunction in interface ObjectFactorypublic Table newView(SelectStatement pSelectStatement, Table.Name pName)
ObjectFactoryTable, which allows to embed
the given instance of
SelectStatement into another
SELECT statement.newView in interface ObjectFactorypublic CombinedConstraint newCombinedConstraint(ConstrainedStatement pStatement, CombinedConstraint.Type pType)
ObjectFactoryConstraint constraining
the given ConstrainedStatement.newCombinedConstraint in interface ObjectFactorypublic Case newCase(Column.Type pType)
ObjectFactoryCase.newCase in interface ObjectFactorypublic ColumnReference newColumnReference(TableReference pTableReference, Column pColumn)
ObjectFactoryColumnReference.newColumnReference in interface ObjectFactorypublic Expression createExpression(Statement pStatement, Expression.Type pType)
ObjectFactoryExpression.createExpression in interface ObjectFactory