public class QueryJoinInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LEFTOUTER
flag of outer join type
|
static int |
RIGHTOUTER
flag of outer join type
|
Constructor and Description |
---|
QueryJoinInfo()
Constructor.
|
QueryJoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Constructor.
|
QueryJoinInfo(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Adds a definition of the join object into the container.
|
void |
add(java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJpin)
Adds a definition of the join object into the container.
|
public static final int LEFTOUTER
public static final int RIGHTOUTER
public QueryJoinInfo()
public QueryJoinInfo(java.lang.String tableFrom, java.lang.String columnFrom, java.lang.String operator, java.lang.String tableTo, java.lang.String columnTo, boolean isSQL92, int outerJoin)
tableFrom
- The name of the table from which the join links.columnFrom
- The name of the column from which the join links.operator
- The String operator of the join.tableTo
- The name of the table to which the join links.columnTo
- The name of the column to which the join links.isSQL92
- Indicates whether to use sql92 format to create the join or not.
There are two kinds of join formats: SQL92 and Use'+'.outerJoin
- Indicates join type of the outer join.
An outer join preserves these records in the result and replaces the missing values with nulls. Logi Report will call the join left (right) outer join if the records in the left (right) side table are preserved.LEFTOUTER
,
RIGHTOUTER
public QueryJoinInfo(java.lang.String tableFrom, java.lang.String columnFrom, java.lang.String operator, java.lang.String tableTo, java.lang.String columnTo)
tableFrom
- The name of the table from which the join links.columnFrom
- The name of the column from which the join links.operator
- The String operator of the join.tableTo
- The name of the table to which the join links.columnTo
- The name of the column to which the join links.public void add(java.lang.String tableFrom, java.lang.String columnFrom, java.lang.String operator, java.lang.String tableTo, java.lang.String columnTo)
tableFrom
- The name of the table from which the join links.columnFrom
- The name of the column from which the join links.operator
- The String operator of the join.tableTo
- The name of the table to which the join links.columnTo
- The name of the column to which the join links.public void add(java.lang.String tableFrom, java.lang.String columnFrom, java.lang.String operator, java.lang.String tableTo, java.lang.String columnTo, boolean isSQL92, int outerJpin)
tableFrom
- The name of the table from which the join links.columnFrom
- The name of the column from which the join links.operator
- The String operator of the join.tableTo
- The name of the table to which the join links.columnTo
- The name of the column to which the join links.isSQL92
- Indicates whether to use sql92 format to create the join or not.
There are two kinds of join formats: SQL92 and Use'+'.outerJoin
- Indicates join type of the outer join.
An outer join preserves these records in the result and replaces the missing values with nulls. Logi Report will call the join left (right) outer join if the records in the left (right) side table are preserved.LEFTOUTER
,
RIGHTOUTER