|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.execute.ValueRow
org.apache.derby.impl.sql.execute.IndexRow
Basic implementation of ExecIndexRow.
Field Summary | |
private boolean[] |
orderedNulls
This class implements Formatable. |
Fields inherited from class org.apache.derby.impl.sql.execute.ValueRow |
|
Constructor Summary | |
IndexRow()
Public niladic constructor. |
|
IndexRow(int ncols)
|
Method Summary | |
boolean |
areNullsOrdered(int columnPosition)
Return true if orderedNulls was called on this ExecIndexRow for the given column position. |
(package private) ExecRow |
cloneMe()
|
void |
execRowToExecIndexRow(ExecRow valueRow)
Turn the ExecRow into an ExecIndexRow. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
orderedNulls(int columnPosition)
These two methods are a sort of a hack. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
Methods inherited from class org.apache.derby.impl.sql.execute.ValueRow |
cloneColumn, getClone, getClone, getColumn, getNewNullRow, getNewObjectArray, getRowArray, getRowArrayClone, nColumns, realloc, setColumn, setRowArray, setRowArray, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.derby.iapi.sql.execute.ExecRow |
cloneColumn, getClone, getClone, getNewNullRow, getNewObjectArray, getRowArray, getRowArrayClone, setRowArray, setRowArray |
Methods inherited from interface org.apache.derby.iapi.sql.Row |
getColumn, nColumns, setColumn |
Field Detail |
private boolean[] orderedNulls
Constructor Detail |
public IndexRow()
public IndexRow(int ncols)
Method Detail |
public void orderedNulls(int columnPosition)
ExecIndexRow
orderedNulls
in interface ExecIndexRow
columnPosition
- The position of the column that uses ordered
null semantics (zero-based).public boolean areNullsOrdered(int columnPosition)
ExecIndexRow
areNullsOrdered
in interface ExecIndexRow
columnPosition
- The position of the column (zero-based) for
which we want to check if ordered null semantics
are used.
public void execRowToExecIndexRow(ExecRow valueRow)
execRowToExecIndexRow
in interface ExecIndexRow
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class ValueRow
in
- read this.
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorpublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class ValueRow
out
- write bytes here.
java.io.IOException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
getTypeFormatId
in class ValueRow
ExecRow cloneMe()
cloneMe
in class ValueRow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |