public static class KKQuery.FromElement
extends java.lang.Object
| Constructor and Description |
|---|
FromElement(java.lang.String tableName)
Constructor
|
FromElement(java.lang.String tableName,
org.apache.torque.criteria.SqlEnum joinType,
java.lang.String joinCondition)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJoinCondition() |
org.apache.torque.criteria.SqlEnum |
getJoinType() |
java.lang.String |
getTableName() |
java.lang.String |
toString()
Returns a SQL representation of the element
|
public FromElement(java.lang.String tableName,
org.apache.torque.criteria.SqlEnum joinType,
java.lang.String joinCondition)
tableName - the tablename, might contain an appended alias name e.g.
table_1
table_1 alias_for_table_1
joinType - the type of the join, e.g. SqlEnum.LEFT_JOIN, or null if no explicit join is
wantedjoinCondition - the join condition, e.g. table_a.id = table_b.a_id, or null if no explicit
join is wanted (In this case, the join condition is appended to the
whereClause instead)public FromElement(java.lang.String tableName)
tableName - the tablename, might contain an appended alias name e.g.
table_1
table_1 alias_for_table_1
public java.lang.String getJoinCondition()
public org.apache.torque.criteria.SqlEnum getJoinType()
public java.lang.String getTableName()
table_1
table_1 alias_for_table_1
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 DS Data Systems UK Ltd.