Subclass RowAVLDisk implements rows for CACHED and TEXT tables.
New class derived from Hypersonic SQL code and enhanced in HSQLDB.
@author Thomas Mueller (Hypersonic SQL Group) @version 1.9.0 @since Hypersonic SQL
248249250251252253254255256257258
changeToDiskTable(); return getNewCachedObject(session, object); } Row row = new RowAVL(table, (Object[]) object, id); if (isTempTable) { RowAction action = new RowAction(session, table, RowAction.ACTION_INSERT, row, null);
301302303304305306307308309310311312313
if (node == null) { return null; } if (!node.isInMemory()) { RowAVL row = (RowAVL) get(node.getPos(), false); node = row.getNode(key.getPosition()); accessorList[key.getPosition()] = node; } return node; }
116117118119120121122123124125126
synchronized (this) { id = rowIdSequence++; } Row row = new RowAVL(table, (Object[]) object, id); if (session != null) { RowAction action = new RowAction(session, table, RowAction.ACTION_INSERT, row, null);
101102103104105106107108109110111
synchronized (this) { id = rowIdSequence++; } Row row = new RowAVL(table, (Object[]) object, id, this); if (tx) { RowAction action = new RowAction(session, table, RowAction.ACTION_INSERT, row, null);
1427142814291430143114321433143414351436143714381439
if (x == null) { return null; } RowAVL row = x.getRow(store); x = row.getNode(position); NodeAVL temp = x.getRight(store); if (temp != null) { x = temp;
1509151015111512151315141515151615171518151915201521
if (x == null) { return null; } RowAVL row = x.getRow(store); x = row.getNode(position); NodeAVL temp = x.getLeft(store); if (temp != null) { x = temp;
207208209210211212213214215216217
if (isCached) { row = new RowAVLDisk(table, (Object[]) object, this); } else { int id = rowIdSequence++; row = new RowAVL(table, (Object[]) object, id, this); } add(session, row, tx); return row;
340341342343344345346347348349350351
if (node == null) { return null; } RowAVL row = (RowAVL) get(node.getRow(this), false); node = row.getNode(key.getPosition()); accessorList[key.getPosition()] = node; return node; }
555556557558559560561562563564565
setAccessor(index, null); RowIterator it = table.rowIterator(this); while (it.hasNext()) { RowAVL row = (RowAVL) it.getNextRow(); row.getNode(index.getPosition()).delete(); index.insert(session, this, row); } }
325326327328329330331332333334335336