@Override public boolean storeNoLock(long indexId, byte[] key, byte[] value) throws IOException { Index ix = openIndex(indexId); if (ix != null) { ix.store(Transaction.BOGUS, key, value); } return true; }
@Override public boolean storeNoLock(long indexId, byte[] key, byte[] value) throws IOException { Index ix = openIndex(indexId); if (ix != null) { ix.store(Transaction.BOGUS, key, value); } return true; }
@Override public boolean storeNoLock(long indexId, byte[] key, byte[] value) throws IOException { Index ix = openIndex(indexId); if (ix != null) { ix.store(Transaction.BOGUS, key, value); } return true; }
@Override public boolean renameIndex(long txnId, long indexId, byte[] newName) throws IOException { checkHighest(txnId); Index ix = openIndex(indexId); if (ix != null) { mDatabase.renameIndex(ix, newName, txnId); } return true; }
@Override public boolean txnStore(long txnId, long indexId, byte[] key, byte[] value) throws IOException { Transaction txn = txn(txnId); if (txn != null) { Index ix = openIndex(indexId); if (ix != null) { ix.store(txn, key, value); } } return true; }
@Override public boolean renameIndex(long txnId, long indexId, byte[] newName) throws IOException { checkHighest(txnId); Index ix = openIndex(indexId); if (ix != null) { mDatabase.renameIndex(ix, newName, txnId); } return true; }
@Override public boolean renameIndex(long txnId, long indexId, byte[] newName) throws IOException { checkHighest(txnId); Index ix = openIndex(indexId); if (ix != null) { mDatabase.renameIndex(ix, newName, txnId); } return true; }
@Override public boolean txnStore(long txnId, long indexId, byte[] key, byte[] value) throws IOException { Transaction txn = txn(txnId); if (txn != null) { Index ix = openIndex(indexId); if (ix != null) { ix.store(txn, key, value); } } return true; }
@Override public boolean txnStore(long txnId, long indexId, byte[] key, byte[] value) throws IOException { Transaction txn = txn(txnId); if (txn != null) { Index ix = openIndex(indexId); if (ix != null) { ix.store(txn, key, value); } } return true; }
@Override public boolean cursorRegister(long cursorId, long indexId) throws IOException { Index ix = openIndex(indexId); if (ix != null) { TreeCursor c = (TreeCursor) ix.newCursor(Transaction.BOGUS); c.autoload(false); mCursors.insert(cursorId).value = c; } return true; }