Skip navigation links
B C D E F G H I L M N O P R S V W X 

B

blockRestartInterval() - Method in class org.iq80.leveldb.Options
 
blockRestartInterval(int) - Method in class org.iq80.leveldb.Options
Number of keys between restart points for delta encoding of keys.
blockSize() - Method in class org.iq80.leveldb.Options
 
blockSize(int) - Method in class org.iq80.leveldb.Options
Approximate size of user data packed per block.

C

cacheSize() - Method in class org.iq80.leveldb.Options
 
cacheSize(long) - Method in class org.iq80.leveldb.Options
If cacheSize is zero, no block cache will be used- If non-zero, use the specified cache size for blocks.
close() - Method in interface org.iq80.leveldb.DBIterator
 
close() - Method in interface org.iq80.leveldb.Logger
 
compactRange(byte[], byte[]) - Method in interface org.iq80.leveldb.DB
Compact the underlying storage for the key range [begin, end].
comparator() - Method in class org.iq80.leveldb.Options
 
comparator(DBComparator) - Method in class org.iq80.leveldb.Options
Parameters that affect behavior
CompressionType - Enum in org.iq80.leveldb
DB contents are stored in a set of blocks, each of which holds a sequence of key,value pairs.
compressionType() - Method in class org.iq80.leveldb.Options
 
compressionType(CompressionType) - Method in class org.iq80.leveldb.Options
Compress blocks using the specified compression algorithm.
createIfMissing() - Method in class org.iq80.leveldb.Options
If true, the database will be created if it is missing.
createIfMissing(boolean) - Method in class org.iq80.leveldb.Options
 
createWriteBatch() - Method in interface org.iq80.leveldb.DB
 

D

DB - Interface in org.iq80.leveldb
A DB is a persistent ordered map from keys to values.
DBComparator - Interface in org.iq80.leveldb
 
DBException - Exception in org.iq80.leveldb
 
DBException() - Constructor for exception org.iq80.leveldb.DBException
 
DBException(String) - Constructor for exception org.iq80.leveldb.DBException
 
DBException(String, Throwable) - Constructor for exception org.iq80.leveldb.DBException
 
DBException(Throwable) - Constructor for exception org.iq80.leveldb.DBException
 
DBFactory - Interface in org.iq80.leveldb
 
DBIterator - Interface in org.iq80.leveldb
 
delete(byte[]) - Method in interface org.iq80.leveldb.DB
 
delete(byte[], WriteOptions) - Method in interface org.iq80.leveldb.DB
Remove the database entry (if any) for "key".
delete(byte[]) - Method in interface org.iq80.leveldb.WriteBatch
If the database contains a mapping for "key", erase it.
destroy(File, Options) - Method in interface org.iq80.leveldb.DBFactory
Destroy a database, delete DB files and root directory

E

errorIfExists() - Method in class org.iq80.leveldb.Options
 
errorIfExists(boolean) - Method in class org.iq80.leveldb.Options
If true, an error is raised if the database already exists.

F

fillCache() - Method in class org.iq80.leveldb.ReadOptions
 
fillCache(boolean) - Method in class org.iq80.leveldb.ReadOptions
Should the data read for this iteration be cached in memory? Callers may wish to set this field to false for bulk scans.
filterPolicy(XFilterPolicy) - Method in class org.iq80.leveldb.Options
If non-null, use the specified filter policy to reduce disk reads.
filterPolicy() - Method in class org.iq80.leveldb.Options
 
findShortestSeparator(byte[], byte[]) - Method in interface org.iq80.leveldb.DBComparator
If start < limit, returns a short key in [start,limit).
findShortSuccessor(byte[]) - Method in interface org.iq80.leveldb.DBComparator
returns a 'short key' where the 'short key' is greater than or equal to key.
fromOptions(Options) - Static method in class org.iq80.leveldb.Options
Clone, create a copy of the provided instance of Options

G

get(byte[]) - Method in interface org.iq80.leveldb.DB
Same as calling DB.get(byte[], ReadOptions) with default options
get(byte[], ReadOptions) - Method in interface org.iq80.leveldb.DB
If the database contains an entry for "key" return its corresponding value.
getApproximateSize() - Method in interface org.iq80.leveldb.WriteBatch
The size of the database changes caused by this batch.
getApproximateSizes(Range...) - Method in interface org.iq80.leveldb.DB
For each i in [0,n-1], store in "sizes[i]", the approximate file system space used by keys in "[range[i].start ..
getCompressionTypeByPersistentId(int) - Static method in enum org.iq80.leveldb.CompressionType
 
getProperty(String) - Method in interface org.iq80.leveldb.DB
DB implementations can export properties about their state via this method.
getSnapshot() - Method in interface org.iq80.leveldb.DB
Return a handle to the current DB state.

H

hasPrev() - Method in interface org.iq80.leveldb.DBIterator
 

I

iterator() - Method in interface org.iq80.leveldb.DB
Same as calling DB.iterator(ReadOptions) with default options
iterator(ReadOptions) - Method in interface org.iq80.leveldb.DB
Return a iterator over the contents of the database.

L

limit() - Method in class org.iq80.leveldb.Range
Included in the range
log(String) - Method in interface org.iq80.leveldb.Logger
 
log(String, Object...) - Method in interface org.iq80.leveldb.Logger
Substitutes each %s in template with an argument.
Logger - Interface in org.iq80.leveldb
An interface for writing log messages.
logger() - Method in class org.iq80.leveldb.Options
 
logger(Logger) - Method in class org.iq80.leveldb.Options
Any internal progress/error information generated by the db will be written to logger if it is non-null, or to a file stored in the same directory as the DB contents if info_log is null.

M

maxFileSize() - Method in class org.iq80.leveldb.Options
 
maxFileSize(int) - Method in class org.iq80.leveldb.Options
Leveldb will write up to this amount of bytes to a file before switching to a new one.
maxOpenFiles() - Method in class org.iq80.leveldb.Options
 
maxOpenFiles(int) - Method in class org.iq80.leveldb.Options
Number of open files that can be used by the DB.

N

name() - Method in interface org.iq80.leveldb.DBComparator
The name of the comparator.
newDefaultOptions() - Static method in class org.iq80.leveldb.Options
Create an Options object with default values for all fields.

O

open(File, Options) - Method in interface org.iq80.leveldb.DBFactory
Open/Create a new Database using provided "options" to configure DB behavior.
Options - Class in org.iq80.leveldb
Options to control the behavior of a database
Options() - Constructor for class org.iq80.leveldb.Options
 
org.iq80.leveldb - package org.iq80.leveldb
 

P

paranoidChecks() - Method in class org.iq80.leveldb.Options
 
paranoidChecks(boolean) - Method in class org.iq80.leveldb.Options
If true, the implementation will do aggressive checking of the data it is processing and will stop early if it detects any errors.
peekNext() - Method in interface org.iq80.leveldb.DBIterator
Returns the next element in the iteration, without advancing the iteration.
peekPrev() - Method in interface org.iq80.leveldb.DBIterator
 
persistentId() - Method in enum org.iq80.leveldb.CompressionType
 
prev() - Method in interface org.iq80.leveldb.DBIterator
 
put(byte[], byte[]) - Method in interface org.iq80.leveldb.DB
 
put(byte[], byte[], WriteOptions) - Method in interface org.iq80.leveldb.DB
Set the database entry for "key" to "value".
put(byte[], byte[]) - Method in interface org.iq80.leveldb.WriteBatch
Store the mapping key and value in the database.

R

Range - Class in org.iq80.leveldb
A range of keys as of [start, limit)
Range(byte[], byte[]) - Constructor for class org.iq80.leveldb.Range
 
ReadOptions - Class in org.iq80.leveldb
Options that control read operations
ReadOptions() - Constructor for class org.iq80.leveldb.ReadOptions
 
repair(File, Options) - Method in interface org.iq80.leveldb.DBFactory
Try to repair a corrupted DB or not closed properly.
resumeCompactions() - Method in interface org.iq80.leveldb.DB
Resumes the background compaction threads.
reuseLogs(boolean) - Method in class org.iq80.leveldb.Options
If true, append to existing MANIFEST and log files when a database is opened.
reuseLogs() - Method in class org.iq80.leveldb.Options
 

S

seek(byte[]) - Method in interface org.iq80.leveldb.DBIterator
Repositions the iterator so the key of the next BlockElement returned greater than or equal to the specified targetKey.
seekToFirst() - Method in interface org.iq80.leveldb.DBIterator
Repositions the iterator so is is at the beginning of the Database.
seekToLast() - Method in interface org.iq80.leveldb.DBIterator
Repositions the iterator so it is at the end of of the Database.
size() - Method in interface org.iq80.leveldb.WriteBatch
Number of entries in the batch
snapshot() - Method in class org.iq80.leveldb.ReadOptions
 
snapshot(Snapshot) - Method in class org.iq80.leveldb.ReadOptions
If "snapshot" is non-null, read as of the supplied snapshot (which must belong to the DB that is being read and which must not have been closed).
Snapshot - Interface in org.iq80.leveldb
Abstract handle to particular state of a DB.
snapshot() - Method in class org.iq80.leveldb.WriteOptions
If "snapshot" is true, take a snapshot at the end of this write operation
snapshot(boolean) - Method in class org.iq80.leveldb.WriteOptions
 
start() - Method in class org.iq80.leveldb.Range
Not included in the range
suspendCompactions() - Method in interface org.iq80.leveldb.DB
Suspends any background compaction threads.
sync() - Method in class org.iq80.leveldb.WriteOptions
If true, the write will be flushed from the operating system buffer cache (by calling WritableFile::Sync()) before the write is considered complete.
sync(boolean) - Method in class org.iq80.leveldb.WriteOptions
 

V

valueOf(String) - Static method in enum org.iq80.leveldb.CompressionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.iq80.leveldb.CompressionType
Returns an array containing the constants of this enum type, in the order they are declared.
verifyChecksums() - Method in class org.iq80.leveldb.ReadOptions
 
verifyChecksums(boolean) - Method in class org.iq80.leveldb.ReadOptions
If true, all data read from underlying storage will be verified against corresponding checksums.

W

write(WriteBatch) - Method in interface org.iq80.leveldb.DB
 
write(WriteBatch, WriteOptions) - Method in interface org.iq80.leveldb.DB
Apply the specified updates to the database.
WriteBatch - Interface in org.iq80.leveldb
 
writeBufferSize() - Method in class org.iq80.leveldb.Options
 
writeBufferSize(int) - Method in class org.iq80.leveldb.Options
Parameters that affect performance
WriteOptions - Class in org.iq80.leveldb
Options that control write operations
WriteOptions() - Constructor for class org.iq80.leveldb.WriteOptions
 

X

XFilterPolicy - Interface in org.iq80.leveldb
A database can be configured with a custom FilterPolicy object.
B C D E F G H I L M N O P R S V W X 
Skip navigation links

Copyright © 2011–2020. All rights reserved.