|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolkit.db.api.JoinInfo
public class JoinInfo
JoinInfo wraps all information of related Joins.
Field Summary | |
---|---|
static int |
FULL_OUTER_JOIN
|
static int |
INNER_JOIN
|
static int |
LEFT_OUTER_JOIN
|
static int |
OUTER_JOIN
|
static int |
RIGHT_OUTER_JOIN
|
static java.lang.String |
STR_FULL_OUTER_JOIN
|
static java.lang.String |
STR_INNER_JOIN
|
static java.lang.String |
STR_LEFT_OUTER_JOIN
|
static java.lang.String |
STR_OUTER_JOIN
|
static java.lang.String |
STR_RIGHT_OUTER_JOIN
|
static java.lang.String |
STR_UNION_JOIN
|
static int |
UNION_JOIN
|
Constructor Summary | |
---|---|
JoinInfo(ColumnInfo columnFrom,
java.lang.String sOperator,
ColumnInfo columnTo,
int iJoinType,
boolean bSQL92,
boolean bSelfJoin)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this JoinInfo to the specified object. |
ColumnInfo |
getColumnFrom()
Gets the FROM column's ColumnInfo. |
ColumnInfo |
getColumnTo()
Gets the ColumnInfo of the TO column. |
int |
getJoinType()
Gets the outer join type. |
java.lang.String |
getOperator()
Gets the value of the OPERATOR's string. |
boolean |
isFullOuterJoin()
Gets whether this is a full outer join table. |
boolean |
isLeftOuterJoin()
Gets whether this is a left outer join table. |
boolean |
isOuterJoin()
Gets whether this is an outer join table. |
boolean |
isRightOuterJoin()
Gets whether this is a right outer join table. |
boolean |
isSelfJoin()
Gets whether this is a self join. |
boolean |
isSQL92()
Gets whether this join applies SQL92 standard. |
java.lang.String |
toString()
Returns a string representing this JoinInfo's values. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INNER_JOIN
public static final int RIGHT_OUTER_JOIN
public static final int FULL_OUTER_JOIN
public static final int LEFT_OUTER_JOIN
public static final int OUTER_JOIN
public static final int UNION_JOIN
public static final java.lang.String STR_INNER_JOIN
public static final java.lang.String STR_RIGHT_OUTER_JOIN
public static final java.lang.String STR_FULL_OUTER_JOIN
public static final java.lang.String STR_LEFT_OUTER_JOIN
public static final java.lang.String STR_OUTER_JOIN
public static final java.lang.String STR_UNION_JOIN
Constructor Detail |
---|
public JoinInfo(ColumnInfo columnFrom, java.lang.String sOperator, ColumnInfo columnTo, int iJoinType, boolean bSQL92, boolean bSelfJoin)
columnFrom
- The FROM column of the join.sOperator
- The sOperator of the join condition. The valid value can be "=", ">", "<", etc.columnTo
- The TO column of the join.iJoinType
- The join type, whose values are:
INNER_JOIN = 0;
RIGHT_OUTER_JOIN = 1;
FULL_OUTER_JOIN = 2;
LEFT_OUTER_JOIN = 4;
OUTER_JOIN = 7;
UNION_JOIN = 8;bSQL92
- Whether this join applies SQL92 standard.bSelfJoin
- Whether this is a self join.Method Detail |
---|
public ColumnInfo getColumnFrom()
public java.lang.String getOperator()
public ColumnInfo getColumnTo()
public int getJoinType()
public boolean isOuterJoin()
public boolean isLeftOuterJoin()
public boolean isRightOuterJoin()
public boolean isFullOuterJoin()
public boolean isSQL92()
public boolean isSelfJoin()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
className@hashCode[ mappingNameOfFromColumn | operator | mappingNameOfToColumn | joinTypeString | isSQL92 | isSelfJoin ]
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |