| Package | Description |
|---|---|
| org.rocksdb | |
| org.rocksdb.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCompactionFilter<T extends AbstractSlice<?>>
A CompactionFilter allows an application to modify/delete a key-value at
the time of compaction.
|
class |
AbstractCompactionFilterFactory<T extends AbstractCompactionFilter<?>>
Each compaction will create a new
AbstractCompactionFilter
allowing the application to know about different compactions |
class |
AbstractComparator
Comparators are used by RocksDB to determine
the ordering of keys.
|
class |
AbstractEventListener
Base class for Event Listeners.
|
class |
AbstractRocksIterator<P extends RocksObject>
Base class implementation for Rocks Iterators
in the Java API
Multiple threads can invoke const methods on an RocksIterator without
external synchronization, but if any of the threads may call a
non-const method, all threads accessing the same RocksIterator must use
external synchronization.
|
class |
AbstractTableFilter
Base class for Table Filters.
|
class |
AbstractTraceWriter
Base class for TraceWriters.
|
class |
AbstractTransactionNotifier
Provides notification to the caller of SetSnapshotOnNextOperation when
the actual snapshot gets created
|
class |
AbstractWalFilter
Base class for WAL Filters.
|
class |
AbstractWriteBatch |
class |
BackupEngine
BackupEngine allows you to backup
and restore the database
Be aware, that `new BackupEngine` takes time proportional to the amount
of backups.
|
class |
BackupEngineOptions
BackupEngineOptions controls the behavior of a
BackupEngine. |
class |
BloomFilter
Bloom filter policy that uses a bloom filter with approximately
the specified number of bits per key.
|
class |
Cache |
class |
CassandraCompactionFilter
Just a Java wrapper around CassandraCompactionFilter implemented in C++
|
class |
CassandraValueMergeOperator
CassandraValueMergeOperator is a merge operator that merges two cassandra wide column
values.
|
class |
Checkpoint
Provides Checkpoint functionality.
|
class |
ClockCache
Deprecated.
The old Clock Cache implementation had an unresolved bug and
has been removed. The new HyperClockCache requires an additional
configuration parameter that is not provided by this API. This function
simply returns a new LRUCache for functional compatibility.
|
class |
ColumnFamilyHandle
ColumnFamilyHandle class to hold handles to underlying rocksdb
ColumnFamily Pointers.
|
class |
ColumnFamilyOptions
ColumnFamilyOptions to control the behavior of a database.
|
class |
CompactionJobInfo |
class |
CompactionJobStats |
class |
CompactionOptions
CompactionOptions are used in
RocksDB.compactFiles(CompactionOptions, ColumnFamilyHandle, List, int, int, CompactionJobInfo)
calls. |
class |
CompactionOptionsFIFO
Options for FIFO Compaction
|
class |
CompactionOptionsUniversal
Options for Universal Compaction
|
class |
CompactRangeOptions
CompactRangeOptions is used by CompactRange() call.
|
class |
ComparatorOptions
This class controls the behaviour
of Java implementations of
AbstractComparator
Note that dispose() must be called before a ComparatorOptions
instance becomes out-of-scope to release the allocated memory in C++.
|
class |
CompressionOptions
Options for Compression
|
class |
ConcurrentTaskLimiter |
class |
ConcurrentTaskLimiterImpl |
class |
ConfigOptions |
class |
DBOptions
DBOptions to control the behavior of a database.
|
class |
Env
Base class for all Env implementations in RocksDB.
|
class |
EnvOptions
Options while opening a file to read/write
|
class |
ExportImportFilesMetaData
The metadata that describes a column family.
|
class |
Filter
Filters are stored in rocksdb and are consulted automatically
by rocksdb to decide whether or not to read some
information from disk.
|
class |
FlushOptions
FlushOptions to be passed to flush operations of
RocksDB. |
class |
HyperClockCache
HyperClockCache - A lock-free Cache alternative for RocksDB block cache
that offers much improved CPU efficiency vs.
|
class |
ImportColumnFamilyOptions
ImportColumnFamilyOptions is used by
RocksDB.createColumnFamilyWithImport(ColumnFamilyDescriptor, ImportColumnFamilyOptions,
ExportImportFilesMetaData). |
class |
IngestExternalFileOptions
IngestExternalFileOptions is used by
RocksDB.ingestExternalFile(ColumnFamilyHandle, List, IngestExternalFileOptions). |
class |
Logger
This class provides a custom logger functionality
in Java which wraps
RocksDB logging facilities. |
class |
LRUCache
Least Recently Used Cache
|
class |
MergeOperator
MergeOperator holds an operator to be applied when compacting
two merge operands held under the same key in order to obtain a single
value.
|
class |
NativeComparatorWrapper
A simple abstraction to allow a Java class to wrap a custom comparator
implemented in C++.
|
class |
OptimisticTransactionDB
Database with Transaction support.
|
class |
OptimisticTransactionOptions |
class |
Options
Options to control the behavior of a database.
|
class |
PerfContext |
class |
PersistentCache
Persistent cache for caching IO pages on a persistent medium.
|
class |
RateLimiter
RateLimiter, which is used to control write rate of flush and
compaction.
|
class |
ReadOptions
The class that controls the get behavior.
|
class |
RemoveEmptyValueCompactionFilter
Just a Java wrapper around EmptyValueCompactionFilter implemented in C++
|
class |
RestoreOptions
RestoreOptions to control the behavior of restore.
|
class |
RocksCallbackObject
RocksCallbackObject is similar to
RocksObject but varies
in its construction as it is designed for Java objects which have functions
which are called from C++ via JNI. |
class |
RocksDB
A RocksDB is a persistent ordered map from keys to values.
|
class |
RocksEnv
A RocksEnv is an interface used by the rocksdb implementation to access
operating system functionality like the filesystem etc.
|
class |
RocksIterator
An iterator that yields a sequence of key/value pairs from a source.
|
class |
RocksMemEnv
Memory environment.
|
class |
RocksObject
RocksObject is an implementation of
AbstractNativeReference which
has an immutable and therefore thread-safe reference to the underlying
native C++ RocksDB object. |
class |
Snapshot
Snapshot of database
|
class |
SstFileManager
SstFileManager is used to track SST files in the DB and control their
deletion rate.
|
class |
SstFileReader |
class |
SstFileReaderIterator
An iterator that yields a sequence of key/value pairs from a source.
|
class |
SstFileWriter
SstFileWriter is used to create sst files that can be added to the
database later.
|
class |
SstPartitionerFactory
Handle to factory for SstPartitioner.
|
class |
SstPartitionerFixedPrefixFactory
Fixed prefix factory.
|
class |
Statistics
Statistics to analyze the performance of a db.
|
class |
StringAppendOperator
StringAppendOperator is a merge operator that concatenates
two strings.
|
class |
TablePropertiesCollectorFactory |
class |
TimedEnv
Timed environment.
|
class |
Transaction
Provides BEGIN/COMMIT/ROLLBACK transactions.
|
class |
TransactionDB
Database with Transaction support
|
class |
TransactionDBOptions |
class |
TransactionLogIterator
A TransactionLogIterator is used to iterate over the transactions in a db.
|
class |
TransactionOptions |
class |
TtlDB
Database with TTL support.
|
class |
UInt64AddOperator
Uint64AddOperator is a merge operator that accumlates a long
integer value.
|
class |
WBWIRocksIterator |
class |
WriteBatch
WriteBatch holds a collection of updates to apply atomically to a DB.
|
static class |
WriteBatch.Handler
Handler callback for iterating over the contents of a batch.
|
class |
WriteBatchWithIndex
Similar to
WriteBatch but with a binary searchable
index built for all the keys inserted. |
class |
WriteBufferManager
Java wrapper over native write_buffer_manager class
|
class |
WriteOptions
Options that control write operations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BytewiseComparator
This is a Java Native implementation of the C++
equivalent BytewiseComparatorImpl using
Slice
The performance of Comparators implemented in Java is always
less than their C++ counterparts due to the bridging overhead,
as such you likely don't want to use this apart from benchmarking
and you most likely instead wanted
BuiltinComparator.BYTEWISE_COMPARATOR |
class |
IntComparator
This is a Java implementation of a Comparator for Java int
keys.
|
class |
ReverseBytewiseComparator
This is a Java Native implementation of the C++
equivalent ReverseBytewiseComparatorImpl using
Slice
The performance of Comparators implemented in Java is always
less than their C++ counterparts due to the bridging overhead,
as such you likely don't want to use this apart from benchmarking
and you most likely instead wanted
BuiltinComparator.REVERSE_BYTEWISE_COMPARATOR |
class |
StdErrLogger
Simply redirects all log messages to StdErr.
|
Copyright © 2012–2026 Facebook. All rights reserved.