|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.IndexColumnOrder
Basic implementation of ColumnOrdering. Not sure what to tell callers about 0-based versus 1-based numbering. Assume 0-based for now.
| Field Summary | |
(package private) boolean |
ascending
|
(package private) int |
colNum
This class implements Formatable. |
| Constructor Summary | |
IndexColumnOrder()
Niladic constructor for formatable |
|
IndexColumnOrder(int colNum)
|
|
IndexColumnOrder(int colNum,
boolean ascending)
|
|
| Method Summary | |
int |
getColumnId()
|
boolean |
getIsAscending()
|
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object out |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int colNum
boolean ascending
| Constructor Detail |
public IndexColumnOrder()
public IndexColumnOrder(int colNum)
public IndexColumnOrder(int colNum,
boolean ascending)
| Method Detail |
public int getColumnId()
getColumnId in interface ColumnOrderingpublic boolean getIsAscending()
getIsAscending in interface ColumnOrdering
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here
java.io.IOException - thrown on error
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException - thrown on error
java.lang.ClassNotFoundException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormat
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||