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)
ObjectFactory
RawSQLCode
.newRawSQL
in interface ObjectFactory
public JoinReference newJoinReference(SelectTableReference pSelectTableReference, Table pTable, boolean pIsLeftOuterJoin)
ObjectFactory
Returns an instance of
JoinReference
.
newJoinReference
in interface ObjectFactory
public Function newFunction(Statement pStatement, java.lang.String pName)
ObjectFactory
Function
.newFunction
in interface ObjectFactory
public Table newView(SelectStatement pSelectStatement, Table.Name pName)
ObjectFactory
Table
, which allows to embed
the given instance of
SelectStatement
into another
SELECT statement.newView
in interface ObjectFactory
public CombinedConstraint newCombinedConstraint(ConstrainedStatement pStatement, CombinedConstraint.Type pType)
ObjectFactory
Constraint
constraining
the given ConstrainedStatement
.newCombinedConstraint
in interface ObjectFactory
public Case newCase(Column.Type pType)
ObjectFactory
Case
.newCase
in interface ObjectFactory
public ColumnReference newColumnReference(TableReference pTableReference, Column pColumn)
ObjectFactory
ColumnReference
.newColumnReference
in interface ObjectFactory
public Expression createExpression(Statement pStatement, Expression.Type pType)
ObjectFactory
Expression
.createExpression
in interface ObjectFactory