wt.query
Class JoinClause

java.lang.Object
  extended bywt.query.JoinClause
All Implemented Interfaces:
Cloneable, Serializable

public class JoinClause
extends Object
implements Cloneable, Serializable

This class represents the join condition in SQL statement

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
(package private)  class JoinClause.Item
           
 
Field Summary
private static String CLASSNAME
           
private  Map fromIndexOrderMap
           
private  List items
           
private  Set joinIndexSet
           
private  boolean[] outerJoinInfo
           
private  boolean[] outerNonJoinInfo
           
private static String RESOURCE
           
 
Constructor Summary
JoinClause()
           
 
Method Summary
 void append(int a_fromIndex, Set a_joinIndexSet, WhereClause a_whereClauseForJoin)
          

Supported API: false
 void append(int a_fromIndex, Set a_joinIndexSet, WhereClause a_whereClauseForJoin, int a_fromIndexJoinTo)
           
 void appendFromIndexJoinTo(int a_fromIndex, int a_fromIndexJoinTo)
           
 void appendJoinIndex(JoinIndex a_joinIndex)
           
 void appendWhereClauseForJoin(int a_fromIndex, WhereClause a_whereClause)
          

Supported API: false
 void appendWhereClauseForJoin(int a_fromIndex, WhereExpression a_whereExpression, LogicalOperator a_logicalOperator)
          

Supported API: false
 void appendWhereClauseForJoin(JoinIndex a_joinIndex, WhereExpression a_whereExpression, LogicalOperator a_logicalOperator)
          

Supported API: false
 void appendWhereExpressionForTableJoin(int a_tableOrder, WhereExpression a_whereExpression)
           
 Object clone()
           
 int getCount()
          Gets the value of the attribute: count; Number of items in the clause.
 int getFromIndex(int a_index)
          

Supported API: false
 int getFromIndexJoinTo(int a_index)
           
 Map getFromIndexOrderMap()
          

Supported API: false
 Set getJoinIndexSet()
          Gets the value of the attribute: joinIndexSet.
 Set getJoinIndexSet(int a_index)
          

Supported API: false
 boolean[] getOuterJoinInfo()
          Gets the value of the attribute: outerJoinInfo.
 boolean[] getOuterNonJoinInfo()
          Gets the value of the attribute: outerNonJoinInfo.
 WhereClause getWhereClauseForJoin(int a_index)
          

Supported API: false
 WhereExpression getWhereExpressionForTableJoin(int a_index)
          

Supported API: false
 void resetWhereClauseForJoin()
           
 void resetWhereExpressionForTableJoin()
           
 void setFromIndexOrderMap(Map a_map)
          

Supported API: false
 void setJoinIndexSet(Set a_JoinIndexSet)
          Sets the value of the attribute: joinIndexSet.
 void setOuterJoinInfo(boolean[] a_OuterJoinInfo)
          Sets the value of the attribute: outerJoinInfo.
 void setOuterNonJoinInfo(boolean[] a_OuterNonJoinInfo)
          Sets the value of the attribute: outerNonJoinInfo.
 void setWhereClauseForJoin(JoinIndex a_joinIndex, WhereClause a_whereClause)
          

Supported API: false
 void setWhereExpressionForTableJoin(JoinIndex a_joinIndex, WhereExpression a_whereExpression)
          

Supported API: false
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

items

private List items

fromIndexOrderMap

private Map fromIndexOrderMap

outerJoinInfo

private boolean[] outerJoinInfo

outerNonJoinInfo

private boolean[] outerNonJoinInfo

joinIndexSet

private Set joinIndexSet
Constructor Detail

JoinClause

public JoinClause()
Method Detail

getCount

public int getCount()
Gets the value of the attribute: count; Number of items in the clause.

Supported API: false

Returns:
int

getOuterJoinInfo

public boolean[] getOuterJoinInfo()
Gets the value of the attribute: outerJoinInfo.

Supported API: false

Returns:
boolean[]

setOuterJoinInfo

public void setOuterJoinInfo(boolean[] a_OuterJoinInfo)
Sets the value of the attribute: outerJoinInfo.

Supported API: false

Parameters:
a_OuterJoinInfo -

getOuterNonJoinInfo

public boolean[] getOuterNonJoinInfo()
Gets the value of the attribute: outerNonJoinInfo.

Supported API: false

Returns:
boolean[]

setOuterNonJoinInfo

public void setOuterNonJoinInfo(boolean[] a_OuterNonJoinInfo)
Sets the value of the attribute: outerNonJoinInfo.

Supported API: false

Parameters:
a_OuterNonJoinInfo -

getJoinIndexSet

public Set getJoinIndexSet()
Gets the value of the attribute: joinIndexSet.

Supported API: false

Returns:
Set

setJoinIndexSet

public void setJoinIndexSet(Set a_JoinIndexSet)
Sets the value of the attribute: joinIndexSet.

Supported API: false

Parameters:
a_JoinIndexSet -

append

public void append(int a_fromIndex,
                   Set a_joinIndexSet,
                   WhereClause a_whereClauseForJoin)


Supported API: false

Parameters:
a_fromIndex -
a_joinIndexSet -
a_whereClauseForJoin -

getJoinIndexSet

public Set getJoinIndexSet(int a_index)


Supported API: false

Parameters:
a_index -
Returns:
Set

getWhereClauseForJoin

public WhereClause getWhereClauseForJoin(int a_index)


Supported API: false

Parameters:
a_index -
Returns:
WhereClause

getWhereExpressionForTableJoin

public WhereExpression getWhereExpressionForTableJoin(int a_index)


Supported API: false

Parameters:
a_index -
Returns:
WhereExpression

setWhereExpressionForTableJoin

public void setWhereExpressionForTableJoin(JoinIndex a_joinIndex,
                                           WhereExpression a_whereExpression)


Supported API: false

Parameters:
a_joinIndex -
a_whereExpression -

getFromIndex

public int getFromIndex(int a_index)


Supported API: false

Parameters:
a_index -
Returns:
int

setFromIndexOrderMap

public void setFromIndexOrderMap(Map a_map)


Supported API: false

Parameters:
a_map -

appendWhereClauseForJoin

public void appendWhereClauseForJoin(JoinIndex a_joinIndex,
                                     WhereExpression a_whereExpression,
                                     LogicalOperator a_logicalOperator)


Supported API: false

Parameters:
a_joinIndex -
a_whereExpression -
a_logicalOperator -

setWhereClauseForJoin

public void setWhereClauseForJoin(JoinIndex a_joinIndex,
                                  WhereClause a_whereClause)


Supported API: false

Parameters:
a_joinIndex -
a_whereClause -

getFromIndexOrderMap

public Map getFromIndexOrderMap()


Supported API: false

Returns:
Map

appendWhereClauseForJoin

public void appendWhereClauseForJoin(int a_fromIndex,
                                     WhereClause a_whereClause)


Supported API: false

Parameters:
a_fromIndex -
a_whereClause -

appendWhereClauseForJoin

public void appendWhereClauseForJoin(int a_fromIndex,
                                     WhereExpression a_whereExpression,
                                     LogicalOperator a_logicalOperator)


Supported API: false

Parameters:
a_fromIndex -
a_whereExpression -
a_logicalOperator -

getFromIndexJoinTo

public int getFromIndexJoinTo(int a_index)

append

public void append(int a_fromIndex,
                   Set a_joinIndexSet,
                   WhereClause a_whereClauseForJoin,
                   int a_fromIndexJoinTo)

appendFromIndexJoinTo

public void appendFromIndexJoinTo(int a_fromIndex,
                                  int a_fromIndexJoinTo)

appendWhereExpressionForTableJoin

public void appendWhereExpressionForTableJoin(int a_tableOrder,
                                              WhereExpression a_whereExpression)

appendJoinIndex

public void appendJoinIndex(JoinIndex a_joinIndex)

resetWhereExpressionForTableJoin

public void resetWhereExpressionForTableJoin()

resetWhereClauseForJoin

public void resetWhereClauseForJoin()

clone

public Object clone()

toString

public String toString()