| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| private StringBuilder | |
| private Dialect | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addCondition(String
The alias of the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns)Implements abstract org. |
| public void | |
| public boolean | Returns: true if the condition was added, false if it was already in the fragment.Implements abstract org. |
| public void | addCrossJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias)Implements abstract org. |
| public void | |
| public void | addJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns, JoinType The type of join joinType)Implements abstract org. |
| public void | addJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns, JoinType The type of join joinType, String The additional ON fragment on)Implements abstract org. |
| public void | |
| public void | addJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias, String[][] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns, JoinType The type of join joinType, String The additional ON fragment on)Overrides org. |
| private void | |
| private void | |
| public void | addJoins(String
The FROM clause fragment fromFragment, String The WHERE clause fragment whereFragment)Implements abstract org. |
| public void | |
| public JoinFragment | |
| public String | toFromFragmentString()
Implements abstract org. |
| public String | toWhereFragmentString()
Implements abstract org. |
| afterFrom | back to summary |
|---|---|
| private StringBuilder afterFrom | |
| afterWhere | back to summary |
|---|---|
| private StringBuilder afterWhere | |
| dialect | back to summary |
|---|---|
| private Dialect dialect | |
| useThetaStyleInnerJoins | back to summary |
|---|---|
| private boolean useThetaStyleInnerJoins | |
| QueryJoinFragment | back to summary |
|---|---|
| public QueryJoinFragment(Dialect dialect, boolean useThetaStyleInnerJoins) | |
| addCondition | back to summary |
|---|---|
| public void addCondition(String alias, String[] columns, String condition) | |
| addCondition | back to summary |
|---|---|
| public void addCondition(String alias, String[] fkColumns, String[] pkColumns) Implements abstract org. Doc from org. Adds a condition to the join fragment. | |
| addCondition | back to summary |
|---|---|
| public void addCondition(String alias, String[][] fkColumns, String[] pkColumns) | |
| addCondition | back to summary |
|---|---|
| public boolean addCondition(String condition) Implements abstract org. Add the condition string to the join fragment.
| |
| addCrossJoin | back to summary |
|---|---|
| public void addCrossJoin(String tableName, String alias) Implements abstract org. Doc from org. Adds a cross join to the specified table. | |
| addFromFragmentString | back to summary |
|---|---|
| public void addFromFragmentString(String fromFragmentString) | |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, JoinType joinType) Implements abstract org. Doc from org. Adds a join. | |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, JoinType joinType, String on) Implements abstract org. Doc from org. Adds a join, with an additional ON clause fragment
| |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[][] fkColumns, String[] pkColumns, JoinType joinType) | |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[][] fkColumns, String[] pkColumns, JoinType joinType, String on) Overrides org. Doc from org. Adds a join, with an additional ON clause fragment
| |
| addJoin | back to summary |
|---|---|
| private void addJoin(String tableName, String alias, String concreteAlias, String[] fkColumns, String[] pkColumns, JoinType joinType, String on) | |
| addJoin | back to summary |
|---|---|
| private void addJoin(String tableName, String alias, String concreteAlias, String[][] fkColumns, String[] pkColumns, JoinType joinType, String on) | |
| addJoins | back to summary |
|---|---|
| public void addJoins(String fromFragment, String whereFragment) Implements abstract org. Doc from org. Free-form form of adding theta-style joins taking the necessary FROM and WHERE clause fragments | |
| clearWherePart | back to summary |
|---|---|
| public void clearWherePart() | |
| copy | back to summary |
|---|---|
| public JoinFragment copy() Implements abstract org. Doc from org. Make a copy.
| |
| toFromFragmentString | back to summary |
|---|---|
| public String toFromFragmentString() Implements abstract org. Doc from org. Render this fragment to its FROM clause portion
| |
| toWhereFragmentString | back to summary |
|---|---|
| public String toWhereFragmentString() Implements abstract org. Doc from org. Render this fragment to its WHERE clause portion
| |