| Package | Description |
|---|---|
| com.sleepycat.bind |
Bindings between database entries and Java objects.
|
| com.sleepycat.bind.serial |
Bindings that use Java serialization.
|
| com.sleepycat.bind.tuple |
Bindings that use sequences of primitive fields, or tuples.
|
| com.sleepycat.collections |
Data access based on the standard Java collections API.
|
| com.sleepycat.compat |
INTERNAL: BDB/JE compatibility layer for bind, collections, DPL packages.
|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.cleaner |
INTERNAL: disk garbage collection.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.je.log.entry |
INTERNAL: Classes for serializing/materializing log entries.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.vlsn |
INTERNAL: VLSN index (in-memory and persistent) for mapping VLSNs to LSNs.
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.trigger |
NOT YET RELEASED: Triggers provide a mechanism for automatically executing one
or more application defined trigger methods whenever a certain type of
operation is performed.
|
| com.sleepycat.je.utilint |
INTERNAL: Misc utility classes, including some stat classes.
|
| com.sleepycat.persist.impl |
INTERNAL: Direct Persistence Layer (DPL) implementation.
|
| com.sleepycat.util.keyrange |
INTERNAL: Key range cursor operations for use in collections API and DPL.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ByteArrayBinding.entryToObject(DatabaseEntry entry) |
Long |
RecordNumberBinding.entryToObject(DatabaseEntry entry) |
E |
EntryBinding.entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object.
|
E |
EntityBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data)
Converts key and data entry buffers into an entity Object.
|
static long |
RecordNumberBinding.entryToRecordNumber(DatabaseEntry entry)
Utility method for use by bindings to translate a entry buffer to an
record number integer.
|
void |
EntityBinding.objectToData(E object,
DatabaseEntry data)
Extracts the data entry from an entity Object.
|
void |
ByteArrayBinding.objectToEntry(byte[] object,
DatabaseEntry entry) |
void |
EntryBinding.objectToEntry(E object,
DatabaseEntry entry)
Converts an Object into a entry buffer.
|
void |
RecordNumberBinding.objectToEntry(Object object,
DatabaseEntry entry) |
void |
EntityBinding.objectToKey(E object,
DatabaseEntry key)
Extracts the key entry from an entity Object.
|
static void |
RecordNumberBinding.recordNumberToEntry(long recordNumber,
DatabaseEntry entry)
Utility method for use by bindings to translate a record number integer
to a entry buffer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TupleSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
DatabaseEntry primaryKeyEntry,
DatabaseEntry dataEntry,
DatabaseEntry indexKeyEntry) |
boolean |
SerialSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
DatabaseEntry primaryKeyEntry,
DatabaseEntry dataEntry,
DatabaseEntry indexKeyEntry) |
E |
SerialBinding.entryToObject(DatabaseEntry entry)
Deserialize an object from an entry buffer.
|
E |
SerialSerialBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
E |
TupleSerialBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
boolean |
TupleSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
DatabaseEntry dataEntry) |
boolean |
SerialSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
DatabaseEntry dataEntry) |
void |
SerialSerialBinding.objectToData(E object,
DatabaseEntry data) |
void |
TupleSerialBinding.objectToData(E object,
DatabaseEntry data) |
void |
SerialBinding.objectToEntry(E object,
DatabaseEntry entry)
Serialize an object into an entry buffer.
|
void |
SerialSerialBinding.objectToKey(E object,
DatabaseEntry key) |
void |
TupleSerialBinding.objectToKey(E object,
DatabaseEntry key) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SortedBigDecimalBinding.bigDecimalToEntry(BigDecimal val,
DatabaseEntry entry)
Converts a
BigDecimal value into an entry buffer. |
static void |
BigDecimalBinding.bigDecimalToEntry(BigDecimal val,
DatabaseEntry entry)
Converts a
BigDecimal value into an entry buffer. |
static void |
BigIntegerBinding.bigIntegerToEntry(BigInteger val,
DatabaseEntry entry)
Converts a
BigInteger value into an entry buffer. |
static void |
BooleanBinding.booleanToEntry(boolean val,
DatabaseEntry entry)
Converts a simple
boolean value into an entry buffer. |
static void |
ByteBinding.byteToEntry(byte val,
DatabaseEntry entry)
Converts a simple
byte value into an entry buffer. |
static void |
CharacterBinding.charToEntry(char val,
DatabaseEntry entry)
Converts a simple
char value into an entry buffer. |
boolean |
TupleTupleKeyCreator.createSecondaryKey(SecondaryDatabase db,
DatabaseEntry primaryKeyEntry,
DatabaseEntry dataEntry,
DatabaseEntry indexKeyEntry) |
static void |
DoubleBinding.doubleToEntry(double val,
DatabaseEntry entry)
Converts a simple
double value into an entry buffer. |
static void |
SortedDoubleBinding.doubleToEntry(double val,
DatabaseEntry entry)
Converts a simple
double value into an entry buffer. |
static BigDecimal |
SortedBigDecimalBinding.entryToBigDecimal(DatabaseEntry entry)
Converts an entry buffer into a
BigDecimal value. |
static BigDecimal |
BigDecimalBinding.entryToBigDecimal(DatabaseEntry entry)
Converts an entry buffer into a
BigDecimal value. |
static BigInteger |
BigIntegerBinding.entryToBigInteger(DatabaseEntry entry)
Converts an entry buffer into a
BigInteger value. |
static boolean |
BooleanBinding.entryToBoolean(DatabaseEntry entry)
Converts an entry buffer into a simple
boolean value. |
static byte |
ByteBinding.entryToByte(DatabaseEntry entry)
Converts an entry buffer into a simple
byte value. |
static char |
CharacterBinding.entryToChar(DatabaseEntry entry)
Converts an entry buffer into a simple
char value. |
static double |
DoubleBinding.entryToDouble(DatabaseEntry entry)
Converts an entry buffer into a simple
double value. |
static double |
SortedDoubleBinding.entryToDouble(DatabaseEntry entry)
Converts an entry buffer into a simple
double value. |
static float |
SortedFloatBinding.entryToFloat(DatabaseEntry entry)
Converts an entry buffer into a simple
float value. |
static float |
FloatBinding.entryToFloat(DatabaseEntry entry)
Converts an entry buffer into a simple
float value. |
static TupleInput |
TupleBase.entryToInput(DatabaseEntry entry)
Utility method to create a new tuple input object for reading the data
from a given buffer.
|
static int |
SortedPackedIntegerBinding.entryToInt(DatabaseEntry entry)
Converts an entry buffer into a simple
int value. |
static int |
IntegerBinding.entryToInt(DatabaseEntry entry)
Converts an entry buffer into a simple
int value. |
static int |
PackedIntegerBinding.entryToInt(DatabaseEntry entry)
Converts an entry buffer into a simple
int value. |
static long |
LongBinding.entryToLong(DatabaseEntry entry)
Converts an entry buffer into a simple
long value. |
static Long |
PackedLongBinding.entryToLong(DatabaseEntry entry)
Converts an entry buffer into a simple
Long value. |
static Long |
SortedPackedLongBinding.entryToLong(DatabaseEntry entry)
Converts an entry buffer into a simple
Long value. |
TupleInput |
TupleInputBinding.entryToObject(DatabaseEntry entry) |
E |
TupleBinding.entryToObject(DatabaseEntry entry) |
E |
TupleTupleBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
static short |
ShortBinding.entryToShort(DatabaseEntry entry)
Converts an entry buffer into a simple
short value. |
static String |
StringBinding.entryToString(DatabaseEntry entry)
Converts an entry buffer into a simple
String value. |
static void |
SortedFloatBinding.floatToEntry(float val,
DatabaseEntry entry)
Converts a simple
float value into an entry buffer. |
static void |
FloatBinding.floatToEntry(float val,
DatabaseEntry entry)
Converts a simple
float value into an entry buffer. |
static void |
TupleBase.inputToEntry(TupleInput input,
DatabaseEntry entry)
Utility method to set the data in a entry buffer to the data in a tuple
input object.
|
static void |
SortedPackedIntegerBinding.intToEntry(int val,
DatabaseEntry entry)
Converts a simple
int value into an entry buffer, using
SortedPackedInteger format. |
static void |
IntegerBinding.intToEntry(int val,
DatabaseEntry entry)
Converts a simple
int value into an entry buffer. |
static void |
PackedIntegerBinding.intToEntry(int val,
DatabaseEntry entry)
Converts a simple
int value into an entry buffer, using
PackedInteger format. |
static void |
LongBinding.longToEntry(long val,
DatabaseEntry entry)
Converts a simple
long value into an entry buffer. |
static void |
PackedLongBinding.longToEntry(long val,
DatabaseEntry entry)
Converts a simple
Long value into an entry buffer, using
PackedLong format. |
static void |
SortedPackedLongBinding.longToEntry(long val,
DatabaseEntry entry)
Converts a simple
Long value into an entry buffer, using
SortedPackedLong format. |
boolean |
TupleTupleKeyCreator.nullifyForeignKey(SecondaryDatabase db,
DatabaseEntry dataEntry) |
void |
TupleTupleBinding.objectToData(E object,
DatabaseEntry data) |
void |
TupleBinding.objectToEntry(E object,
DatabaseEntry entry) |
void |
TupleInputBinding.objectToEntry(TupleInput object,
DatabaseEntry entry) |
void |
TupleTupleBinding.objectToKey(E object,
DatabaseEntry key) |
static void |
TupleBase.outputToEntry(TupleOutput output,
DatabaseEntry entry)
Utility method to set the data in a entry buffer to the data in a tuple
output object.
|
static void |
ShortBinding.shortToEntry(short val,
DatabaseEntry entry)
Converts a simple
short value into an entry buffer. |
static void |
StringBinding.stringToEntry(String val,
DatabaseEntry entry)
Converts a simple
String value into an entry buffer. |
| Modifier and Type | Method and Description |
|---|---|
void |
PrimaryKeyAssigner.assignKey(DatabaseEntry keyData)
Assigns a new primary key value into the given buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationStatus |
DbCompat.append(Database db,
Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
static OperationStatus |
DbCompat.getCurrentRecordNumber(Cursor cursor,
DatabaseEntry key,
LockMode lockMode) |
static int |
DbCompat.getRecordNumber(DatabaseEntry entry) |
static OperationStatus |
DbCompat.getSearchRecordNumber(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
static OperationStatus |
DbCompat.getSearchRecordNumber(SecondaryCursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode) |
static OperationStatus |
DbCompat.putAfter(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data) |
static OperationStatus |
DbCompat.putBefore(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data) |
static void |
DbCompat.setRecordNumber(DatabaseEntry entry,
int recNum) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseEntry |
Sequence.getKey()
Returns the DatabaseEntry used to open this sequence.
|
DatabaseEntry |
SecondaryReferenceException.getPrimaryKey()
Returns the primary key being accessed during the failure.
|
DatabaseEntry |
SecondaryReferenceException.getSecondaryKey()
Returns the secondary key being accessed during the failure.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DbInternal.advanceCursor(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data)
Proxy to Cursor.advanceCursor()
|
int |
Database.compareDuplicates(DatabaseEntry entry1,
DatabaseEntry entry2)
Compares two data elements using either the default comparator if no
duplicate comparator has been set or the duplicate comparator if one has
been set.
|
int |
Database.compareKeys(DatabaseEntry entry1,
DatabaseEntry entry2)
Compares two keys using either the default comparator if no BTree
comparator has been set or the BTree comparator if one has been set.
|
boolean |
SecondaryKeyCreator.createSecondaryKey(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
DatabaseEntry result)
Creates a secondary key entry, given a primary key and data entry.
|
void |
SecondaryMultiKeyCreator.createSecondaryKeys(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
Set<DatabaseEntry> results)
Creates a secondary key entry, given a primary key and data entry.
|
OperationStatus |
SecondaryDatabase.delete(Transaction txn,
DatabaseEntry key)
Deletes the record associated with the given secondary key.
|
OperationStatus |
Database.delete(Transaction txn,
DatabaseEntry key)
Removes records with a given key from the database.
|
OperationResult |
SecondaryDatabase.delete(Transaction txn,
DatabaseEntry key,
WriteOptions options)
Deletes the record associated with the given secondary key.
|
OperationResult |
Database.delete(Transaction txn,
DatabaseEntry key,
WriteOptions options)
Removes records with a given key from the database.
|
boolean |
SecondaryDatabase.deleteObsoletePrimaryKeys(DatabaseEntry key,
DatabaseEntry data,
int batchSize) |
long |
Environment.discardExtinctRecords(@Nullable Transaction txn,
@NonNull Set<String> dbNames,
@Nullable DatabaseEntry inclusiveBeginKey,
@Nullable DatabaseEntry exclusiveEndKey,
@Nullable ScanFilter scanFilter,
@Nullable String label)
Initiates asynchronous discarding of the specified extinct records.
|
long |
Environment.discardExtinctRecords(@Nullable Transaction txn,
@NonNull Set<String> dbNames,
@Nullable DatabaseEntry inclusiveBeginKey,
@Nullable DatabaseEntry exclusiveEndKey,
@Nullable ScanFilter scanFilter,
@Nullable String label)
Initiates asynchronous discarding of the specified extinct records.
|
OperationResult |
SecondaryCursor.get(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
JoinCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Returns the next primary key and data resulting from the join operation.
|
OperationResult |
DiskOrderedCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options) |
OperationResult |
SecondaryCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
ForwardCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
Cursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
Get getType,
ReadOptions options)
Retrieves a record according to the specified
Get type. |
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key.
|
OperationResult |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Retrieves a record according to the specified
Get type. |
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key.
|
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
JoinCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed on a join cursor.
|
OperationStatus |
DiskOrderedCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
ForwardCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
Cursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the first key/data pair of the database, and return
that pair.
|
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns
that pair.
|
OperationStatus |
Cursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns
that pair.
|
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the last key/data pair of the database, and return
that pair.
|
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns
that pair.
|
OperationStatus |
Cursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns
that pair.
|
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the next key/data pair and return that pair.
|
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the next primary key and data resulting from the join operation.
|
OperationStatus |
DiskOrderedCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
ForwardCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
Cursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
LockMode lockMode)
Returns the next primary key resulting from the join operation.
|
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for
the current key/data pair, move the cursor to the next key/data pair of
the database and return that pair.
|
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for
the current key/data pair, moves the cursor to the next key/data pair of
the database and returns that pair.
|
OperationStatus |
Cursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for
the current key/data pair, moves the cursor to the next key/data pair of
the database and returns that pair.
|
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the next non-duplicate key/data pair and return that
pair.
|
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
Cursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the previous key/data pair and return that pair.
|
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair.
|
OperationStatus |
Cursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair.
|
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, move the cursor to the previous key/data
pair of the database and return that pair.
|
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, moves the cursor to the previous key/data
pair of the database and returns that pair.
|
OperationStatus |
Cursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, moves the cursor to the previous key/data
pair of the database and returns that pair.
|
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the previous non-duplicate key/data pair and return
that pair.
|
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
Cursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns
that pair.
|
Database |
SecondaryAssociation.getPrimary(DatabaseEntry primaryKey)
Returns the primary database for the given primary key.
|
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the specified secondary and primary key, where both
the primary and secondary key items must match.
|
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
Cursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key/data pair, where both the key and
data items must match.
|
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the specified secondary and primary
key, that is, both the primary and secondary key items must match.
|
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
Database.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key and data value, that is,
both the key and data items must match.
|
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the specified secondary key and closest matching
primary key of the database.
|
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
Cursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key and closest matching data item of
the database.
|
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the given key of the database, and return the datum
associated with the given key.
|
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum
associated with the given key.
|
OperationStatus |
Cursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum
associated with the given key.
|
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the closest matching key of the database, and return
the data item associated with the matching key.
|
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and
returns the data item associated with the matching key.
|
OperationStatus |
Cursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and
returns the data item associated with the matching key.
|
Collection<SecondaryDatabase> |
SecondaryAssociation.getSecondaries(DatabaseEntry primaryKey)
Returns the secondary databases associated with the given primary key.
|
boolean |
ForeignKeyNullifier.nullifyForeignKey(SecondaryDatabase secondary,
DatabaseEntry data)
Sets the foreign key reference to null in the datum of the primary
database.
|
boolean |
ForeignMultiKeyNullifier.nullifyForeignKey(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
DatabaseEntry secKey)
Sets the foreign key reference to null in the datum of the primary
database.
|
Sequence |
Database.openSequence(Transaction txn,
DatabaseEntry key,
SequenceConfig config)
Opens a sequence in the database.
|
void |
SecondaryDatabase.populateSecondaries(Transaction txn,
DatabaseEntry key,
DatabaseEntry data) |
void |
Database.populateSecondaries(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Deprecated.
|
void |
SecondaryDatabase.populateSecondaries(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
long expirationTime,
CacheMode cacheMode) |
void |
Database.populateSecondaries(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
long expirationTime,
CacheMode cacheMode) |
static OperationResult |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
OperationStatus |
SecondaryCursor.put(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary cursor.
|
OperationStatus |
Cursor.put(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationResult |
SecondaryCursor.put(DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
This operation is not allowed on a secondary cursor.
|
OperationResult |
Cursor.put(DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
Inserts or updates a record according to the specified
Put
type. |
OperationStatus |
SecondaryDatabase.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database.
|
OperationResult |
SecondaryDatabase.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
This operation is not allowed on a secondary database.
|
OperationResult |
Database.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
Inserts or updates a record according to the specified
Put
type. |
OperationStatus |
SecondaryCursor.putCurrent(DatabaseEntry data)
This operation is not allowed on a secondary cursor.
|
OperationStatus |
Cursor.putCurrent(DatabaseEntry data)
Replaces the data in the key/data pair at the current cursor position.
|
static OperationResult |
DbInternal.putForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LN ln,
int expiration,
boolean expirationInHours,
PutMode putMode,
ReplicationContext repContext)
Proxy to Cursor.putForReplay()
|
OperationStatus |
SecondaryCursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary cursor.
|
OperationStatus |
Cursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryDatabase.putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database if it does not already appear
in the database.
|
OperationStatus |
SecondaryCursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary cursor.
|
OperationStatus |
Cursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryDatabase.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database if the key does not already
appear in the database.
|
static OperationResult |
DbInternal.putWithRepContext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
PutMode putMode,
ReplicationContext repContext)
Proxy to Cursor.putWithRepContext()
|
static boolean |
DbInternal.readPrimaryAfterGet(Cursor cursor,
Database priDb,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode,
boolean secDirtyRead,
boolean lockPrimaryOnly,
boolean allowNoData,
Locker locker,
SecondaryDatabase secDb,
SecondaryAssociation secAssoc)
Proxy to Cursor.readPrimaryAfterGet
|
void |
Database.removeSequence(Transaction txn,
DatabaseEntry key)
Removes the sequence from the database.
|
static OperationResult |
DbInternal.retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
GetMode getMode)
Proxy to Cursor.retrieveNext().
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Deprecated.
use new-style API below instead.
|
static OperationResult |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
ReadOptions options)
Finds the key according to the Search param.
|
static OperationResult |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
CacheMode cacheMode,
SearchMode searchMode,
boolean countOpStat)
Proxy to Cursor.search().
|
static OperationStatus |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Deprecated.
use new-style API below instead.
|
static OperationResult |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
ReadOptions options)
Searches with the dups for the given key and finds the dup matching the
pKey value, according to the Search param.
|
static OperationResult |
DbInternal.searchForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
SearchMode searchMode)
Proxy to Cursor.searchForReplay().
|
long |
Cursor.skipNext(long maxCount,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Skips forward a given number of key/data pairs and returns the number by
which the cursor is moved.
|
long |
Cursor.skipPrev(long maxCount,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Skips backward a given number of key/data pairs and returns the number
by which the cursor is moved.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecondaryMultiKeyCreator.createSecondaryKeys(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
Set<DatabaseEntry> results)
Creates a secondary key entry, given a primary key and data entry.
|
| Constructor and Description |
|---|
DeleteConstraintException(Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
ForeignConstraintException(Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
SecondaryConstraintException(Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
SecondaryIntegrityException(Database secDb,
Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
SecondaryReferenceException(Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
UniqueConstraintException(Locker locker,
String message,
String secDbName,
String priDbName,
DatabaseEntry secKey,
DatabaseEntry priKey,
long priLsn,
long expirationTime,
ExtinctionFilter.ExtinctionStatus extinctionStatus)
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
long |
ExtinctionScanner.discardExtinctRecords(@NonNull Locker locker,
@NonNull Set<String> dbNames,
@Nullable DatabaseEntry beginKey,
@Nullable DatabaseEntry endKey,
@Nullable ScanFilter filter,
@NonNull String label)
Inserts the scan record in the DB and queues the scan for execution.
|
long |
ExtinctionScanner.discardExtinctRecords(@NonNull Locker locker,
@NonNull Set<String> dbNames,
@Nullable DatabaseEntry beginKey,
@Nullable DatabaseEntry endKey,
@Nullable ScanFilter filter,
@NonNull String label)
Inserts the scan record in the DB and queues the scan for execution.
|
static Long |
ReservedFileInfo.entryToKey(DatabaseEntry entry) |
static ReservedFileInfo |
ReservedFileInfo.entryToObject(DatabaseEntry entry) |
static void |
ReservedFileInfo.keyToEntry(Long key,
DatabaseEntry entry) |
static long |
ExtinctionScanner.materializeKey(DatabaseEntry keyEntry) |
static void |
ReservedFileInfo.objectToEntry(ReservedFileInfo info,
DatabaseEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseEntry |
DupKeyData.combine(DatabaseEntry paramKey,
DatabaseEntry paramData)
Returns twoPartKey as:
paramKey bytes,
paramData bytes,
reverse-packed len of paramKey bytes.
|
static DatabaseEntry |
DupKeyData.removeData(byte[] twoPartKey)
Splits twoPartKey and returns a two-part key entry containing the key
portion from twoPartKey, no data, and the special PREFIX_ONLY value for
the key length.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CursorImpl.advanceCursor(DatabaseEntry key,
DatabaseEntry data)
Advance a cursor.
|
static DatabaseEntry |
DupKeyData.combine(DatabaseEntry paramKey,
DatabaseEntry paramData)
Returns twoPartKey as:
paramKey bytes,
paramData bytes,
reverse-packed len of paramKey bytes.
|
int |
DatabaseImpl.compareEntries(DatabaseEntry entry1,
DatabaseEntry entry2,
boolean duplicates) |
OperationResult |
MetadataStore.get(String key,
DatabaseEntry data) |
OperationResult |
DiskOrderedCursorImpl.getCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData) |
OperationResult |
CursorImpl.getCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData)
Copy current record into the key and data DatabaseEntry.
|
static ExtinctionFilter.ExtinctionStatus |
EnvironmentImpl.getExtinctionStatus(DatabaseImpl priDb,
DatabaseEntry priKey)
Returns the extinction status for the purpose of adding to an
exception message.
|
OperationResult |
DiskOrderedCursorImpl.getNext(DatabaseEntry foundKey,
DatabaseEntry foundData) |
OperationResult |
CursorImpl.getNext(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType,
boolean dirtyReadAll,
boolean forward,
boolean isLatched,
RangeConstraint rangeConstraint)
Move the cursor forward and return the next "valid" record.
|
OperationResult |
CursorImpl.insertOrUpdateRecord(DatabaseEntry key,
DatabaseEntry data,
LN ln,
ExpirationInfo expInfo,
PutMode putMode,
DatabaseEntry returnOldData,
DatabaseEntry returnNewData,
ReplicationContext repContext)
Insert or update a given record.
|
OperationResult |
CursorImpl.lockAndGetCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType)
Lock and copy current record into the key and data DatabaseEntry.
|
OperationResult |
CursorImpl.lockAndGetCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType,
boolean dirtyReadAll,
boolean isLatched,
boolean unlatch)
Let S be the slot where this cursor is currently positioned on.
|
void |
CursorImpl.lockNextKeyForInsert(DatabaseEntry key)
Search for the next key following the given key, and acquire a range
insert lock on it.
|
OperationResult |
MetadataStore.put(String key,
DatabaseEntry data) |
static void |
TriggerManager.runDeleteTriggers(Locker locker,
DatabaseImpl dbImpl,
DatabaseEntry key,
DatabaseEntry oldData)
Invokes the trigger methods associated with a delete operation.
|
static void |
TriggerManager.runPutTriggers(Locker locker,
DatabaseImpl dbImpl,
DatabaseEntry key,
DatabaseEntry oldData,
DatabaseEntry newData)
Invokes the trigger methods associated with a put operation.
|
boolean |
CursorImpl.searchExact(DatabaseEntry searchKey,
LockType lockType) |
CursorImpl.LockStanding |
CursorImpl.searchExact(DatabaseEntry searchKey,
LockType lockType,
boolean dirtyReadAll,
boolean dataRequested)
Position this cursor on the slot (if any) whose key matches the given
search key.
|
int |
CursorImpl.searchRange(DatabaseEntry searchKey,
Comparator<byte[]> comparator)
Position this cursor on the slot whose key is the max key less or equal
to the given search key.
|
static void |
DupKeyData.split(byte[] twoPartKey,
int twoPartKeySize,
DatabaseEntry paramKey,
DatabaseEntry paramData)
Same as split method above, but with twoPartKey/twoPartKeySize byte
array and array size params.
|
static void |
DupKeyData.split(DatabaseEntry twoPartKey,
DatabaseEntry paramKey,
DatabaseEntry paramData)
Splits twoPartKey, previously set by combine, into original paramKey and
paramData if they are non-null.
|
OperationResult |
CursorImpl.updateCurrentRecord(DatabaseEntry key,
DatabaseEntry data,
ExpirationInfo expInfo,
DatabaseEntry returnOldData,
DatabaseEntry returnNewData,
ReplicationContext repContext)
Modify the current record with the given data, and optionally replace
the key.
|
boolean |
CursorImpl.WithCursor.withCursor(CursorImpl cursor,
DatabaseEntry key,
DatabaseEntry data)
Called for each record in the dbImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LNLogEntry.getUserKeyData(DatabaseEntry keyParam,
DatabaseEntry dataParam)
Translates two-part keys in duplicate DBs back to the original user
operation params.
|
| Modifier and Type | Field and Description |
|---|---|
static DatabaseEntry |
RepGroupDB.groupKeyEntry |
| Modifier and Type | Method and Description |
|---|---|
static VLSNBucket |
VLSNBucket.readFromDatabase(DatabaseEntry data)
Instantiate this from the database.
|
static VLSNRange |
VLSNRange.readFromDatabase(DatabaseEntry data) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Key.compareKeys(DatabaseEntry entry1,
DatabaseEntry entry2,
Comparator<byte[]> comparator)
Compare keys with an optional comparator.
|
static byte[] |
LN.copyEntryData(DatabaseEntry entry)
Returns a byte array that is a complete copy of the data in a
non-partial entry.
|
static byte[] |
Key.makeKey(DatabaseEntry dbt) |
static LN |
LN.makeLN(EnvironmentImpl envImpl,
DatabaseEntry dbt)
Create a new LN from a DatabaseEntry.
|
static byte[] |
LN.resolvePartialEntry(DatabaseEntry entry,
byte[] foundDataBytes)
Merges the partial entry with the given byte array, effectively applying
a partial entry to an existing record, and returns a enw byte array.
|
void |
LN.setEntry(DatabaseEntry entry)
Copies the non-deleted LN's byte array to the entry.
|
static void |
LN.setEntry(DatabaseEntry dest,
byte[] bytes)
Copies the given byte array to the given destination entry, copying only
partial data if the entry is specified to be partial.
|
static void |
LN.setEntry(DatabaseEntry dest,
DatabaseEntry src)
Copies the given source entry to the given destination entry, copying
only partial data if the destination entry is specified to be partial.
|
| Constructor and Description |
|---|
LN(SizeofMarker marker,
DatabaseEntry dbt)
For Sizeof.
|
VersionedLN(SizeofMarker marker,
DatabaseEntry dbt)
For Sizeof.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Trigger.delete(Transaction txn,
DatabaseEntry key,
DatabaseEntry oldData)
The trigger method invoked after a successful delete, that is, one that
actually resulted in a key/value pair being removed.
|
void |
Trigger.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry oldData,
DatabaseEntry newData)
The trigger method invoked after a successful put, that is, one that
actually results in a modification to the database.
|
void |
ReplicatedDatabaseTrigger.repeatDelete(Transaction txn,
DatabaseEntry key)
The trigger method invoked when a database delete trigger needs to be
repeated.
|
void |
ReplicatedDatabaseTrigger.repeatPut(Transaction txn,
DatabaseEntry key,
DatabaseEntry newData)
The trigger method invoked when a database put trigger needs to be
repeated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DatabaseUtil.checkForNullDbt(DatabaseEntry entry,
String name,
boolean checkData)
Throw an exception if the entry is null or the data field is not set.
|
static void |
DatabaseUtil.checkForPartial(DatabaseEntry entry,
String name)
Throw an exception if the entry has the partial flag set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PersistKeyAssigner.assignPrimaryKey(Object entity,
DatabaseEntry key) |
boolean |
PersistKeyCreator.createSecondaryKey(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
DatabaseEntry result) |
void |
PersistKeyCreator.createSecondaryKeys(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
Set results) |
Object |
PersistKeyBinding.entryToObject(DatabaseEntry entry) |
Object |
PersistEntityBinding.entryToObject(DatabaseEntry key,
DatabaseEntry data) |
Object |
PersistEntityBinding.entryToObjectWithPriKey(Object priKey,
DatabaseEntry data)
This method will be used in PrimaryIndex.get, where the primary key is
known to DPL.
|
boolean |
PersistKeyCreator.nullifyForeignKey(SecondaryDatabase secondary,
DatabaseEntry key,
DatabaseEntry data,
DatabaseEntry secKey) |
void |
PersistEntityBinding.objectToData(Object entity,
DatabaseEntry data) |
void |
PersistKeyBinding.objectToEntry(Object object,
DatabaseEntry entry) |
void |
PersistEntityBinding.objectToKey(Object entity,
DatabaseEntry key) |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseEntry |
KeyRange.copy(DatabaseEntry from)
Returns a copy of an entry.
|
DatabaseEntry |
KeyRange.getSingleKey()
Returns the key of a single-key range, or null if not a single-key
range.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
KeyRange.check(DatabaseEntry key)
Returns whether a given key is within range.
|
boolean |
KeyRange.check(DatabaseEntry key,
boolean inclusive)
Returns whether a given key is within range.
|
boolean |
KeyRange.checkBegin(DatabaseEntry key,
boolean inclusive)
Returns whether the given key is within range with respect to the
beginning of the range.
|
boolean |
KeyRange.checkEnd(DatabaseEntry key,
boolean inclusive)
Returns whether the given key is within range with respect to the
end of the range.
|
int |
KeyRange.compare(DatabaseEntry key1,
DatabaseEntry key2)
Compares two keys, using the user comparator if there is one.
|
static DatabaseEntry |
KeyRange.copy(DatabaseEntry from)
Returns a copy of an entry.
|
static void |
KeyRange.copy(DatabaseEntry from,
DatabaseEntry to)
Copies one entry to another.
|
static boolean |
KeyRange.equalBytes(DatabaseEntry e1,
DatabaseEntry e2)
Returns the two DatabaseEntry objects have the same data value.
|
static byte[] |
KeyRange.getByteArray(DatabaseEntry entry)
Returns an entry's byte array, copying it if the entry offset is
non-zero.
|
static byte[] |
KeyRange.getByteArray(DatabaseEntry entry,
int maxBytes) |
DbCompat.OpResult |
RangeCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getFirst(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getLast(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options)
This method will restart the operation when a key range is used and an
insertion at the end of the key range is performed in another thread.
|
DbCompat.OpResult |
RangeCursor.getNext(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getNextDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getPrev(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
DbCompat.OpResult |
RangeCursor.getSearchRecordNumber(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbCompat.OpReadOptions options) |
OperationStatus |
RangeCursor.put(DatabaseEntry key,
DatabaseEntry data) |
OperationStatus |
RangeCursor.putAfter(DatabaseEntry key,
DatabaseEntry data) |
OperationStatus |
RangeCursor.putBefore(DatabaseEntry key,
DatabaseEntry data) |
OperationStatus |
RangeCursor.putCurrent(DatabaseEntry data) |
OperationStatus |
RangeCursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data) |
OperationStatus |
RangeCursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data) |
KeyRange |
KeyRange.subRange(DatabaseEntry key)
Creates a range for a single key.
|
KeyRange |
KeyRange.subRange(DatabaseEntry beginKey,
boolean beginInclusive,
DatabaseEntry endKey,
boolean endInclusive)
Creates a range that is the intersection of this range and the given
range parameters.
|
static String |
KeyRange.toString(DatabaseEntry dbt)
Converts the byte array of this thang to space-separated integers,
and suffixed by the record number if applicable.
|
Copyright © 2024. All rights reserved.