|
||||||||||
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 ColumnOrdering
public boolean getIsAscending()
getIsAscending
in interface ColumnOrdering
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- write bytes here
java.io.IOException
- thrown on errorpublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |