use of org.hsqldb_voltpatches.index.NodeAVLDisk in project voltdb by VoltDB.
the class RowAVLDisk method write.
public void write(RowOutputInterface out, IntLookup lookup) {
out.writeSize(storageSize);
NodeAVL rownode = nPrimaryNode;
while (rownode != null) {
((NodeAVLDisk) rownode).writeTranslate(out, lookup);
rownode = rownode.nNext;
}
out.writeData(getData(), tTable.colTypes);
out.writeEnd();
}
use of org.hsqldb_voltpatches.index.NodeAVLDisk in project voltdb by VoltDB.
the class RowAVLDisk method setNewNodes.
/**
* used in CachedDataRow
*/
void setNewNodes() {
int indexcount = tTable.getIndexCount();
nPrimaryNode = new NodeAVLDisk(this, 0);
NodeAVL n = nPrimaryNode;
for (int i = 1; i < indexcount; i++) {
n.nNext = new NodeAVLDisk(this, i);
n = n.nNext;
}
}
Aggregations