|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.compile.ColumnOrdering
class ColumnOrdering
| Field Summary | |
|---|---|
private java.util.ArrayList |
columns
|
(package private) int |
myDirection
|
private java.util.ArrayList |
tables
|
| Constructor Summary | |
|---|---|
ColumnOrdering(int direction)
|
|
| Method Summary | |
|---|---|
(package private) void |
addColumn(int tableNumber,
int columnNumber)
Add a column in a table to this ColumnOrdering |
(package private) ColumnOrdering |
cloneMe()
Return a clone of this ColumnOrdering |
(package private) boolean |
contains(int tableNumber,
int columnNumber)
Does this ColumnOrdering contain the given column? |
(package private) int |
direction()
Get the direction of this ColumnOrdering |
(package private) boolean |
empty()
Tell whether this ColumnOrdering has no elements. |
(package private) boolean |
hasAnyOtherTable(int tableNumber)
Is there any table other than the given one in this ColumnOrdering? |
(package private) boolean |
hasTable(int tableNumber)
Is the given table number in this ColumnOrdering? |
(package private) boolean |
ordered(int direction,
int tableNumber,
int columnNumber)
Does this ColumnOrdering contain the given column in the given table in the right direction? |
(package private) void |
removeColumns(int tableNumber)
Remove all columns with the given table number |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int myDirection
private final java.util.ArrayList columns
private final java.util.ArrayList tables
| Constructor Detail |
|---|
ColumnOrdering(int direction)
direction - See RowOrdering for possible values| Method Detail |
|---|
boolean ordered(int direction,
int tableNumber,
int columnNumber)
direction - See RowOrdering for possible valuestableNumber - The number of the table in questioncolumnNumber - The column number in the table (one-based)
boolean contains(int tableNumber,
int columnNumber)
tableNumber - The number of table in questioncolumnNumber - The column number in the table (one-based)
int direction()
void addColumn(int tableNumber,
int columnNumber)
tableNumber - The number of table in questioncolumnNumber - The column number in the table (one-based)void removeColumns(int tableNumber)
boolean empty()
ColumnOrdering cloneMe()
boolean hasTable(int tableNumber)
boolean hasAnyOtherTable(int tableNumber)
public java.lang.String toString()
toString in class java.lang.Object
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||