public final class IndexCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static IndexCache |
create()
Returns the block manager, ensuring a minimum number of entries.
|
void |
delete(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Remove the index entry.
|
static IndexCache |
getCurrent() |
void |
insert(BTree btree,
byte[] buffer,
int offset,
int length,
long value,
DbTransaction xa)
Gets the index entry.
|
long |
lookup(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Gets the index entry.
|
public static IndexCache create()
public static IndexCache getCurrent()
public long lookup(BTree btree, byte[] buffer, int offset, int length, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public void insert(BTree btree, byte[] buffer, int offset, int length, long value, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public void delete(BTree btree, byte[] buffer, int offset, int length, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException