|
Berkeley DB Java Edition version 2.0.90 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
DatabaseException
.
TupleBinding
for a Boolean
primitive
wrapper or a boolean
primitive.boolean
value into an entry buffer.
EntryBinding
that uses the entry's byte array as
the key or data object.TupleBinding
for a Byte
primitive
wrapper or a byte
primitive.byte
value into an entry buffer.
TupleBinding
for a Character
primitive
wrapper or a char
primitive.char
value into an entry buffer.
StoredIterator.close()
if it is a StoredIterator
.
Environment.checkpoint
.
CursorConfig.READ_UNCOMMITTED
to conform to ANSI
database isolation terminology.
LockMode.READ_UNCOMMITTED
to conform to ANSI
database isolation terminology.
StoredCollections.configuredCollection(java.util.Collection, com.sleepycat.je.CursorConfig)
in order to conform to ANSI database isolation
terminology. To obtain a dirty-read collection, pass
CursorConfig.READ_UNCOMMITTED
StoredCollections.configuredList(java.util.List, com.sleepycat.je.CursorConfig)
in
order to conform to ANSI database isolation terminology. To obtain a
dirty-read list, pass CursorConfig.READ_UNCOMMITTED
StoredCollections.configuredMap(java.util.Map, com.sleepycat.je.CursorConfig)
in
order to conform to ANSI database isolation terminology. To obtain a
dirty-read map, pass CursorConfig.READ_UNCOMMITTED
StoredCollections.configuredSet(java.util.Set, com.sleepycat.je.CursorConfig)
in
order to conform to ANSI database isolation terminology. To obtain a
dirty-read set, pass CursorConfig.READ_UNCOMMITTED
StoredCollections.configuredSortedMap(java.util.SortedMap, com.sleepycat.je.CursorConfig)
in order to conform to ANSI database isolation
terminology. To obtain a dirty-read map, pass
CursorConfig.READ_UNCOMMITTED
StoredCollections.configuredSortedSet(java.util.SortedSet, com.sleepycat.je.CursorConfig)
in order to conform to ANSI database isolation
terminology. To obtain a dirty-read set, pass
CursorConfig.READ_UNCOMMITTED
TupleBinding
for a Double
primitive
wrapper or a double
primitive.double
value into an entry buffer.
SecondaryCursor
for the same transaction as
the original cursor.
SecondaryCursor
.
boolean
value.
byte
value.
char
value.
double
value.
float
value.
int
value.
long
value.
TupleInput
key entry and
deserialized data entry objects.
TupleInput
entry.
TupleInput
key and data
entries.
short
value.
String
value.
Map.Entry.equals(java.lang.Object)
.
ExceptionWrapper.getCause()
method for exceptions that implement the
ExceptionWrapper
interface.TupleBinding
for a Float
primitive
wrapper or a float
primitive.float
value into an entry buffer.
delta
.
Environment.verify
and Database.verify
are configured to perform fine granularity consistency checking that
includes verifying in memory constructs.
Environment.openDatabase
method is configured
to create the database if it does not already exist.
Database.openSequence
method is configured
to create the sequence if it does not already exist.
run()
is called when a transaction is already active for
the current thread.
ExceptionWrapper.getCause()
.
IOExceptionWrapper.getCause()
.
RuntimeExceptionWrapper.getCause()
.
CursorConfig.getReadUncommitted()
to conform to ANSI
database isolation terminology.
TransactionConfig.getReadUncommitted()
to conform to ANSI
database isolation terminology.
Environment
handle for the database environment
underlying the Database
.
Environment.openDatabase
method is configured
to fail if the database already exists.
Database.openSequence
method is configured to
fail if the database already exists.
SecondaryKeyCreator
object for use in configuring
a SecondaryDatabase
.
Database
associated with this cursor.
Environment.verify
and Database.verify
are configured to print basic verification information to System.out.
Environment.verify
and Database.verify
are configured to propagate exceptions found during verification.
SecondaryDatabase
objects associated
with a primary database.
Environment.beginTransaction(com.sleepycat.je.Transaction, com.sleepycat.je.TransactionConfig)
.
Map.Entry.hashCode()
.
TupleBinding
for a Integer
primitive
wrapper or an int
primitive.int
value into an entry buffer.
StoredContainer.getCursorConfig()
.
CursorConfig.isReadUncommitted
may be called to determine
whether dirty-read is enabled.
DatabaseConfig.getReadUncommitted
may be
called.
JoinCursor
.TupleBinding
for a Long
primitive
wrapper or a long
primitive.long
value into an entry buffer.
Map.Entry
implementation that can be used as in
input parameter.TupleBase.getTupleOutput(java.lang.Object)
TupleBase.getTupleOutput(java.lang.Object)
Database
.
SecondaryCursor
.
SecondaryDatabase
.
Database.preload(long, long)
.
read() but does not throw
IOException
.
- readFast(byte[]) -
Method in class com.sleepycat.util.FastInputStream
- Equivalent to
read(byte[]) but does not throw
IOException
.
- readFast(byte[], int, int) -
Method in class com.sleepycat.util.FastInputStream
- Equivalent to
read(byte[],int,int) but does not throw
IOException
.
- readFloat() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed float (four byte) value from the buffer.
- readInt() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed int (four byte) value from the buffer.
- readLong() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed long (eight byte) value from the buffer.
- readShort() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a signed short (two byte) value from the buffer.
- readString() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads a null-terminated UTF string from the data buffer and converts
the data from UTF to Unicode.
- readString(int) -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads the specified number of UTF characters string from the data
buffer and converts the data from UTF to Unicode.
- readString(char[]) -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads the specified number of UTF characters string from the data
buffer and converts the data from UTF to Unicode.
- readUnsignedByte() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned byte (one byte) value from the buffer.
- readUnsignedInt() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned int (four byte) value from the buffer.
- readUnsignedShort() -
Method in class com.sleepycat.bind.tuple.TupleInput
- Reads an unsigned short (two byte) value from the buffer.
- recover(int) -
Method in class com.sleepycat.je.XAEnvironment
-
- remove(Object) -
Method in class com.sleepycat.collections.StoredEntrySet
- Removes the specified element from this set if it is present (optional
operation).
- remove() -
Method in class com.sleepycat.collections.StoredIterator
- Removes the last element that was returned by next or previous (optional
operation).
- remove(Object) -
Method in class com.sleepycat.collections.StoredKeySet
- Removes the specified key from this set if it is present (optional
operation).
- remove(Object) -
Method in class com.sleepycat.collections.StoredMap
- Removes the mapping for this key from this map if present (optional
operation).
- remove(Object) -
Method in class com.sleepycat.collections.StoredValueSet
- Removes the specified value from this set if it is present (optional
operation).
- removeAll(Collection) -
Method in class com.sleepycat.collections.StoredCollection
- Removes all this collection's elements that are also contained in the
specified collection (optional operation).
- removeDatabase(Transaction, String) -
Method in class com.sleepycat.je.Environment
- Remove a database.
- removeSequence(Transaction, DatabaseEntry) -
Method in class com.sleepycat.je.Database
- Remove the sequence from the database.
- renameDatabase(Transaction, String, String) -
Method in class com.sleepycat.je.Environment
- Rename a database.
- reset() -
Method in class com.sleepycat.util.FastInputStream
-
- reset() -
Method in class com.sleepycat.util.FastOutputStream
-
- retainAll(Collection) -
Method in class com.sleepycat.collections.StoredCollection
- Retains only the elements in this collection that are contained in the
specified collection (optional operation).
- RMW -
Static variable in class com.sleepycat.je.LockMode
- Acquire write locks instead of read locks when doing the retrieval.
- rollback(Xid) -
Method in class com.sleepycat.je.XAEnvironment
-
- run(TransactionWorker) -
Method in class com.sleepycat.collections.TransactionRunner
- Calls the
TransactionWorker.doWork()
method and, for transactional
environments, may begin and end a transaction.
- RunRecoveryException - Exception in com.sleepycat.je
- Thrown when the database environment needs to be recovered.
- RuntimeExceptionWrapper - Exception in com.sleepycat.util
- A RuntimeException that can contain nested exceptions.
- RuntimeExceptionWrapper(Throwable) -
Constructor for exception com.sleepycat.util.RuntimeExceptionWrapper
-
SecondaryDatabase
extend
those of a primary Database
.SecondaryDatabase
are created.EntryBinding
that treats a key or data entry as
a serialized object.ObjectInputStream
that gets class description
information from a ClassCatalog
.ObjectOutputStream
that stores class description
information in a ClassCatalog
.EntityBinding
that treats an entity's key entry and
data entry as serialized objects.Environment.verify
and Database.verify
to perform fine granularity consistency checking that includes
verifying in memory constructs.
Environment.openDatabase
method to create
the database if it does not already exist.
Database.openSequence
method to
create the sequence if it does not already exist.
run()
is called when a transaction is already active for
the current thread.
CursorConfig.setReadUncommitted(boolean)
to conform to ANSI
database isolation terminology.
TransactionConfig.setReadUncommitted(boolean)
to conform to ANSI
database isolation terminology.
Environment.openDatabase
method to fail if
the database already exists.
Database.openSequence
method to
fail if the database already exists.
Environment.openDatabase
method to have a
B+Tree duplicate tree fanout of nodeMaxDupTreeEntries.
Environment.openDatabase
method to have a
B+Tree fanout of nodeMaxEntries.
Environment.verify
and Database.verify
to print basic verification information to System.out.
Environment.verify
and Database.verify
to propagate exceptions found during verification.
SerialBase.getSerialOutput(java.lang.Object)
.
Environment.beginTransaction(com.sleepycat.je.Transaction, com.sleepycat.je.TransactionConfig)
.
TupleBase.getTupleOutput(java.lang.Object)
.
UnsupportedOperationException
since this
object is not attached to a map.
TupleBinding
for a Short
primitive
wrapper or a short
primitive.short
value into an entry buffer.
ClassCatalog
that is stored in a Database
.Database
.
Database
.Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
.Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
with a PrimaryKeyAssigner
.
Database
.
Database
.
Database
.
TupleBinding
for a simple String
value.String
value into an entry buffer.
TransactionWorker.doWork()
, and handles
transaction retry and exceptions.Environment.truncateDatabase(Transaction, String, boolean)
.
The Database class is thread safe and may be used concurrently by multiple threads, using multiple transactions. It was not possible to supply correct transactional semantics for this method in all cases without imposing a performance penalty on all operations. Specifically, a truncate operation executed within one transaction can be incorrectly seen before commit by other transactions if those later transactions use the same Database handle.
The replacement method, Environment.truncateDatabase(), avoids these issues because all Database handles must be closed before the truncateDatabase() method is called.
EntryBinding
that treats a key or data entry as a
tuple; it includes predefined bindings for Java primitive types.InputStream
with DataInput
-like methods for
reading tuple fields.EntryBinding
that uses the TupleInput
object as the key or data object.TupleBinding
that delegates to the
MarshalledTupleEntry
interface of the data or key object.OutputStream
with DataOutput
-like methods for
writing tuple fields.EntityBinding
that treats an entity's key entry as
a tuple and its data entry as a serialized object.TupleSerialBinding
that delegates to the
MarshalledTupleKeyEntity
interface of the entity class.TupleSerialMarshalledBinding
.EntityBinding
that treats an entity's key entry and
data entry as tuples.TupleTupleBinding
that delegates to the
MarshalledTupleEntry
and
MarshalledTupleKeyEntity
interfaces of the entity class.TupleTupleMarshalledBinding
.write(int) but does not throw
IOException
.
- writeFast(byte[]) -
Method in class com.sleepycat.util.FastOutputStream
- Equivalent to
write(byte[]) but does not throw
IOException
.
- writeFast(byte[], int, int) -
Method in class com.sleepycat.util.FastOutputStream
- Equivalent to
write(byte[],int,int) but does not throw
IOException
.
- writeFloat(float) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed float (four byte) value to the buffer.
- writeInt(int) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed int (four byte) value to the buffer.
- writeLong(long) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed long (eight byte) value to the buffer.
- writeShort(int) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an signed short (two byte) value to the buffer.
- writeString(String) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes the specified characters to the buffer, converting each character
to UTF format, and adding a null terminator byte.
- writeString(char[]) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes the specified characters to the buffer, converting each character
to UTF format.
- writeTo(OutputStream) -
Method in class com.sleepycat.util.FastOutputStream
-
- writeUnsignedByte(int) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned byte (one byte) value to the buffer.
- writeUnsignedInt(long) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned int (four byte) value to the buffer.
- writeUnsignedShort(int) -
Method in class com.sleepycat.bind.tuple.TupleOutput
- Writes an unsigned short (two byte) value to the buffer.
|
Berkeley DB Java Edition version 2.0.90 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |