A B C D E F G I K L M N O P R S T V 
All Classes All Packages

A

abort() - Method in class org.lmdbjava.Txn
Aborts this transaction.
all() - Static method in class org.lmdbjava.KeyRange
Create a KeyRangeType.FORWARD_ALL range.
allBackward() - Static method in class org.lmdbjava.KeyRange
allocate() - Method in class org.lmdbjava.BufferProxy
Allocate a new buffer suitable for passing to BufferProxy.out(java.lang.Object, jnr.ffi.Pointer, long).
allocate() - Method in class org.lmdbjava.ByteArrayProxy
 
allocate() - Method in class org.lmdbjava.ByteBufProxy
 
allocate() - Method in class org.lmdbjava.DirectBufferProxy
 
AlreadyClosedException() - Constructor for exception org.lmdbjava.Env.AlreadyClosedException
Creates a new instance.
AlreadyOpenException() - Constructor for exception org.lmdbjava.Env.AlreadyOpenException
Creates a new instance.
atLeast(T) - Static method in class org.lmdbjava.KeyRange
atLeastBackward(T) - Static method in class org.lmdbjava.KeyRange
atMost(T) - Static method in class org.lmdbjava.KeyRange
atMostBackward(T) - Static method in class org.lmdbjava.KeyRange

B

BACKWARD_ALL - org.lmdbjava.KeyRangeType
Start on the last key and iterate backward until no keys remain.
BACKWARD_AT_LEAST - org.lmdbjava.KeyRangeType
Start on the passed key (or the first key immediately preceding it) and iterate backward until no keys remain.
BACKWARD_AT_MOST - org.lmdbjava.KeyRangeType
Start on the last key and iterate backward until a key equal to it (or the first key immediately preceding it it) is reached.
BACKWARD_CLOSED - org.lmdbjava.KeyRangeType
Iterate backward between the passed keys, matching on the first keys directly equal to the passed key (or immediately preceding it in the case of the "start" key, or immediately following it in the case of the "stop" key).
BACKWARD_CLOSED_OPEN - org.lmdbjava.KeyRangeType
Iterate backward between the passed keys, matching on the first keys directly equal to the passed key (or immediately preceding it in the case of the "start" key, or immediately following it in the case of the "stop" key).
BACKWARD_GREATER_THAN - org.lmdbjava.KeyRangeType
Start immediate prior to the passed key (but not equal to it) and iterate backward until no keys remain.
BACKWARD_LESS_THAN - org.lmdbjava.KeyRangeType
Start on the last key and iterate backward until the last key greater than the passed "stop" key is reached.
BACKWARD_OPEN - org.lmdbjava.KeyRangeType
Iterate backward between the passed keys, but do not return the passed keys.
BACKWARD_OPEN_CLOSED - org.lmdbjava.KeyRangeType
Iterate backward between the passed keys.
branchPages - Variable in class org.lmdbjava.Stat
Number of internal (non-leaf) pages.
BufferMustBeDirectException() - Constructor for exception org.lmdbjava.ByteBufferProxy.BufferMustBeDirectException
Creates a new instance.
BufferProxy<T> - Class in org.lmdbjava
The strategy for mapping memory address to a given buffer type.
BufferProxy() - Constructor for class org.lmdbjava.BufferProxy
 
ByteArrayProxy - Class in org.lmdbjava
Byte array proxy.
ByteBufferProxy - Class in org.lmdbjava
ByteBuffer-based proxy.
ByteBufferProxy.BufferMustBeDirectException - Exception in org.lmdbjava
The buffer must be a direct buffer (not heap allocated).
ByteBufProxy - Class in org.lmdbjava
A buffer proxy backed by Netty's ByteBuf.

C

call() - Method in class org.lmdbjava.Verifier
Run the verifier until Verifier.stop() is called or an exception occurs.
close() - Method in class org.lmdbjava.Cursor
Close a cursor handle.
close() - Method in class org.lmdbjava.CursorIterable
 
close() - Method in class org.lmdbjava.Dbi
Close the database handle (normally unnecessary; use with caution).
close() - Method in class org.lmdbjava.Env
Close the handle.
close() - Method in class org.lmdbjava.Txn
Closes this transaction by aborting if not already committed.
closed(T, T) - Static method in class org.lmdbjava.KeyRange
closedBackward(T, T) - Static method in class org.lmdbjava.KeyRange
ClosedException() - Constructor for exception org.lmdbjava.Cursor.ClosedException
Creates a new instance.
closedOpen(T, T) - Static method in class org.lmdbjava.KeyRange
closedOpenBackward(T, T) - Static method in class org.lmdbjava.KeyRange
commit() - Method in class org.lmdbjava.Txn
Commits this transaction.
compare(byte[], byte[]) - Method in class org.lmdbjava.ByteArrayProxy
 
compare(ByteBuf, ByteBuf) - Method in class org.lmdbjava.ByteBufProxy
 
compare(DirectBuffer, DirectBuffer) - Method in class org.lmdbjava.DirectBufferProxy
 
compare(T, T) - Method in class org.lmdbjava.BufferProxy
Compare the two buffers.
compareArrays(byte[], byte[]) - Static method in class org.lmdbjava.ByteArrayProxy
Lexicographically compare two byte arrays.
compareBuff(DirectBuffer, DirectBuffer) - Static method in class org.lmdbjava.DirectBufferProxy
Lexicographically compare two buffers.
copy(File, CopyFlags...) - Method in class org.lmdbjava.Env
Copies an LMDB environment to the specified destination path.
CopyFlags - Enum in org.lmdbjava
Flags for use when performing a Env.copy(java.io.File, org.lmdbjava.CopyFlags...).
count() - Method in class org.lmdbjava.Cursor
Return count of duplicates for current key.
create() - Static method in class org.lmdbjava.Env
Create an Env using the ByteBufferProxy.PROXY_OPTIMAL.
create(BufferProxy<T>) - Static method in class org.lmdbjava.Env
Create an Env using the passed BufferProxy.
Cursor<T> - Class in org.lmdbjava
A cursor handle.
Cursor.ClosedException - Exception in org.lmdbjava
Cursor has already been closed.
Cursor.FullException - Exception in org.lmdbjava
Cursor stack too deep - internal error.
CursorIterable<T> - Class in org.lmdbjava
Iterable that creates a single Iterator that will iterate over a Cursor as specified by a KeyRange.
CursorIterable.KeyVal<T> - Class in org.lmdbjava
Holder for a key and value pair.

D

Dbi<T> - Class in org.lmdbjava
LMDB Database.
DBI_COUNT - Static variable in class org.lmdbjava.Verifier
Number of DBIs the created environment should allow.
Dbi.BadDbiException - Exception in org.lmdbjava
The specified DBI was changed unexpectedly.
Dbi.BadValueSizeException - Exception in org.lmdbjava
Unsupported size of key/DB name/data, or wrong DUPFIXED size.
Dbi.DbFullException - Exception in org.lmdbjava
Environment maxdbs reached.
Dbi.IncompatibleException - Exception in org.lmdbjava
Operation and DB incompatible, or DB type changed.
Dbi.KeyExistsException - Exception in org.lmdbjava
Key/data pair already exists.
Dbi.KeyNotFoundException - Exception in org.lmdbjava
Key/data pair not found (EOF).
Dbi.MapResizedException - Exception in org.lmdbjava
Database contents grew beyond environment mapsize.
DbiFlags - Enum in org.lmdbjava
Flags for use when opening a Dbi.
deallocate(byte[]) - Method in class org.lmdbjava.ByteArrayProxy
 
deallocate(ByteBuf) - Method in class org.lmdbjava.ByteBufProxy
 
deallocate(DirectBuffer) - Method in class org.lmdbjava.DirectBufferProxy
 
deallocate(T) - Method in class org.lmdbjava.BufferProxy
Deallocate a buffer that was previously provided by BufferProxy.allocate().
delete(PutFlags...) - Method in class org.lmdbjava.Cursor
Delete current key/data pair.
delete(Txn<T>, T) - Method in class org.lmdbjava.Dbi
Deletes the key using the passed transaction.
delete(Txn<T>, T, T) - Method in class org.lmdbjava.Dbi
Removes key/data pairs from the database.
delete(T) - Method in class org.lmdbjava.Dbi
Starts a new read-write transaction and deletes the key.
depth - Variable in class org.lmdbjava.Stat
Depth (height) of the B-tree.
DirectBufferProxy - Class in org.lmdbjava
A buffer proxy backed by Agrona's DirectBuffer.
DISABLE_CHECKS_PROP - Static variable in class org.lmdbjava.Env
Java system property name that can be set to disable optional checks.
drop(Txn<T>) - Method in class org.lmdbjava.Dbi
Drops the data in this database, leaving the database open for further use.
drop(Txn<T>, boolean) - Method in class org.lmdbjava.Dbi
Drops the database.

E

entries - Variable in class org.lmdbjava.Stat
Number of data items.
Env<T> - Class in org.lmdbjava
LMDB environment.
Env.AlreadyClosedException - Exception in org.lmdbjava
Object has already been closed and the operation is therefore prohibited.
Env.AlreadyOpenException - Exception in org.lmdbjava
Object has already been opened and the operation is therefore prohibited.
Env.Builder<T> - Class in org.lmdbjava
Builder for configuring and opening Env.
Env.FileInvalidException - Exception in org.lmdbjava
File is not a valid LMDB file.
Env.InvalidCopyDestination - Exception in org.lmdbjava
The specified copy destination is invalid.
Env.MapFullException - Exception in org.lmdbjava
Environment mapsize reached.
Env.ReadersFullException - Exception in org.lmdbjava
Environment maxreaders reached.
Env.VersionMismatchException - Exception in org.lmdbjava
Environment version mismatch.
EnvFlags - Enum in org.lmdbjava
Flags for use when opening the Env.
EnvInfo - Class in org.lmdbjava
Environment information, as returned by Env.info().
EnvIsReadOnly() - Constructor for exception org.lmdbjava.Txn.EnvIsReadOnly
Creates a new instance.
error(int) - Static method in class org.lmdbjava.Meta
Fetches the LMDB error code description.

F

first() - Method in class org.lmdbjava.Cursor
Position at first key/data item.
FORWARD_ALL - org.lmdbjava.KeyRangeType
Starting on the first key and iterate forward until no keys remain.
FORWARD_AT_LEAST - org.lmdbjava.KeyRangeType
Start on the passed key (or the first key immediately after it) and iterate forward until no keys remain.
FORWARD_AT_MOST - org.lmdbjava.KeyRangeType
Start on the first key and iterate forward until a key equal to it (or the first key immediately after it) is reached.
FORWARD_CLOSED - org.lmdbjava.KeyRangeType
Iterate forward between the passed keys, matching on the first keys directly equal to the passed key (or immediately following it in the case of the "start" key, or immediately preceding it in the case of the "stop" key).
FORWARD_CLOSED_OPEN - org.lmdbjava.KeyRangeType
Iterate forward between the passed keys, matching on the first keys directly equal to the passed key (or immediately following it in the case of the "start" key, or immediately preceding it in the case of the "stop" key).
FORWARD_GREATER_THAN - org.lmdbjava.KeyRangeType
Start after the passed key (but not equal to it) and iterate forward until no keys remain.
FORWARD_LESS_THAN - org.lmdbjava.KeyRangeType
Start on the first key and iterate forward until a key the passed key has been reached (but do not return that key).
FORWARD_OPEN - org.lmdbjava.KeyRangeType
Iterate forward between the passed keys but not equal to either of them.
FORWARD_OPEN_CLOSED - org.lmdbjava.KeyRangeType
Iterate forward between the passed keys.

G

get(Txn<T>, T) - Method in class org.lmdbjava.Dbi
Get items from a database, moving the Txn.val() to the value.
get(T, GetOp) - Method in class org.lmdbjava.Cursor
Reposition the key/value buffers based on the passed key and operation.
get(T, T, SeekOp) - Method in class org.lmdbjava.Cursor
Reposition the key/value buffers based on the passed key and operation.
getBytes(byte[]) - Method in class org.lmdbjava.ByteArrayProxy
 
getBytes(ByteBuf) - Method in class org.lmdbjava.ByteBufProxy
 
getBytes(DirectBuffer) - Method in class org.lmdbjava.DirectBufferProxy
 
getBytes(T) - Method in class org.lmdbjava.BufferProxy
Obtain a copy of the bytes contained within the passed buffer.
getCode() - Method in enum org.lmdbjava.GetOp
Obtain the integer code for use by LMDB C API.
getCode() - Method in enum org.lmdbjava.SeekOp
Obtain the integer code for use by LMDB C API.
getDbiNames() - Method in class org.lmdbjava.Env
Obtain the DBI names.
getId() - Method in class org.lmdbjava.Txn
Return the transaction's ID.
getMask() - Method in enum org.lmdbjava.CopyFlags
 
getMask() - Method in enum org.lmdbjava.DbiFlags
 
getMask() - Method in enum org.lmdbjava.EnvFlags
 
getMask() - Method in interface org.lmdbjava.MaskedFlag
Obtains the integer value for this enum which can be included in a mask.
getMask() - Method in enum org.lmdbjava.PutFlags
 
getMask() - Method in enum org.lmdbjava.TxnFlags
 
getMaxKeySize() - Method in class org.lmdbjava.Env
Get the maximum size of keys and MDB_DUPSORT data we can write.
getName() - Method in class org.lmdbjava.Dbi
Obtains the name of this database.
GetOp - Enum in org.lmdbjava
Flags for use when performing a Cursor.get(java.lang.Object, org.lmdbjava.GetOp).
getParent() - Method in class org.lmdbjava.Txn
Obtains this transaction's parent.
getResultCode() - Method in exception org.lmdbjava.LmdbNativeException
Obtain the LMDB C-side result code.
getStart() - Method in class org.lmdbjava.KeyRange
Start key.
getStop() - Method in class org.lmdbjava.KeyRange
Stop key.
getType() - Method in class org.lmdbjava.KeyRange
Key range type.
greaterThan(T) - Static method in class org.lmdbjava.KeyRange
greaterThanBackward(T) - Static method in class org.lmdbjava.KeyRange

I

in(byte[], int, Pointer, long) - Method in class org.lmdbjava.ByteArrayProxy
 
in(byte[], Pointer, long) - Method in class org.lmdbjava.ByteArrayProxy
 
in(ByteBuf, int, Pointer, long) - Method in class org.lmdbjava.ByteBufProxy
 
in(ByteBuf, Pointer, long) - Method in class org.lmdbjava.ByteBufProxy
 
in(DirectBuffer, int, Pointer, long) - Method in class org.lmdbjava.DirectBufferProxy
 
in(DirectBuffer, Pointer, long) - Method in class org.lmdbjava.DirectBufferProxy
 
in(T, int, Pointer, long) - Method in class org.lmdbjava.BufferProxy
Called when the MDB_val should be set to reflect the passed buffer.
in(T, Pointer, long) - Method in class org.lmdbjava.BufferProxy
Called when the MDB_val should be set to reflect the passed buffer.
IncompatibleParent() - Constructor for exception org.lmdbjava.Txn.IncompatibleParent
Creates a new instance.
info() - Method in class org.lmdbjava.Env
Return information about this environment.
InvalidCopyDestination(String) - Constructor for exception org.lmdbjava.Env.InvalidCopyDestination
Creates a new instance.
isClosed() - Method in class org.lmdbjava.Env
Indicates whether this environment has been closed.
isDirectionForward() - Method in enum org.lmdbjava.KeyRangeType
Whether the key space is iterated in the order provided by LMDB.
isReadOnly() - Method in class org.lmdbjava.Env
Indicates if this environment was opened with EnvFlags.MDB_RDONLY_ENV.
isReadOnly() - Method in class org.lmdbjava.Txn
Whether this transaction is read-only.
isSet(int, MaskedFlag) - Static method in interface org.lmdbjava.MaskedFlag
Indicates whether the passed flag has the relevant masked flag high.
isStartKeyRequired() - Method in enum org.lmdbjava.KeyRangeType
Whether the iteration requires a "start" key.
isStopKeyRequired() - Method in enum org.lmdbjava.KeyRangeType
Whether the iteration requires a "stop" key.
iterate(Txn<T>) - Method in class org.lmdbjava.Dbi
Iterate the database from the first item and forwards.
iterate(Txn<T>, KeyRange<T>) - Method in class org.lmdbjava.Dbi
Iterate the database in accordance with the provided KeyRange and default Comparator.
iterate(Txn<T>, KeyRange<T>, Comparator<T>) - Method in class org.lmdbjava.Dbi
Iterate the database in accordance with the provided KeyRange and Comparator.
iterator() - Method in class org.lmdbjava.CursorIterable
Obtain an iterator.

K

key() - Method in class org.lmdbjava.Cursor
Obtain the key.
key() - Method in class org.lmdbjava.CursorIterable.KeyVal
The key.
key() - Method in class org.lmdbjava.Txn
Fetch the buffer which holds a read-only view of the LMDI allocated memory.
KeyRange<T> - Class in org.lmdbjava
Limits the range and direction of keys to iterate.
KeyRange(KeyRangeType, T, T) - Constructor for class org.lmdbjava.KeyRange
Construct a key range.
KeyRangeType - Enum in org.lmdbjava
Key range type.
KeyVal() - Constructor for class org.lmdbjava.CursorIterable.KeyVal
 

L

last() - Method in class org.lmdbjava.Cursor
Position at last key/data item.
lastPageNumber - Variable in class org.lmdbjava.EnvInfo
ID of the last used page.
lastTransactionId - Variable in class org.lmdbjava.EnvInfo
ID of the last committed transaction.
leafPages - Variable in class org.lmdbjava.Stat
Number of leaf pages.
lessThan(T) - Static method in class org.lmdbjava.KeyRange
lessThanBackward(T) - Static method in class org.lmdbjava.KeyRange
listFlags(Txn<T>) - Method in class org.lmdbjava.Dbi
 
LmdbException - Exception in org.lmdbjava
Superclass for all LmdbJava custom exceptions.
LmdbException(String) - Constructor for exception org.lmdbjava.LmdbException
Constructs an instance with the provided detailed message.
LmdbException(String, Throwable) - Constructor for exception org.lmdbjava.LmdbException
Constructs an instance with the provided detailed message and cause.
LmdbNativeException - Exception in org.lmdbjava
Superclass for all exceptions that originate from a native C call.
LmdbNativeException.ConstantDerivedException - Exception in org.lmdbjava
Exception raised from a system constant table lookup.
LmdbNativeException.PageCorruptedException - Exception in org.lmdbjava
Located page was wrong type.
LmdbNativeException.PageFullException - Exception in org.lmdbjava
Page has not enough space - internal error.
LmdbNativeException.PageNotFoundException - Exception in org.lmdbjava
Requested page not found - this usually indicates corruption.
LmdbNativeException.PanicException - Exception in org.lmdbjava
Update of meta page failed or environment had fatal error.
LmdbNativeException.TlsFullException - Exception in org.lmdbjava
Too many TLS keys in use - Windows only.

M

major - Variable in class org.lmdbjava.Meta.Version
LMDC native library major version number.
mapAddress - Variable in class org.lmdbjava.EnvInfo
Address of map, if fixed.
mapSize - Variable in class org.lmdbjava.EnvInfo
Size of the data memory map.
mask(MaskedFlag...) - Static method in interface org.lmdbjava.MaskedFlag
Fetch the integer mask for all presented flags.
MaskedFlag - Interface in org.lmdbjava
Indicates an enum that can provide integers for each of its values.
maxReaders - Variable in class org.lmdbjava.EnvInfo
Max reader slots in the environment.
MDB_APPEND - org.lmdbjava.PutFlags
Data is being appended, don't split full pages.
MDB_APPENDDUP - org.lmdbjava.PutFlags
Duplicate data is being appended, don't split full pages.
MDB_CP_COMPACT - org.lmdbjava.CopyFlags
Compacting copy: Omit free space from copy, and renumber all pages sequentially.
MDB_CREATE - org.lmdbjava.DbiFlags
Create the named database if it doesn't exist.
MDB_CURRENT - org.lmdbjava.PutFlags
For mdb_cursor_put: overwrite the current key/data pair.
MDB_DUPFIXED - org.lmdbjava.DbiFlags
With DbiFlags.MDB_DUPSORT, sorted dup items have fixed size.
MDB_DUPSORT - org.lmdbjava.DbiFlags
Use sorted duplicates.
MDB_FIRST - org.lmdbjava.SeekOp
Position at first key/data item.
MDB_FIRST_DUP - org.lmdbjava.SeekOp
Position at first data item of current key.
MDB_FIXEDMAP - org.lmdbjava.EnvFlags
Mmap at a fixed address (experimental).
MDB_GET_BOTH - org.lmdbjava.SeekOp
Position at key/data pair.
MDB_GET_BOTH_RANGE - org.lmdbjava.SeekOp
position at key, nearest data.
MDB_GET_CURRENT - org.lmdbjava.SeekOp
Return key/data at current cursor position.
MDB_GET_MULTIPLE - org.lmdbjava.SeekOp
Return key and up to a page of duplicate data items from current cursor position.
MDB_INTEGERDUP - org.lmdbjava.DbiFlags
With DbiFlags.MDB_DUPSORT, dups are DbiFlags.MDB_INTEGERKEY-style integers.
MDB_INTEGERKEY - org.lmdbjava.DbiFlags
Numeric keys in native byte order: either unsigned int or size_t.
MDB_LAST - org.lmdbjava.SeekOp
Position at last key/data item.
MDB_LAST_DUP - org.lmdbjava.SeekOp
Position at last data item of current key.
MDB_MAPASYNC - org.lmdbjava.EnvFlags
Use asynchronous msync when EnvFlags.MDB_WRITEMAP is used.
MDB_MULTIPLE - org.lmdbjava.PutFlags
Store multiple data items in one call.
MDB_NEXT - org.lmdbjava.SeekOp
Position at next data item.
MDB_NEXT_DUP - org.lmdbjava.SeekOp
Position at next data item of current key.
MDB_NEXT_MULTIPLE - org.lmdbjava.SeekOp
Return key and up to a page of duplicate data items from next cursor position.
MDB_NEXT_NODUP - org.lmdbjava.SeekOp
Position at first data item of next key.
MDB_NODUPDATA - org.lmdbjava.PutFlags
Only for #MDB_DUPSORT
For put: don't write if the key and data pair already exist.
For mdb_cursor_del: remove all duplicate data items.
MDB_NOLOCK - org.lmdbjava.EnvFlags
Don't do any locking, caller must manage their own locks.
MDB_NOMEMINIT - org.lmdbjava.EnvFlags
Don't initialize malloc'd memory before writing to datafile.
MDB_NOMETASYNC - org.lmdbjava.EnvFlags
Don't fsync metapage after commit.
MDB_NOOVERWRITE - org.lmdbjava.PutFlags
For put: Don't write if the key already exists.
MDB_NORDAHEAD - org.lmdbjava.EnvFlags
Don't do readahead (no effect on Windows).
MDB_NOSUBDIR - org.lmdbjava.EnvFlags
No environment directory.
MDB_NOSYNC - org.lmdbjava.EnvFlags
Don't fsync after commit.
MDB_NOTLS - org.lmdbjava.EnvFlags
Tie reader locktable slots to Txn objects instead of to threads.
MDB_PREV - org.lmdbjava.SeekOp
Position at previous data item.
MDB_PREV_DUP - org.lmdbjava.SeekOp
Position at previous data item of current key.
MDB_PREV_NODUP - org.lmdbjava.SeekOp
Position at last data item of previous key.
MDB_RDONLY_ENV - org.lmdbjava.EnvFlags
Open the environment in read-only mode.
MDB_RDONLY_TXN - org.lmdbjava.TxnFlags
Read only.
MDB_RESERVE - org.lmdbjava.PutFlags
For put: Just reserve space for data, don't copy it.
MDB_REVERSEDUP - org.lmdbjava.DbiFlags
With DbiFlags.MDB_DUPSORT, use reverse string dups.
MDB_REVERSEKEY - org.lmdbjava.DbiFlags
Use reverse string keys.
MDB_SET - org.lmdbjava.GetOp
Position at specified key.
MDB_SET_KEY - org.lmdbjava.GetOp
Position at specified key, return key + data.
MDB_SET_RANGE - org.lmdbjava.GetOp
Position at first key greater than or equal to specified key.
MDB_VAL_STRUCT_SIZE - Static variable in class org.lmdbjava.BufferProxy
Size of a MDB_val pointer in bytes.
MDB_WRITEMAP - org.lmdbjava.EnvFlags
Use a writeable memory map unless EnvFlags.MDB_RDONLY_ENV is set.
Meta - Class in org.lmdbjava
LMDB metadata functions.
Meta.Version - Class in org.lmdbjava
Immutable return value from Meta.version().
minor - Variable in class org.lmdbjava.Meta.Version
LMDC native library patch version number.

N

next() - Method in class org.lmdbjava.Cursor
Position at next data item.
NotReadyException() - Constructor for exception org.lmdbjava.Txn.NotReadyException
Creates a new instance.
NotResetException() - Constructor for exception org.lmdbjava.Txn.NotResetException
Creates a new instance.
numReaders - Variable in class org.lmdbjava.EnvInfo
Max reader slots used in the environment.

O

open(File, int, EnvFlags...) - Method in class org.lmdbjava.Env.Builder
Opens the environment.
open(File, int, EnvFlags...) - Static method in class org.lmdbjava.Env
Opens an environment with a single default database in 0664 mode using the ByteBufferProxy.PROXY_OPTIMAL.
open(File, EnvFlags...) - Method in class org.lmdbjava.Env.Builder
Opens the environment with 0664 mode.
open(T, T) - Static method in class org.lmdbjava.KeyRange
openBackward(T, T) - Static method in class org.lmdbjava.KeyRange
openClosed(T, T) - Static method in class org.lmdbjava.KeyRange
openClosedBackward(T, T) - Static method in class org.lmdbjava.KeyRange
openCursor(Txn<T>) - Method in class org.lmdbjava.Dbi
Create a cursor handle.
openDbi(byte[], Comparator<T>, DbiFlags...) - Method in class org.lmdbjava.Env
Open the Dbi.
openDbi(byte[], DbiFlags...) - Method in class org.lmdbjava.Env
Open the Dbi.
openDbi(String, Comparator<T>, DbiFlags...) - Method in class org.lmdbjava.Env
Convenience method that opens a Dbi with a UTF-8 database name and custom comparator.
openDbi(String, DbiFlags...) - Method in class org.lmdbjava.Env
Convenience method that opens a Dbi with a UTF-8 database name.
org.lmdbjava - package org.lmdbjava
Lightning Memory Database (LMDB) for Java (LmdbJava).
out(byte[], Pointer, long) - Method in class org.lmdbjava.ByteArrayProxy
 
out(ByteBuf, Pointer, long) - Method in class org.lmdbjava.ByteBufProxy
 
out(DirectBuffer, Pointer, long) - Method in class org.lmdbjava.DirectBufferProxy
 
out(T, Pointer, long) - Method in class org.lmdbjava.BufferProxy
Called when the MDB_val may have changed and the passed buffer should be modified to reflect the new MDB_val.
overflowPages - Variable in class org.lmdbjava.Stat
Number of overflow pages.

P

pageSize - Variable in class org.lmdbjava.Stat
Size of a database page.
patch - Variable in class org.lmdbjava.Meta.Version
LMDC native library patch version number.
prev() - Method in class org.lmdbjava.Cursor
Position at previous data item.
PROXY_BA - Static variable in class org.lmdbjava.ByteArrayProxy
The byte array proxy.
PROXY_DB - Static variable in class org.lmdbjava.DirectBufferProxy
The MutableDirectBuffer proxy.
PROXY_NETTY - Static variable in class org.lmdbjava.ByteBufProxy
A proxy for using Netty ByteBuf.
PROXY_OPTIMAL - Static variable in class org.lmdbjava.ByteBufferProxy
The fastest ByteBuffer proxy that is available on this platform.
PROXY_SAFE - Static variable in class org.lmdbjava.ByteBufferProxy
The safe, reflective ByteBuffer proxy for this system.
put(Txn<T>, T, T, PutFlags...) - Method in class org.lmdbjava.Dbi
Store a key/value pair in the database.
put(T, T) - Method in class org.lmdbjava.Dbi
Starts a new read-write transaction and puts the key/data pair.
put(T, T, PutFlags...) - Method in class org.lmdbjava.Cursor
Store by cursor.
PutFlags - Enum in org.lmdbjava
Flags for use when performing a "put".
putMultiple(T, T, int, PutFlags...) - Method in class org.lmdbjava.Cursor
Put multiple values into the database in one MDB_MULTIPLE operation.

R

ReadOnlyRequiredException() - Constructor for exception org.lmdbjava.Txn.ReadOnlyRequiredException
Creates a new instance.
ReadWriteRequiredException() - Constructor for exception org.lmdbjava.Txn.ReadWriteRequiredException
Creates a new instance.
renew() - Method in class org.lmdbjava.Txn
Renews a read-only transaction previously released by Txn.reset().
renew(Txn<T>) - Method in class org.lmdbjava.Cursor
Renew a cursor handle.
reserve(Txn<T>, T, int, PutFlags...) - Method in class org.lmdbjava.Dbi
Reserve space for data of the given size, but don't copy the given val.
reserve(T, int, PutFlags...) - Method in class org.lmdbjava.Cursor
Reserve space for data of the given size, but don't copy the given val.
reset() - Method in class org.lmdbjava.Txn
Aborts this read-only transaction and resets the transaction handle so it can be reused upon calling Txn.renew().
ResetException() - Constructor for exception org.lmdbjava.Txn.ResetException
Creates a new instance.
runFor(long, TimeUnit) - Method in class org.lmdbjava.Verifier
Execute the verifier for the given duration.

S

seek(SeekOp) - Method in class org.lmdbjava.Cursor
Reposition the key/value buffers based on the passed operation.
SeekOp - Enum in org.lmdbjava
Flags for use when performing a Cursor.seek(org.lmdbjava.SeekOp).
setMapSize(long) - Method in class org.lmdbjava.Env.Builder
Sets the map size.
setMapSize(long) - Method in class org.lmdbjava.Env
Set the size of the data memory map.
setMaxDbs(int) - Method in class org.lmdbjava.Env.Builder
Sets the maximum number of databases (ie Dbis permitted.
setMaxReaders(int) - Method in class org.lmdbjava.Env.Builder
Sets the maximum number of databases permitted.
SHOULD_CHECK - Static variable in class org.lmdbjava.Env
Indicates whether optional checks should be applied in LmdbJava.
stat() - Method in class org.lmdbjava.Env
Return statistics about this environment.
stat(Txn<T>) - Method in class org.lmdbjava.Dbi
Return statistics about this database.
Stat - Class in org.lmdbjava
Statistics, as returned by Env.stat() and Dbi.stat(org.lmdbjava.Txn).
STRUCT_FIELD_OFFSET_DATA - Static variable in class org.lmdbjava.BufferProxy
Offset from a pointer of the MDB_val.mv_data field.
STRUCT_FIELD_OFFSET_SIZE - Static variable in class org.lmdbjava.BufferProxy
Offset from a pointer of the MDB_val.mv_size field.
sync(boolean) - Method in class org.lmdbjava.Env
Flushes the data buffers to disk.

T

toString() - Method in class org.lmdbjava.EnvInfo
 
toString() - Method in class org.lmdbjava.Stat
 
txn(Txn<T>, TxnFlags...) - Method in class org.lmdbjava.Env
Obtain a transaction with the requested parent and flags.
Txn<T> - Class in org.lmdbjava
LMDB transaction.
Txn.BadException - Exception in org.lmdbjava
Transaction must abort, has a child, or is invalid.
Txn.BadReaderLockException - Exception in org.lmdbjava
Invalid reuse of reader locktable slot.
Txn.EnvIsReadOnly - Exception in org.lmdbjava
The proposed R-W transaction is incompatible with a R-O Env.
Txn.IncompatibleParent - Exception in org.lmdbjava
The proposed transaction is incompatible with its parent transaction.
Txn.NotReadyException - Exception in org.lmdbjava
Transaction is not in a READY state.
Txn.NotResetException - Exception in org.lmdbjava
The current transaction has not been reset.
Txn.ReadOnlyRequiredException - Exception in org.lmdbjava
The current transaction is not a read-only transaction.
Txn.ReadWriteRequiredException - Exception in org.lmdbjava
The current transaction is not a read-write transaction.
Txn.ResetException - Exception in org.lmdbjava
The current transaction has already been reset.
Txn.TxFullException - Exception in org.lmdbjava
Transaction has too many dirty pages.
TxnFlags - Enum in org.lmdbjava
Flags for use when creating a Txn.
txnRead() - Method in class org.lmdbjava.Env
Obtain a read-only transaction.
txnWrite() - Method in class org.lmdbjava.Env
Obtain a read-write transaction.

V

val() - Method in class org.lmdbjava.Cursor
Obtain the value.
val() - Method in class org.lmdbjava.CursorIterable.KeyVal
The value.
val() - Method in class org.lmdbjava.Txn
Fetch the buffer which holds a read-only view of the LMDI allocated memory.
valueOf(String) - Static method in enum org.lmdbjava.CopyFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.DbiFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.EnvFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.GetOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.KeyRangeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.PutFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.SeekOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lmdbjava.TxnFlags
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.lmdbjava.CopyFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.DbiFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.EnvFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.GetOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.KeyRangeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.PutFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.SeekOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lmdbjava.TxnFlags
Returns an array containing the constants of this enum type, in the order they are declared.
Verifier - Class in org.lmdbjava
Verifies correct operation of LmdbJava in a given environment.
Verifier(Env<ByteBuffer>) - Constructor for class org.lmdbjava.Verifier
Create an instance of the verifier.
version() - Static method in class org.lmdbjava.Meta
Obtains the LMDB C library version information.
A B C D E F G I K L M N O P R S T V 
All Classes All Packages