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

A

AbstractCompactionFilter<T extends AbstractSlice<?>> - Class in org.rocksdb
A CompactionFilter allows an application to modify/delete a key-value at the time of compaction.
AbstractCompactionFilter(long) - Constructor for class org.rocksdb.AbstractCompactionFilter
 
AbstractCompactionFilter.Context - Class in org.rocksdb
 
AbstractCompactionFilterFactory<T extends AbstractCompactionFilter<?>> - Class in org.rocksdb
Each compaction will create a new AbstractCompactionFilter allowing the application to know about different compactions
AbstractCompactionFilterFactory() - Constructor for class org.rocksdb.AbstractCompactionFilterFactory
 
AbstractComparator<T extends AbstractSlice<?>> - Class in org.rocksdb
Comparators are used by RocksDB to determine the ordering of keys.
AbstractComparator(ComparatorOptions) - Constructor for class org.rocksdb.AbstractComparator
 
AbstractImmutableNativeReference - Class in org.rocksdb
Offers functionality for implementations of AbstractNativeReference which have an immutable reference to the underlying native C++ object
AbstractImmutableNativeReference(boolean) - Constructor for class org.rocksdb.AbstractImmutableNativeReference
 
AbstractNativeReference - Class in org.rocksdb
AbstractNativeReference is the base-class of all RocksDB classes that have a pointer to a native C++ rocksdb object.
AbstractNativeReference() - Constructor for class org.rocksdb.AbstractNativeReference
 
AbstractRocksIterator<P extends RocksObject> - Class in org.rocksdb
Base class implementation for Rocks Iterators in the Java API
AbstractRocksIterator(P, long) - Constructor for class org.rocksdb.AbstractRocksIterator
 
AbstractSlice<T> - Class in org.rocksdb
Slices are used by RocksDB to provide efficient access to keys and values.
AbstractSlice() - Constructor for class org.rocksdb.AbstractSlice
 
AbstractSlice(long) - Constructor for class org.rocksdb.AbstractSlice
 
AbstractWriteBatch - Class in org.rocksdb
 
AbstractWriteBatch(long) - Constructor for class org.rocksdb.AbstractWriteBatch
 
AccessHint - Enum in org.rocksdb
File access pattern once a compaction has started
accessHintOnCompactionStart() - Method in class org.rocksdb.DBOptions
 
accessHintOnCompactionStart() - Method in interface org.rocksdb.DBOptionsInterface
Specify the file access pattern once a compaction is started.
accessHintOnCompactionStart() - Method in class org.rocksdb.Options
 
add(Slice, Slice) - Method in class org.rocksdb.SstFileWriter
add(DirectSlice, DirectSlice) - Method in class org.rocksdb.SstFileWriter
AdvancedColumnFamilyOptionsInterface<T extends AdvancedColumnFamilyOptionsInterface> - Interface in org.rocksdb
Advanced Column Family Options which are not mutable (i.e.
AdvancedMutableColumnFamilyOptionsInterface<T extends AdvancedMutableColumnFamilyOptionsInterface> - Interface in org.rocksdb
Advanced Column Family Options which are mutable Taken from include/rocksdb/advanced_options.h and MutableCFOptions in util/cf_options.h
adviseRandomOnOpen() - Method in class org.rocksdb.DBOptions
 
adviseRandomOnOpen() - Method in interface org.rocksdb.DBOptionsInterface
If set true, will hint the underlying file system that the file access pattern is random, when a sst file is opened.
adviseRandomOnOpen() - Method in class org.rocksdb.Options
 
allow2pc() - Method in class org.rocksdb.DBOptions
 
allow2pc() - Method in interface org.rocksdb.DBOptionsInterface
if set to false then recovery will fail when a prepared transaction is encountered in the WAL Default: false
allow2pc() - Method in class org.rocksdb.Options
 
allowBlockingFlush() - Method in class org.rocksdb.IngestExternalFileOptions
If set to false and the file key range overlaps with the memtable key range (memtable flush required), IngestExternalFile will fail.
allowConcurrentMemtableWrite() - Method in class org.rocksdb.DBOptions
 
allowConcurrentMemtableWrite() - Method in interface org.rocksdb.DBOptionsInterface
If true, allow multi-writers to update mem tables in parallel.
allowConcurrentMemtableWrite() - Method in class org.rocksdb.Options
 
allowFAllocate() - Method in class org.rocksdb.DBOptions
 
allowFAllocate() - Method in interface org.rocksdb.DBOptionsInterface
Whether fallocate calls are allowed
allowFallocate() - Method in class org.rocksdb.EnvOptions
 
allowFAllocate() - Method in class org.rocksdb.Options
 
allowGlobalSeqNo() - Method in class org.rocksdb.IngestExternalFileOptions
If set to false, RocksDB.ingestExternalFile(ColumnFamilyHandle, List, IngestExternalFileOptions) will fail if the file key range overlaps with existing keys or tombstones in the DB.
allowMmapReads() - Method in class org.rocksdb.DBOptions
 
allowMmapReads() - Method in interface org.rocksdb.DBOptionsInterface
Allow the OS to mmap file for reading sst tables.
allowMmapReads() - Method in class org.rocksdb.Options
 
allowMmapWrites() - Method in class org.rocksdb.DBOptions
 
allowMmapWrites() - Method in interface org.rocksdb.DBOptionsInterface
Allow the OS to mmap file for writing.
allowMmapWrites() - Method in class org.rocksdb.Options
 
allowTrivialMove() - Method in class org.rocksdb.CompactionOptionsUniversal
Option to optimize the universal multi level compaction by enabling trivial move for non overlapping files.
arenaBlockSize() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The size of one block in arena memory allocation.
arenaBlockSize() - Method in class org.rocksdb.ColumnFamilyOptions
 
arenaBlockSize() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
arenaBlockSize() - Method in class org.rocksdb.Options
 
avoidFlushDuringRecovery() - Method in class org.rocksdb.DBOptions
 
avoidFlushDuringRecovery() - Method in interface org.rocksdb.DBOptionsInterface
By default RocksDB replay WAL logs and flush them on DB open, which may create very small SST files.
avoidFlushDuringRecovery() - Method in class org.rocksdb.Options
 
avoidFlushDuringShutdown() - Method in class org.rocksdb.DBOptions
 
avoidFlushDuringShutdown() - Method in interface org.rocksdb.DBOptionsInterface
By default RocksDB will flush all memtables on DB close if there are unpersisted data (i.e.
avoidFlushDuringShutdown() - Method in class org.rocksdb.Options
 

B

backgroundPurgeOnIteratorCleanup() - Method in class org.rocksdb.ReadOptions
If true, when PurgeObsoleteFile is called in CleanupIteratorState, we schedule a background job in the flush job queue and delete obsolete files in background.
BackupableDBOptions - Class in org.rocksdb
BackupableDBOptions to control the behavior of a backupable database.
BackupableDBOptions(String) - Constructor for class org.rocksdb.BackupableDBOptions
BackupableDBOptions constructor.
backupDir() - Method in class org.rocksdb.BackupableDBOptions
Returns the path to the BackupableDB directory.
BackupEngine - Class in org.rocksdb
BackupEngine allows you to backup and restore the database Be aware, that `new BackupEngine` takes time proportional to the amount of backups.
BackupEngine(long) - Constructor for class org.rocksdb.BackupEngine
 
backupEnv() - Method in class org.rocksdb.BackupableDBOptions
Backup Env object.
backupId() - Method in class org.rocksdb.BackupInfo
 
BackupInfo - Class in org.rocksdb
Instances of this class describe a Backup made by BackupEngine.
backupLogFiles() - Method in class org.rocksdb.BackupableDBOptions
Return information if log files shall be persisted.
backupRateLimit() - Method in class org.rocksdb.BackupableDBOptions
Return backup rate limit which described the max bytes that can be transferred in a second during backup.
backupRateLimiter() - Method in class org.rocksdb.BackupableDBOptions
Backup rate limiter.
baseBackgroundCompactions() - Method in class org.rocksdb.DBOptions
 
baseBackgroundCompactions() - Method in interface org.rocksdb.DBOptionsInterface
Suggested number of concurrent background compaction jobs, submitted to the default LOW priority thread pool.
baseBackgroundCompactions() - Method in class org.rocksdb.Options
 
BatchResult(long, long) - Constructor for class org.rocksdb.TransactionLogIterator.BatchResult
Constructor of BatchResult class.
BlockBasedTableConfig - Class in org.rocksdb
The config for plain table sst format.
BlockBasedTableConfig() - Constructor for class org.rocksdb.BlockBasedTableConfig
 
blockCacheCompressedNumShardBits() - Method in class org.rocksdb.BlockBasedTableConfig
Controls the number of shards for the block compressed cache.
blockCacheCompressedSize() - Method in class org.rocksdb.BlockBasedTableConfig
Size of compressed block cache.
blockCacheSize() - Method in class org.rocksdb.BlockBasedTableConfig
 
blockRestartInterval() - Method in class org.rocksdb.BlockBasedTableConfig
 
blockSize() - Method in class org.rocksdb.BlockBasedTableConfig
 
blockSizeDeviation() - Method in class org.rocksdb.BlockBasedTableConfig
 
bloomBitsPerKey() - Method in class org.rocksdb.PlainTableConfig
 
BloomFilter - Class in org.rocksdb
Bloom filter policy that uses a bloom filter with approximately the specified number of bits per key.
BloomFilter() - Constructor for class org.rocksdb.BloomFilter
BloomFilter constructor
BloomFilter(int) - Constructor for class org.rocksdb.BloomFilter
BloomFilter constructor
BloomFilter(int, boolean) - Constructor for class org.rocksdb.BloomFilter
BloomFilter constructor
bloomLocality() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Control locality of bloom filter probes to improve cache miss rate.
bloomLocality() - Method in class org.rocksdb.ColumnFamilyOptions
 
bloomLocality() - Method in class org.rocksdb.Options
 
bottommostCompressionType() - Method in class org.rocksdb.ColumnFamilyOptions
 
bottommostCompressionType() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Compression algorithm that will be used for the bottommost level that contain files.
bottommostCompressionType() - Method in class org.rocksdb.Options
 
branchingFactor() - Method in class org.rocksdb.HashSkipListMemTableConfig
 
bucketCount() - Method in class org.rocksdb.HashLinkedListMemTableConfig
Returns the number of buckets that will be used in the memtable created based on this config.
bucketCount() - Method in class org.rocksdb.HashSkipListMemTableConfig
 
bucketEntriesLoggingThreshold() - Method in class org.rocksdb.HashLinkedListMemTableConfig
Returns the maximum number of entries in one bucket before logging starts.
build() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
builder() - Static method in class org.rocksdb.MutableColumnFamilyOptions
Creates a builder which allows you to set MutableColumnFamilyOptions in a fluent manner
BuiltinComparator - Enum in org.rocksdb
Builtin RocksDB comparators BYTEWISE_COMPARATOR - Sorts all keys in ascending bytewise order. REVERSE_BYTEWISE_COMPARATOR - Sorts all keys in descending bytewise order
bytesPerSync() - Method in class org.rocksdb.DBOptions
 
bytesPerSync() - Method in interface org.rocksdb.DBOptionsInterface
Allows OS to incrementally sync files to disk while they are being written, asynchronously, in the background.
bytesPerSync() - Method in class org.rocksdb.EnvOptions
 
bytesPerSync() - Method in class org.rocksdb.Options
 
BytewiseComparator - Class in org.rocksdb.util
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
BytewiseComparator(ComparatorOptions) - Constructor for class org.rocksdb.util.BytewiseComparator
 

C

Cache - Class in org.rocksdb
 
Cache(long) - Constructor for class org.rocksdb.Cache
 
cacheIndexAndFilterBlocks() - Method in class org.rocksdb.BlockBasedTableConfig
Indicating if we'd put index/filter blocks to the block cache.
cacheNumShardBits() - Method in class org.rocksdb.BlockBasedTableConfig
Returns the number of shard bits used in the block cache.
callbackTriggerIntervalSize() - Method in class org.rocksdb.BackupableDBOptions
During backup user can get callback every time next BackupableDBOptions.callbackTriggerIntervalSize() bytes being copied.
CassandraCompactionFilter - Class in org.rocksdb
Just a Java wrapper around CassandraCompactionFilter implemented in C++
CassandraCompactionFilter(boolean, int) - Constructor for class org.rocksdb.CassandraCompactionFilter
 
CassandraValueMergeOperator - Class in org.rocksdb
CassandraValueMergeOperator is a merge operator that merges two cassandra wide column values.
CassandraValueMergeOperator(int) - Constructor for class org.rocksdb.CassandraValueMergeOperator
 
CassandraValueMergeOperator(int, int) - Constructor for class org.rocksdb.CassandraValueMergeOperator
 
Checkpoint - Class in org.rocksdb
Provides Checkpoint functionality.
checksumType() - Method in class org.rocksdb.BlockBasedTableConfig
 
ChecksumType - Enum in org.rocksdb
Checksum types used in conjunction with BlockBasedTable.
clear() - Method in class org.rocksdb.AbstractSlice
Clears the backing slice
clear() - Method in class org.rocksdb.AbstractWriteBatch
 
clear() - Method in class org.rocksdb.DirectSlice
 
clear() - Method in class org.rocksdb.Slice
 
clear() - Method in interface org.rocksdb.WriteBatchInterface
Clear all updates buffered in this batch
ClockCache - Class in org.rocksdb
Similar to LRUCache, but based on the CLOCK algorithm with better concurrent performance in some cases
ClockCache(long) - Constructor for class org.rocksdb.ClockCache
Create a new cache with a fixed size capacity.
ClockCache(long, int) - Constructor for class org.rocksdb.ClockCache
Create a new cache with a fixed size capacity.
ClockCache(long, int, boolean) - Constructor for class org.rocksdb.ClockCache
Create a new cache with a fixed size capacity.
close() - Method in class org.rocksdb.AbstractImmutableNativeReference
 
close() - Method in class org.rocksdb.AbstractNativeReference
Frees the underlying C++ object
close() - Method in class org.rocksdb.RocksMutableObject
 
close() - Method in class org.rocksdb.TtlDB
Close the TtlDB instance and release resource.
close() - Method in class org.rocksdb.WBWIRocksIterator
 
close() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
 
ColumnFamilyDescriptor - Class in org.rocksdb
Describes a column family with a name and respective Options.
ColumnFamilyDescriptor(byte[]) - Constructor for class org.rocksdb.ColumnFamilyDescriptor
Creates a new Column Family using a name and default options,
ColumnFamilyDescriptor(byte[], ColumnFamilyOptions) - Constructor for class org.rocksdb.ColumnFamilyDescriptor
Creates a new Column Family using a name and custom options.
ColumnFamilyHandle - Class in org.rocksdb
ColumnFamilyHandle class to hold handles to underlying rocksdb ColumnFamily Pointers.
columnFamilyName() - Method in class org.rocksdb.ColumnFamilyDescriptor
Retrieve name of column family.
columnFamilyOptions() - Method in class org.rocksdb.ColumnFamilyDescriptor
Retrieve assigned options instance.
ColumnFamilyOptions - Class in org.rocksdb
ColumnFamilyOptions to control the behavior of a database.
ColumnFamilyOptions() - Constructor for class org.rocksdb.ColumnFamilyOptions
Construct ColumnFamilyOptions.
ColumnFamilyOptions(long) - Constructor for class org.rocksdb.ColumnFamilyOptions
ColumnFamilyOptionsInterface<T extends ColumnFamilyOptionsInterface> - Interface in org.rocksdb
 
COMPACTION_POOL - Static variable in class org.rocksdb.Env
 
compactionOptionsFIFO() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The options for FIFO compaction style
compactionOptionsFIFO() - Method in class org.rocksdb.ColumnFamilyOptions
 
CompactionOptionsFIFO - Class in org.rocksdb
Options for FIFO Compaction
CompactionOptionsFIFO() - Constructor for class org.rocksdb.CompactionOptionsFIFO
 
compactionOptionsFIFO() - Method in class org.rocksdb.Options
 
compactionOptionsUniversal() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The options needed to support Universal Style compactions
compactionOptionsUniversal() - Method in class org.rocksdb.ColumnFamilyOptions
 
CompactionOptionsUniversal - Class in org.rocksdb
Options for Universal Compaction
CompactionOptionsUniversal() - Constructor for class org.rocksdb.CompactionOptionsUniversal
 
compactionOptionsUniversal() - Method in class org.rocksdb.Options
 
compactionPriority() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Get the Compaction priority if level compaction is used for all levels
compactionPriority() - Method in class org.rocksdb.ColumnFamilyOptions
 
CompactionPriority - Enum in org.rocksdb
Compaction Priorities
compactionPriority() - Method in class org.rocksdb.Options
 
compactionReadaheadSize() - Method in class org.rocksdb.DBOptions
 
compactionReadaheadSize() - Method in interface org.rocksdb.DBOptionsInterface
If non-zero, we perform bigger reads when doing compaction.
compactionReadaheadSize() - Method in class org.rocksdb.EnvOptions
 
compactionReadaheadSize() - Method in class org.rocksdb.Options
 
CompactionStopStyle - Enum in org.rocksdb
Algorithm used to make a compaction request stop picking new files into a single compaction run
compactionStyle() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Compaction style for DB.
compactionStyle() - Method in class org.rocksdb.ColumnFamilyOptions
 
CompactionStyle - Enum in org.rocksdb
Enum CompactionStyle RocksDB supports different styles of compaction.
compactionStyle() - Method in class org.rocksdb.Options
 
compactRange() - Method in class org.rocksdb.RocksDB
Range compaction of database.
compactRange(byte[], byte[]) - Method in class org.rocksdb.RocksDB
Range compaction of database.
compactRange(boolean, int, int) - Method in class org.rocksdb.RocksDB
Range compaction of database.
compactRange(byte[], byte[], boolean, int, int) - Method in class org.rocksdb.RocksDB
Range compaction of database.
compactRange(ColumnFamilyHandle) - Method in class org.rocksdb.RocksDB
Range compaction of column family.
compactRange(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Range compaction of column family.
compactRange(ColumnFamilyHandle, boolean, int, int) - Method in class org.rocksdb.RocksDB
Range compaction of column family.
compactRange(ColumnFamilyHandle, byte[], byte[], boolean, int, int) - Method in class org.rocksdb.RocksDB
Range compaction of column family.
Comparator - Class in org.rocksdb
Base class for comparators which will receive byte[] based access via org.rocksdb.Slice in their compare method implementation.
Comparator(ComparatorOptions) - Constructor for class org.rocksdb.Comparator
 
ComparatorOptions - Class in org.rocksdb
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++.
ComparatorOptions() - Constructor for class org.rocksdb.ComparatorOptions
 
compare(T, T) - Method in class org.rocksdb.AbstractComparator
Three-way key comparison
compare(AbstractSlice<?>) - Method in class org.rocksdb.AbstractSlice
Three-way key comparison
compare(Slice, Slice) - Method in class org.rocksdb.util.BytewiseComparator
 
compare(DirectSlice, DirectSlice) - Method in class org.rocksdb.util.DirectBytewiseComparator
 
compare(Slice, Slice) - Method in class org.rocksdb.util.ReverseBytewiseComparator
 
compressionOptions() - Method in class org.rocksdb.ColumnFamilyOptions
 
compressionOptions() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Get the different options for compression algorithms
CompressionOptions - Class in org.rocksdb
Options for Compression
CompressionOptions() - Constructor for class org.rocksdb.CompressionOptions
 
compressionOptions() - Method in class org.rocksdb.Options
 
compressionPerLevel() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Return the currently set CompressionType per instances.
compressionPerLevel() - Method in class org.rocksdb.ColumnFamilyOptions
 
compressionPerLevel() - Method in class org.rocksdb.Options
 
compressionSizePercent() - Method in class org.rocksdb.CompactionOptionsUniversal
If this option is set to be -1 (the default value), all the output files will follow compression type specified.
compressionType() - Method in class org.rocksdb.ColumnFamilyOptions
 
CompressionType - Enum in org.rocksdb
Enum CompressionType
compressionType() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
compressionType() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Compress blocks using the specified compression algorithm.
compressionType() - Method in class org.rocksdb.Options
 
Context(boolean, boolean) - Constructor for class org.rocksdb.AbstractCompactionFilter.Context
 
continueBackgroundWork() - Method in class org.rocksdb.RocksDB
Resumes backround work which was suspended by previously calling RocksDB.pauseBackgroundWork()
count() - Method in class org.rocksdb.AbstractWriteBatch
 
count() - Method in interface org.rocksdb.WriteBatchInterface
Returns the number of updates in the batch.
create(RocksDB) - Static method in class org.rocksdb.Checkpoint
Creates a Checkpoint object to be used for creating open-able snapshots.
createCheckpoint(String) - Method in class org.rocksdb.Checkpoint
Builds an open-able snapshot of RocksDB on the same disk, which accepts an output directory on the same disk, and under the directory (1) hard-linked SST files pointing to existing live SST files (2) a copied manifest files and other files
createColumnFamily(ColumnFamilyDescriptor) - Method in class org.rocksdb.RocksDB
Creates a new column family with the name columnFamilyName and allocates a ColumnFamilyHandle within an internal structure.
createColumnFamilyWithTtl(ColumnFamilyDescriptor, int) - Method in class org.rocksdb.TtlDB
Creates a new ttl based column family with a name defined in given ColumnFamilyDescriptor and allocates a ColumnFamilyHandle within an internal structure.
createCompactionFilter(AbstractCompactionFilter.Context) - Method in class org.rocksdb.AbstractCompactionFilterFactory
Create a new compaction filter
createIfMissing() - Method in class org.rocksdb.DBOptions
 
createIfMissing() - Method in interface org.rocksdb.DBOptionsInterface
Return true if the create_if_missing flag is set to true.
createIfMissing() - Method in class org.rocksdb.Options
 
createMissingColumnFamilies() - Method in class org.rocksdb.DBOptions
 
createMissingColumnFamilies() - Method in interface org.rocksdb.DBOptionsInterface
Return true if the create_missing_column_families flag is set to true.
createMissingColumnFamilies() - Method in class org.rocksdb.Options
 
createNewBackup(RocksDB) - Method in class org.rocksdb.BackupEngine
Captures the state of the database in the latest backup Just a convenience for BackupEngine.createNewBackup(RocksDB, boolean) with the flushBeforeBackup parameter set to false
createNewBackup(RocksDB, boolean) - Method in class org.rocksdb.BackupEngine
Captures the state of the database in the latest backup
createNewLoggerDbOptions(long) - Method in class org.rocksdb.Logger
 
createNewLoggerOptions(long) - Method in class org.rocksdb.Logger
 
createNewSliceFromString(String) - Static method in class org.rocksdb.AbstractSlice
 

D

data() - Method in class org.rocksdb.AbstractSlice
Returns the data of the slice.
data0(long) - Method in class org.rocksdb.AbstractSlice
Access to the data is provided by the subtype as it needs to handle the generic typing.
data0(long) - Method in class org.rocksdb.DirectSlice
 
data0(long) - Method in class org.rocksdb.Slice
 
dbLogDir() - Method in class org.rocksdb.DBOptions
 
dbLogDir() - Method in interface org.rocksdb.DBOptionsInterface
Returns the directory of info log.
dbLogDir() - Method in class org.rocksdb.Options
 
DBOptions - Class in org.rocksdb
DBOptions to control the behavior of a database.
DBOptions() - Constructor for class org.rocksdb.DBOptions
Construct DBOptions.
DBOptionsInterface<T extends DBOptionsInterface> - Interface in org.rocksdb
 
DbPath - Class in org.rocksdb
Tuple of database path and target size
DbPath(Path, long) - Constructor for class org.rocksdb.DbPath
 
dbPaths() - Method in class org.rocksdb.DBOptions
 
dbPaths() - Method in interface org.rocksdb.DBOptionsInterface
A list of paths where SST files can be put into, with its target size.
dbPaths() - Method in class org.rocksdb.Options
 
dbWriteBufferSize() - Method in class org.rocksdb.DBOptions
 
dbWriteBufferSize() - Method in interface org.rocksdb.DBOptionsInterface
Amount of data to build up in memtables across all column families before writing to disk.
dbWriteBufferSize() - Method in class org.rocksdb.Options
 
DEFAUL_THRESHOLD_USE_SKIPLIST - Static variable in class org.rocksdb.HashLinkedListMemTableConfig
 
DEFAULT_BLOOM_BITS_PER_KEY - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_BRANCHING_FACTOR - Static variable in class org.rocksdb.HashSkipListMemTableConfig
 
DEFAULT_BUCKET_COUNT - Static variable in class org.rocksdb.HashLinkedListMemTableConfig
 
DEFAULT_BUCKET_COUNT - Static variable in class org.rocksdb.HashSkipListMemTableConfig
 
DEFAULT_BUCKET_ENTRIES_LOG_THRES - Static variable in class org.rocksdb.HashLinkedListMemTableConfig
 
DEFAULT_COLUMN_FAMILY - Static variable in class org.rocksdb.RocksDB
 
DEFAULT_COMPACTION_MEMTABLE_MEMORY_BUDGET - Static variable in interface org.rocksdb.ColumnFamilyOptionsInterface
DEFAULT_ENCODING_TYPE - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_FULL_SCAN_MODE - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_HASH_TABLE_RATIO - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_HEIGHT - Static variable in class org.rocksdb.HashSkipListMemTableConfig
 
DEFAULT_HUGE_PAGE_TLB_SIZE - Static variable in class org.rocksdb.HashLinkedListMemTableConfig
 
DEFAULT_HUGE_TLB_SIZE - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_IF_LOG_BUCKET_DIST_WHEN_FLUSH - Static variable in class org.rocksdb.HashLinkedListMemTableConfig
 
DEFAULT_INDEX_SPARSENESS - Static variable in class org.rocksdb.PlainTableConfig
 
DEFAULT_LOOKAHEAD - Static variable in class org.rocksdb.SkipListMemTableConfig
 
DEFAULT_RESERVED_SIZE - Static variable in class org.rocksdb.VectorMemTableConfig
 
DEFAULT_STORE_INDEX_IN_FILE - Static variable in class org.rocksdb.PlainTableConfig
 
delayedWriteRate() - Method in class org.rocksdb.DBOptions
 
delayedWriteRate() - Method in interface org.rocksdb.DBOptionsInterface
The limited write rate to DB if ColumnFamilyOptions.softPendingCompactionBytesLimit() or ColumnFamilyOptions.level0SlowdownWritesTrigger() is triggered, or we are writing to the last mem table allowed and we allow more than 3 mem tables.
delayedWriteRate() - Method in class org.rocksdb.Options
 
delete(byte[]) - Method in class org.rocksdb.RocksDB
Delete the database entry (if any) for "key".
delete(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.RocksDB
Delete the database entry (if any) for "key".
delete(WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
Delete the database entry (if any) for "key".
delete(ColumnFamilyHandle, WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
Delete the database entry (if any) for "key".
delete(long, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
delete(long, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
delete(long, long, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
delete(long, long, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
delete(Slice) - Method in class org.rocksdb.SstFileWriter
Add a deletion key to currently opened file.
delete(DirectSlice) - Method in class org.rocksdb.SstFileWriter
Add a deletion key to currently opened file.
delete(byte[]) - Method in class org.rocksdb.SstFileWriter
Add a deletion key to currently opened file.
delete(byte[]) - Method in class org.rocksdb.WriteBatch.Handler
 
deleteBackup(int) - Method in class org.rocksdb.BackupEngine
Deletes a backup
deleteObsoleteFilesPeriodMicros() - Method in class org.rocksdb.DBOptions
 
deleteObsoleteFilesPeriodMicros() - Method in interface org.rocksdb.DBOptionsInterface
The periodicity when obsolete files get deleted.
deleteObsoleteFilesPeriodMicros() - Method in class org.rocksdb.Options
 
deleteRange(byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
deleteRange(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
deleteRange(byte[], byte[]) - Method in class org.rocksdb.RocksDB
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
deleteRange(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
deleteRange(WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
deleteRange(ColumnFamilyHandle, WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
deleteRange(long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
deleteRange(long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
deleteRange(long, long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
deleteRange(long, long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
deleteRange(byte[], byte[]) - Method in class org.rocksdb.WriteBatch.Handler
 
deleteRange(byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
deleteRange(ColumnFamilyHandle, byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Removes the database entries in the range ["beginKey", "endKey"), i.e., including "beginKey" and excluding "endKey".
destroyDB(String, Options) - Static method in class org.rocksdb.RocksDB
Static method to destroy the contents of the specified database.
destroyOldData() - Method in class org.rocksdb.BackupableDBOptions
Returns if old data will be destroyed will performing new backups.
DirectBytewiseComparator - Class in org.rocksdb.util
This is a Java Native implementation of the C++ equivalent BytewiseComparatorImpl using DirectSlice 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
DirectBytewiseComparator(ComparatorOptions) - Constructor for class org.rocksdb.util.DirectBytewiseComparator
 
DirectComparator - Class in org.rocksdb
Base class for comparators which will receive ByteBuffer based access via org.rocksdb.DirectSlice in their compare method implementation.
DirectComparator(ComparatorOptions) - Constructor for class org.rocksdb.DirectComparator
 
DirectSlice - Class in org.rocksdb
Base class for slices which will receive direct ByteBuffer based access to the underlying data.
DirectSlice(String) - Constructor for class org.rocksdb.DirectSlice
Constructs a slice where the data is taken from a String.
DirectSlice(ByteBuffer, int) - Constructor for class org.rocksdb.DirectSlice
Constructs a slice where the data is read from the provided ByteBuffer up to a certain length
DirectSlice(ByteBuffer) - Constructor for class org.rocksdb.DirectSlice
Constructs a slice where the data is read from the provided ByteBuffer
disableAutoCompactions() - Method in class org.rocksdb.ColumnFamilyOptions
 
disableAutoCompactions() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
disableAutoCompactions() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Disable automatic compactions.
disableAutoCompactions() - Method in class org.rocksdb.Options
 
disableFileDeletions() - Method in class org.rocksdb.RocksDB
Prevent file deletions.
disableWAL() - Method in class org.rocksdb.WriteOptions
If true, writes will not first go to the write ahead log, and the write may got lost after a crash.
disOwnNativeHandle() - Method in class org.rocksdb.AbstractImmutableNativeReference
Releases this AbstractNativeReference from the responsibility of freeing the underlying native C++ object
dispose() - Method in class org.rocksdb.AbstractNativeReference
Deprecated.
disposeInternal(long) - Method in class org.rocksdb.AbstractCompactionFilter
Deletes underlying C++ compaction pointer.
disposeInternal() - Method in class org.rocksdb.AbstractCompactionFilterFactory
We override RocksCallbackObject.disposeInternal() as disposing of a rocksdb::AbstractCompactionFilterFactory requires a slightly different approach as it is a std::shared_ptr
disposeInternal() - Method in class org.rocksdb.AbstractImmutableNativeReference
The helper function of AbstractNativeReference.dispose() which all subclasses of AbstractImmutableNativeReference must implement to release their underlying native C++ objects.
disposeInternal() - Method in class org.rocksdb.AbstractRocksIterator
Deletes underlying C++ iterator pointer.
disposeInternal(long) - Method in class org.rocksdb.AbstractSlice
Deletes underlying C++ slice pointer.
disposeInternal(long) - Method in class org.rocksdb.BackupableDBOptions
 
disposeInternal(long) - Method in class org.rocksdb.BackupEngine
 
disposeInternal(long) - Method in class org.rocksdb.CassandraValueMergeOperator
 
disposeInternal(long) - Method in class org.rocksdb.Checkpoint
 
disposeInternal(long) - Method in class org.rocksdb.ClockCache
 
disposeInternal() - Method in class org.rocksdb.ColumnFamilyHandle
Deletes underlying C++ iterator pointer.
disposeInternal(long) - Method in class org.rocksdb.ColumnFamilyHandle
 
disposeInternal(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
disposeInternal(long) - Method in class org.rocksdb.CompactionOptionsFIFO
 
disposeInternal(long) - Method in class org.rocksdb.CompactionOptionsUniversal
 
disposeInternal(long) - Method in class org.rocksdb.ComparatorOptions
 
disposeInternal(long) - Method in class org.rocksdb.CompressionOptions
 
disposeInternal(long) - Method in class org.rocksdb.DBOptions
 
disposeInternal() - Method in class org.rocksdb.DirectSlice
 
disposeInternal(long) - Method in class org.rocksdb.EnvOptions
 
disposeInternal() - Method in class org.rocksdb.Filter
Deletes underlying C++ filter pointer.
disposeInternal(long) - Method in class org.rocksdb.Filter
 
disposeInternal(long) - Method in class org.rocksdb.FlushOptions
 
disposeInternal(long) - Method in class org.rocksdb.IngestExternalFileOptions
 
disposeInternal() - Method in class org.rocksdb.Logger
We override RocksCallbackObject.disposeInternal() as disposing of a rocksdb::LoggerJniCallback requires a slightly different approach as it is a std::shared_ptr
disposeInternal(long) - Method in class org.rocksdb.LRUCache
 
disposeInternal(long) - Method in class org.rocksdb.Options
 
disposeInternal(long) - Method in class org.rocksdb.RateLimiter
 
disposeInternal(long) - Method in class org.rocksdb.ReadOptions
 
disposeInternal(long) - Method in class org.rocksdb.RestoreOptions
 
disposeInternal() - Method in class org.rocksdb.RocksCallbackObject
Deletes underlying C++ native callback object pointer
disposeInternal(long) - Method in class org.rocksdb.RocksDB
 
disposeInternal(long) - Method in class org.rocksdb.RocksEnv
The helper function of AbstractNativeReference.dispose() which all subclasses of RocksObject must implement to release their associated C++ resource.
disposeInternal(long) - Method in class org.rocksdb.RocksIterator
 
disposeInternal(long) - Method in class org.rocksdb.RocksMemEnv
 
disposeInternal() - Method in class org.rocksdb.RocksMutableObject
 
disposeInternal(long) - Method in class org.rocksdb.RocksMutableObject
 
disposeInternal() - Method in class org.rocksdb.RocksObject
Deletes underlying C++ object pointer.
disposeInternal(long) - Method in class org.rocksdb.RocksObject
 
disposeInternal() - Method in class org.rocksdb.Slice
Deletes underlying C++ slice pointer and any buffered data.
disposeInternal(long) - Method in class org.rocksdb.Snapshot
Dont release C++ Snapshot pointer.
disposeInternal(long) - Method in class org.rocksdb.SstFileWriter
 
disposeInternal(long) - Method in class org.rocksdb.Statistics
 
disposeInternal(long) - Method in class org.rocksdb.StringAppendOperator
 
disposeInternal(long) - Method in class org.rocksdb.TransactionLogIterator
 
disposeInternal(long) - Method in class org.rocksdb.WBWIRocksIterator
 
disposeInternal(long) - Method in class org.rocksdb.WriteBatch
 
disposeInternal(long) - Method in class org.rocksdb.WriteBatchWithIndex
 
disposeInternal(long) - Method in class org.rocksdb.WriteOptions
 
dropColumnFamily(ColumnFamilyHandle) - Method in class org.rocksdb.RocksDB
Drops the column family identified by columnFamilyName.
dumpMallocStats() - Method in class org.rocksdb.DBOptions
 
dumpMallocStats() - Method in interface org.rocksdb.DBOptionsInterface
If true, then print malloc stats together with rocksdb.stats when printing to LOG.
dumpMallocStats() - Method in class org.rocksdb.Options
 

E

empty() - Method in class org.rocksdb.AbstractSlice
Return true if the length of the data is zero.
enableFileDeletions(boolean) - Method in class org.rocksdb.RocksDB
Allow compactions to delete obsolete files.
enableThreadTracking() - Method in class org.rocksdb.DBOptions
 
enableThreadTracking() - Method in interface org.rocksdb.DBOptionsInterface
If true, then the status of the threads involved in this DB will be tracked and available via GetThreadList() API.
enableThreadTracking() - Method in class org.rocksdb.Options
 
enableWriteThreadAdaptiveYield() - Method in class org.rocksdb.DBOptions
 
enableWriteThreadAdaptiveYield() - Method in interface org.rocksdb.DBOptionsInterface
If true, threads synchronizing with the write batch group leader will wait for up to DBOptionsInterface.writeThreadMaxYieldUsec() before blocking on a mutex.
enableWriteThreadAdaptiveYield() - Method in class org.rocksdb.Options
 
EncodingType - Enum in org.rocksdb
EncodingType
encodingType() - Method in class org.rocksdb.PlainTableConfig
Returns the active EncodingType
entry() - Method in class org.rocksdb.WBWIRocksIterator
Get the current entry The WriteEntry is only valid until the iterator is repositioned.
Env - Class in org.rocksdb
Base class for all Env implementations in RocksDB.
Env(long) - Constructor for class org.rocksdb.Env
 
Environment - Class in org.rocksdb.util
 
Environment() - Constructor for class org.rocksdb.util.Environment
 
EnvOptions - Class in org.rocksdb
 
EnvOptions() - Constructor for class org.rocksdb.EnvOptions
 
equals(Object) - Method in class org.rocksdb.AbstractSlice
If other is a slice object, then we defer to compare to check equality, otherwise we return false.
equals(Object) - Method in class org.rocksdb.DbPath
 
equals(Object) - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
 
errorIfExists() - Method in class org.rocksdb.DBOptions
 
errorIfExists() - Method in interface org.rocksdb.DBOptionsInterface
If true, an error will be thrown during RocksDB.open() if the database already exists.
errorIfExists() - Method in class org.rocksdb.Options
 
Experimental - Annotation Type in org.rocksdb
Marks a feature as experimental, meaning that it is likely to change or even be removed/re-engineered in the future

F

failIfOptionsFileError() - Method in class org.rocksdb.DBOptions
 
failIfOptionsFileError() - Method in interface org.rocksdb.DBOptionsInterface
If true, then DB::Open / CreateColumnFamily / DropColumnFamily / SetOptions will fail if options file is not detected or properly persisted.
failIfOptionsFileError() - Method in class org.rocksdb.Options
 
fallocateWithKeepSize() - Method in class org.rocksdb.EnvOptions
 
fillCache() - Method in class org.rocksdb.ReadOptions
Fill the cache when loading the block-based sst formated db.
Filter - Class in org.rocksdb
Filters are stored in rocksdb and are consulted automatically by rocksdb to decide whether or not to read some information from disk.
Filter(long) - Constructor for class org.rocksdb.Filter
 
finalize() - Method in class org.rocksdb.AbstractNativeReference
Deprecated.
You should not rely on GC of Rocks objects, and instead should either call AbstractNativeReference.close() manually or make use of some sort of ARM (Automatic Resource Management) such as Java 7's try-with-resources statement
finalize() - Method in class org.rocksdb.TtlDB
 
findShortestSeparator(String, T) - Method in class org.rocksdb.AbstractComparator
Used to reduce the space requirements for internal data structures like index blocks.
findShortestSeparator(String, Slice) - Method in class org.rocksdb.util.BytewiseComparator
 
findShortestSeparator(String, DirectSlice) - Method in class org.rocksdb.util.DirectBytewiseComparator
 
findShortSuccessor(String) - Method in class org.rocksdb.AbstractComparator
Used to reduce the space requirements for internal data structures like index blocks.
findShortSuccessor(String) - Method in class org.rocksdb.util.BytewiseComparator
 
findShortSuccessor(String) - Method in class org.rocksdb.util.DirectBytewiseComparator
 
finish() - Method in class org.rocksdb.SstFileWriter
Finish the process and close the sst file.
flush(FlushOptions) - Method in class org.rocksdb.RocksDB
Flush all memory table data.
flush(FlushOptions, ColumnFamilyHandle) - Method in class org.rocksdb.RocksDB
Flush all memory table data.
FLUSH_POOL - Static variable in class org.rocksdb.Env
 
FlushOptions - Class in org.rocksdb
FlushOptions to be passed to flush operations of RocksDB.
FlushOptions() - Constructor for class org.rocksdb.FlushOptions
Construct a new instance of FlushOptions.
forceConsistencyChecks() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
In debug mode, RocksDB run consistency checks on the LSM everytime the LSM change (Flush, Compaction, AddFile).
forceConsistencyChecks() - Method in class org.rocksdb.ColumnFamilyOptions
 
forceConsistencyChecks() - Method in class org.rocksdb.Options
 
formatVersion() - Method in class org.rocksdb.BlockBasedTableConfig
 
fromId(byte) - Static method in enum org.rocksdb.WBWIRocksIterator.WriteType
 
fromString(String, String) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
fullScanMode() - Method in class org.rocksdb.PlainTableConfig
Return if full scan mode is active

G

garbageCollect() - Method in class org.rocksdb.BackupEngine
Will delete all the files we don't need anymore.
GB - Static variable in class org.rocksdb.util.SizeUnit
 
get(int) - Method in class org.rocksdb.DirectSlice
Retrieves the byte at a specific offset from the underlying data
get(byte[], byte[]) - Method in class org.rocksdb.RocksDB
Get the value associated with the specified key within column family*
get(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Get the value associated with the specified key within column family.
get(ReadOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Get the value associated with the specified key.
get(ColumnFamilyHandle, ReadOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Get the value associated with the specified key within column family.
get(byte[]) - Method in class org.rocksdb.RocksDB
The simplified version of get which returns a new byte array storing the value associated with the specified input key if any.
get(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.RocksDB
The simplified version of get which returns a new byte array storing the value associated with the specified input key if any.
get(ReadOptions, byte[]) - Method in class org.rocksdb.RocksDB
The simplified version of get which returns a new byte array storing the value associated with the specified input key if any.
get(ColumnFamilyHandle, ReadOptions, byte[]) - Method in class org.rocksdb.RocksDB
The simplified version of get which returns a new byte array storing the value associated with the specified input key if any.
get(long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
get(long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
get(long, long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
get(long, long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
get(long, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
get(long, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
get(long, long, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
get(long, long, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
getAccessHint(byte) - Static method in enum org.rocksdb.AccessHint
Get the AccessHint enumeration value by passing the byte identifier to this method.
getAndResetTickerCount(TickerType) - Method in class org.rocksdb.Statistics
Get the count for a ticker and reset the tickers count.
getAverage() - Method in class org.rocksdb.HistogramData
 
getBackupInfo() - Method in class org.rocksdb.BackupEngine
Gets information about the available backups
getBatch() - Method in class org.rocksdb.TransactionLogIterator
If iterator position is valid, return the current write_batch and the sequence number of the earliest transaction contained in the batch.
getCallback() - Method in class org.rocksdb.StatsCollectorInput
 
getCode(byte) - Static method in enum org.rocksdb.Status.Code
 
getCode() - Method in class org.rocksdb.Status
 
getCodeString() - Method in class org.rocksdb.Status
 
getColumnFamilyOptionsFromProps(Properties) - Static method in class org.rocksdb.ColumnFamilyOptions
Method to get a options instance by using pre-configured property values.
getCompactionPriority(byte) - Static method in enum org.rocksdb.CompactionPriority
Get CompactionPriority by byte value.
getCompactionStopStyle(byte) - Static method in enum org.rocksdb.CompactionStopStyle
Get CompactionStopStyle by byte value.
getCompressionType(String) - Static method in enum org.rocksdb.CompressionType
Get the CompressionType enumeration value by passing the library name to this method.
getCompressionType(byte) - Static method in enum org.rocksdb.CompressionType
Get the CompressionType enumeration value by passing the byte identifier to this method.
getCorruptedBackups() - Method in class org.rocksdb.BackupEngine
Returns a list of corrupted backup ids.
getDBOptionsFromProps(Properties) - Static method in class org.rocksdb.DBOptions
Method to get a options instance by using pre-configured property values.
getDefault() - Static method in class org.rocksdb.Env
Returns the default environment suitable for the current operating system.
getDefaultColumnFamily() - Method in class org.rocksdb.RocksDB
Gets the handle for the default column family
getEnv() - Method in class org.rocksdb.DBOptions
 
getEnv() - Method in interface org.rocksdb.DBOptionsInterface
Returns the set RocksEnv instance.
getEnv() - Method in class org.rocksdb.Options
 
getFromBatch(ColumnFamilyHandle, DBOptions, byte[]) - Method in class org.rocksdb.WriteBatchWithIndex
Similar to RocksDB.get(ColumnFamilyHandle, byte[]) but will only read the key from this batch.
getFromBatch(DBOptions, byte[]) - Method in class org.rocksdb.WriteBatchWithIndex
Similar to RocksDB.get(byte[]) but will only read the key from this batch.
getFromBatchAndDB(RocksDB, ColumnFamilyHandle, ReadOptions, byte[]) - Method in class org.rocksdb.WriteBatchWithIndex
Similar to RocksDB.get(ColumnFamilyHandle, byte[]) but will also read writes from this batch.
getFromBatchAndDB(RocksDB, ReadOptions, byte[]) - Method in class org.rocksdb.WriteBatchWithIndex
Similar to RocksDB.get(byte[]) but will also read writes from this batch.
getHistogramData(HistogramType) - Method in class org.rocksdb.Statistics
Gets the histogram data for a particular histogram.
getHistogramString(HistogramType) - Method in class org.rocksdb.Statistics
Gets a string representation of a particular histogram.
getInfoLogLevel(byte) - Static method in enum org.rocksdb.InfoLogLevel
Get InfoLogLevel by byte value.
getInstance() - Static method in class org.rocksdb.NativeLibraryLoader
Get a reference to the NativeLibraryLoader
getJniLibraryExtension() - Static method in class org.rocksdb.util.Environment
 
getJniLibraryFileName(String) - Static method in class org.rocksdb.util.Environment
 
getJniLibraryName(String) - Static method in class org.rocksdb.util.Environment
 
getKey() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
Returns the key of the Write Entry
getLatestOptionsFileName(String, Env) - Static method in class org.rocksdb.OptionsUtil
Returns the latest options file name under the specified RocksDB path.
getLatestSequenceNumber() - Method in class org.rocksdb.RocksDB
The sequence number of the most recent transaction.
getLibraryName() - Method in enum org.rocksdb.CompressionType
Returns the library name of the compression type identified by the enumeration value.
getLongProperty(String) - Method in class org.rocksdb.RocksDB
Similar to GetProperty(), but only works for a subset of properties whose return value is a numerical value.
getLongProperty(ColumnFamilyHandle, String) - Method in class org.rocksdb.RocksDB
Similar to GetProperty(), but only works for a subset of properties whose return value is a numerical value.
getLongProperty(long, String, int) - Method in class org.rocksdb.RocksDB
 
getLongProperty(long, long, String, int) - Method in class org.rocksdb.RocksDB
 
getMedian() - Method in class org.rocksdb.HistogramData
 
getNativeHandle() - Method in class org.rocksdb.RocksMutableObject
Gets the value of the C++ pointer pointing to the underlying native C++ object
getPercentile95() - Method in class org.rocksdb.HistogramData
 
getPercentile99() - Method in class org.rocksdb.HistogramData
 
getProperty(ColumnFamilyHandle, String) - Method in class org.rocksdb.RocksDB
DB implements can export properties about their state via this method on a per column family level.
getProperty(String) - Method in class org.rocksdb.RocksDB
DB implementations can export properties about their state via this method.
getProperty0(long, String, int) - Method in class org.rocksdb.RocksDB
 
getProperty0(long, long, String, int) - Method in class org.rocksdb.RocksDB
 
getReadTier(byte) - Static method in enum org.rocksdb.ReadTier
Get ReadTier by byte value.
getSequenceNumber() - Method in class org.rocksdb.Snapshot
Return the associated sequence number;
getSharedLibraryFileName(String) - Static method in class org.rocksdb.util.Environment
 
getSharedLibraryName(String) - Static method in class org.rocksdb.util.Environment
 
getSingleBurstBytes() - Method in class org.rocksdb.RateLimiter
Max bytes can be granted in a single burst.
getSnapshot() - Method in class org.rocksdb.RocksDB
Return a handle to the current DB state.
getSnapshot(long) - Method in class org.rocksdb.RocksDB
 
getStandardDeviation() - Method in class org.rocksdb.HistogramData
 
getState() - Method in class org.rocksdb.Status
 
getStatistics() - Method in class org.rocksdb.StatsCollectorInput
 
getStatsLevel(byte) - Static method in enum org.rocksdb.StatsLevel
Get StatsLevel by byte value.
getStatus() - Method in exception org.rocksdb.RocksDBException
Get the status returned from RocksDB
getSubCode() - Method in class org.rocksdb.Status
 
getSubCode(byte) - Static method in enum org.rocksdb.Status.SubCode
 
getThreadPoolQueueLen(int) - Method in class org.rocksdb.Env
Returns the length of the queue associated with the specified thread pool.
getTickerCount(TickerType) - Method in class org.rocksdb.Statistics
Get the count for a ticker.
getTotalBytesThrough() - Method in class org.rocksdb.RateLimiter
Total bytes that go though rate limiter.
getTotalRequests() - Method in class org.rocksdb.RateLimiter
Total # of requests that go though rate limiter.
getType() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
Returns the type of the Write Entry
getUpdatesSince(long) - Method in class org.rocksdb.RocksDB
Returns an iterator that is positioned at a write-batch containing seq_number.
getValue() - Method in enum org.rocksdb.AccessHint
Returns the byte value of the enumerations value.
getValue() - Method in enum org.rocksdb.ChecksumType
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.CompactionPriority
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.CompactionStopStyle
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.CompactionStyle
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.CompressionType
Returns the byte value of the enumerations value.
getValue() - Method in enum org.rocksdb.EncodingType
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.HistogramType
 
getValue() - Method in enum org.rocksdb.IndexType
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.InfoLogLevel
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.ReadTier
Returns the byte value of the enumerations value
getValue() - Method in enum org.rocksdb.StatsLevel
Returns the byte value of the enumerations value.
getValue() - Method in enum org.rocksdb.TickerType
 
getValue() - Method in enum org.rocksdb.WALRecoveryMode
Returns the byte value of the enumerations value.
getValue() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
Returns the value of the Write Entry
getValueType() - Method in enum org.rocksdb.MutableColumnFamilyOptions.CompactionOption
 
getValueType() - Method in enum org.rocksdb.MutableColumnFamilyOptions.MemtableOption
 
getValueType() - Method in enum org.rocksdb.MutableColumnFamilyOptions.MiscOption
 
getWALRecoveryMode(byte) - Static method in enum org.rocksdb.WALRecoveryMode
Get the WALRecoveryMode enumeration value by passing the byte identifier to this method.

H

Handler() - Constructor for class org.rocksdb.WriteBatch.Handler
 
hardPendingCompactionBytesLimit() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
All writes are stopped if estimated bytes needed to be compaction exceed this threshold.
hardPendingCompactionBytesLimit() - Method in class org.rocksdb.ColumnFamilyOptions
 
hardPendingCompactionBytesLimit() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
hardPendingCompactionBytesLimit() - Method in class org.rocksdb.Options
 
hashCode() - Method in class org.rocksdb.AbstractSlice
 
hashCode() - Method in class org.rocksdb.DbPath
 
hashCode() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
Generates a hash code for the Write Entry.
hashIndexAllowCollision() - Method in class org.rocksdb.BlockBasedTableConfig
Influence the behavior when kHashSearch is used.
HashLinkedListMemTableConfig - Class in org.rocksdb
The config for hash linked list memtable representation Such memtable contains a fix-sized array of buckets, where each bucket points to a sorted singly-linked list (or null if the bucket is empty).
HashLinkedListMemTableConfig() - Constructor for class org.rocksdb.HashLinkedListMemTableConfig
HashLinkedListMemTableConfig constructor
HashSkipListMemTableConfig - Class in org.rocksdb
The config for hash skip-list mem-table representation.
HashSkipListMemTableConfig() - Constructor for class org.rocksdb.HashSkipListMemTableConfig
HashSkipListMemTableConfig constructor
hashTableRatio() - Method in class org.rocksdb.PlainTableConfig
 
height() - Method in class org.rocksdb.HashSkipListMemTableConfig
 
histogramCallback(HistogramType, HistogramData) - Method in interface org.rocksdb.StatisticsCollectorCallback
Callback function to get histogram values.
HistogramData - Class in org.rocksdb
 
HistogramData(double, double, double, double, double) - Constructor for class org.rocksdb.HistogramData
 
HistogramType - Enum in org.rocksdb
 
hugePageTlbSize() - Method in class org.rocksdb.HashLinkedListMemTableConfig
Returns the size value of hugePageTlbSize.
hugePageTlbSize() - Method in class org.rocksdb.PlainTableConfig
Returns the value for huge page tlb size

I

ifLogBucketDistWhenFlush() - Method in class org.rocksdb.HashLinkedListMemTableConfig
Returns information about logging the distribution of number of entries on flush.
ignoreMissingColumnFamilies() - Method in class org.rocksdb.WriteOptions
If true and if user is trying to write to column families that don't exist (they were dropped), ignore the write (don't return an error).
ignoreRangeDeletions() - Method in class org.rocksdb.ReadOptions
If true, keys deleted using the DeleteRange() API will be visible to readers until they are naturally deleted during compaction.
indexSparseness() - Method in class org.rocksdb.PlainTableConfig
 
indexType() - Method in class org.rocksdb.BlockBasedTableConfig
 
IndexType - Enum in org.rocksdb
IndexType used in conjunction with BlockBasedTable.
infoLog() - Method in class org.rocksdb.BackupableDBOptions
Set the logger to use for Backup info and error messages Default: null
infoLogLevel() - Method in class org.rocksdb.DBOptions
 
infoLogLevel() - Method in interface org.rocksdb.DBOptionsInterface
Returns currently set log level.
InfoLogLevel - Enum in org.rocksdb
RocksDB log levels.
infoLogLevel() - Method in class org.rocksdb.Logger
Return the loggers log level.
infoLogLevel(long) - Method in class org.rocksdb.Logger
 
infoLogLevel() - Method in class org.rocksdb.Options
 
ingestExternalFile(List<String>, IngestExternalFileOptions) - Method in class org.rocksdb.RocksDB
ingestExternalFile will load a list of external SST files (1) into the DB We will try to find the lowest possible level that the file can fit in, and ingest the file into this level (2).
ingestExternalFile(ColumnFamilyHandle, List<String>, IngestExternalFileOptions) - Method in class org.rocksdb.RocksDB
ingestExternalFile will load a list of external SST files (1) into the DB We will try to find the lowest possible level that the file can fit in, and ingest the file into this level (2).
IngestExternalFileOptions - Class in org.rocksdb
IngestExternalFileOptions() - Constructor for class org.rocksdb.IngestExternalFileOptions
 
IngestExternalFileOptions(boolean, boolean, boolean, boolean) - Constructor for class org.rocksdb.IngestExternalFileOptions
 
initializeNative(long...) - Method in class org.rocksdb.AbstractCompactionFilterFactory
 
initializeNative(long...) - Method in class org.rocksdb.Comparator
 
initializeNative(long...) - Method in class org.rocksdb.DirectComparator
 
initializeNative(long...) - Method in class org.rocksdb.Logger
 
initializeNative(long...) - Method in class org.rocksdb.RocksCallbackObject
Construct the Native C++ object which will callback to our object methods
initializeNative(long...) - Method in class org.rocksdb.WriteBatch.Handler
 
inplaceUpdateNumLocks() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Number of locks used for inplace update Default: 10000, if inplace_update_support = true, else 0.
inplaceUpdateNumLocks() - Method in class org.rocksdb.ColumnFamilyOptions
 
inplaceUpdateNumLocks() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
inplaceUpdateNumLocks() - Method in class org.rocksdb.Options
 
inplaceUpdateSupport() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Allows thread-safe inplace updates.
inplaceUpdateSupport() - Method in class org.rocksdb.ColumnFamilyOptions
 
inplaceUpdateSupport() - Method in class org.rocksdb.Options
 
is64Bit() - Static method in class org.rocksdb.util.Environment
 
isAix() - Static method in class org.rocksdb.util.Environment
 
isFdCloseOnExec() - Method in class org.rocksdb.DBOptions
 
isFdCloseOnExec() - Method in interface org.rocksdb.DBOptionsInterface
Disable child process inherit open files.
isFdCloseOnExec() - Method in class org.rocksdb.Options
 
isFullCompaction() - Method in class org.rocksdb.AbstractCompactionFilter.Context
Does this compaction run include all data files
isMac() - Static method in class org.rocksdb.util.Environment
 
isManualCompaction() - Method in class org.rocksdb.AbstractCompactionFilter.Context
Is this compaction requested by the client, or is it occurring as an automatic compaction process
isOwningHandle() - Method in class org.rocksdb.AbstractImmutableNativeReference
 
isOwningHandle() - Method in class org.rocksdb.AbstractNativeReference
Returns true if we are responsible for freeing the underlying C++ object
isOwningHandle() - Method in class org.rocksdb.RocksMutableObject
 
isPowerPC() - Static method in class org.rocksdb.util.Environment
 
isSolaris() - Static method in class org.rocksdb.util.Environment
 
isUnix() - Static method in class org.rocksdb.util.Environment
 
isValid() - Method in class org.rocksdb.AbstractRocksIterator
 
isValid() - Method in interface org.rocksdb.RocksIteratorInterface
An iterator is either positioned at an entry, or not valid.
isValid() - Method in class org.rocksdb.TransactionLogIterator
An iterator is either positioned at a WriteBatch or not valid.
isWindows() - Static method in class org.rocksdb.util.Environment
 
iterate(WriteBatch.Handler) - Method in class org.rocksdb.WriteBatch
Support for iterating over the contents of a batch.
iterateUpperBound() - Method in class org.rocksdb.ReadOptions
Defines the extent upto which the forward iterator can returns entries.
iterateUpperBoundSlice_ - Variable in class org.rocksdb.ReadOptions
 
iterator(long) - Method in class org.rocksdb.RocksDB
 
iterator(long, long) - Method in class org.rocksdb.RocksDB
 
iteratorCF(long, long) - Method in class org.rocksdb.RocksDB
 
iteratorCF(long, long, long) - Method in class org.rocksdb.RocksDB
 
iterators(long, long[], long) - Method in class org.rocksdb.RocksDB
 

K

KB - Static variable in class org.rocksdb.util.SizeUnit
 
keepLogFileNum() - Method in class org.rocksdb.DBOptions
 
keepLogFileNum() - Method in interface org.rocksdb.DBOptionsInterface
Returns the maximum number of info log files to be kept.
keepLogFileNum() - Method in class org.rocksdb.Options
 
key() - Method in class org.rocksdb.RocksIterator
Return the key for the current entry.
keyMayExist(byte[], StringBuilder) - Method in class org.rocksdb.RocksDB
If the key definitely does not exist in the database, then this method returns false, else true.
keyMayExist(ColumnFamilyHandle, byte[], StringBuilder) - Method in class org.rocksdb.RocksDB
If the key definitely does not exist in the database, then this method returns false, else true.
keyMayExist(ReadOptions, byte[], StringBuilder) - Method in class org.rocksdb.RocksDB
If the key definitely does not exist in the database, then this method returns false, else true.
keyMayExist(ReadOptions, ColumnFamilyHandle, byte[], StringBuilder) - Method in class org.rocksdb.RocksDB
If the key definitely does not exist in the database, then this method returns false, else true.
keyMayExist(long, byte[], int, int, StringBuilder) - Method in class org.rocksdb.RocksDB
 
keyMayExist(long, byte[], int, int, long, StringBuilder) - Method in class org.rocksdb.RocksDB
 
keyMayExist(long, long, byte[], int, int, StringBuilder) - Method in class org.rocksdb.RocksDB
 
keyMayExist(long, long, byte[], int, int, long, StringBuilder) - Method in class org.rocksdb.RocksDB
 
keySize() - Method in class org.rocksdb.PlainTableConfig
 

L

level() - Method in class org.rocksdb.CompressionOptions
 
level0FileNumCompactionTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
level0FileNumCompactionTrigger() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
level0FileNumCompactionTrigger() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Number of files to trigger level-0 compaction.
level0FileNumCompactionTrigger() - Method in class org.rocksdb.Options
 
level0SlowdownWritesTrigger() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Soft limit on number of level-0 files.
level0SlowdownWritesTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
level0SlowdownWritesTrigger() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
level0SlowdownWritesTrigger() - Method in class org.rocksdb.Options
 
level0StopWritesTrigger() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Maximum number of level-0 files.
level0StopWritesTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
level0StopWritesTrigger() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
level0StopWritesTrigger() - Method in class org.rocksdb.Options
 
levelCompactionDynamicLevelBytes() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Return if LevelCompactionDynamicLevelBytes is enabled.
levelCompactionDynamicLevelBytes() - Method in class org.rocksdb.ColumnFamilyOptions
 
levelCompactionDynamicLevelBytes() - Method in class org.rocksdb.Options
 
levelZeroFileNumCompactionTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
levelZeroFileNumCompactionTrigger() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
The number of files in level 0 to trigger compaction from level-0 to level-1.
levelZeroFileNumCompactionTrigger() - Method in class org.rocksdb.Options
 
levelZeroSlowdownWritesTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
levelZeroSlowdownWritesTrigger() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Soft limit on the number of level-0 files.
levelZeroSlowdownWritesTrigger() - Method in class org.rocksdb.Options
 
levelZeroStopWritesTrigger() - Method in class org.rocksdb.ColumnFamilyOptions
 
levelZeroStopWritesTrigger() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Maximum number of level-0 files.
levelZeroStopWritesTrigger() - Method in class org.rocksdb.Options
 
listColumnFamilies(Options, String) - Static method in class org.rocksdb.RocksDB
Static method to determine all available column families for a rocksdb database identified by path
listColumnFamilies(long, String) - Static method in class org.rocksdb.RocksDB
 
loadLatestOptions(String, Env, DBOptions, List<ColumnFamilyDescriptor>) - Static method in class org.rocksdb.OptionsUtil
A static method to construct the DBOptions and ColumnFamilyDescriptors by loading the latest RocksDB options file stored in the specified rocksdb database.
loadLatestOptions(String, Env, DBOptions, List<ColumnFamilyDescriptor>, boolean) - Static method in class org.rocksdb.OptionsUtil
 
loadLibrary(String) - Method in class org.rocksdb.NativeLibraryLoader
Firstly attempts to load the library from java.library.path, if that fails then it falls back to extracting the library from the classpath NativeLibraryLoader.loadLibraryFromJar(java.lang.String)
loadLibrary() - Static method in class org.rocksdb.RocksDB
Loads the necessary library files.
loadLibrary(List<String>) - Static method in class org.rocksdb.RocksDB
Tries to load the necessary library files from the given list of directories.
loadOptionsFromFile(String, Env, DBOptions, List<ColumnFamilyDescriptor>) - Static method in class org.rocksdb.OptionsUtil
Similar to LoadLatestOptions, this function constructs the DBOptions and ColumnFamilyDescriptors based on the specified RocksDB Options file.
loadOptionsFromFile(String, Env, DBOptions, List<ColumnFamilyDescriptor>, boolean) - Static method in class org.rocksdb.OptionsUtil
 
log(InfoLogLevel, String) - Method in class org.rocksdb.Logger
 
logData(byte[]) - Method in class org.rocksdb.WriteBatch.Handler
 
logFileTimeToRoll() - Method in class org.rocksdb.DBOptions
 
logFileTimeToRoll() - Method in interface org.rocksdb.DBOptionsInterface
Returns the time interval for the info log file to roll (in seconds).
logFileTimeToRoll() - Method in class org.rocksdb.Options
 
Logger - Class in org.rocksdb
This class provides a custom logger functionality in Java which wraps RocksDB logging facilities.
Logger(Options) - Constructor for class org.rocksdb.Logger
AbstractLogger constructor.
Logger(DBOptions) - Constructor for class org.rocksdb.Logger
AbstractLogger constructor.
lookahead() - Method in class org.rocksdb.SkipListMemTableConfig
Returns the currently set lookahead value.
LRUCache - Class in org.rocksdb
Least Recently Used Cache
LRUCache(long) - Constructor for class org.rocksdb.LRUCache
Create a new cache with a fixed size capacity
LRUCache(long, int) - Constructor for class org.rocksdb.LRUCache
Create a new cache with a fixed size capacity.
LRUCache(long, int, boolean) - Constructor for class org.rocksdb.LRUCache
Create a new cache with a fixed size capacity.
LRUCache(long, int, boolean, double) - Constructor for class org.rocksdb.LRUCache
Create a new cache with a fixed size capacity.

M

managed() - Method in class org.rocksdb.ReadOptions
Returns whether managed iterators will be used.
manifestPreallocationSize() - Method in class org.rocksdb.DBOptions
 
manifestPreallocationSize() - Method in interface org.rocksdb.DBOptionsInterface
Number of bytes to preallocate (via fallocate) the manifest files.
manifestPreallocationSize() - Method in class org.rocksdb.Options
 
maxBackgroundCompactions() - Method in class org.rocksdb.DBOptions
 
maxBackgroundCompactions() - Method in interface org.rocksdb.DBOptionsInterface
maxBackgroundCompactions() - Method in class org.rocksdb.Options
 
maxBackgroundFlushes() - Method in class org.rocksdb.DBOptions
 
maxBackgroundFlushes() - Method in interface org.rocksdb.DBOptionsInterface
Returns the maximum number of concurrent background flush jobs.
maxBackgroundFlushes() - Method in class org.rocksdb.Options
 
maxBackgroundJobs() - Method in class org.rocksdb.DBOptions
 
maxBackgroundJobs() - Method in interface org.rocksdb.DBOptionsInterface
Returns the maximum number of concurrent background jobs (both flushes and compactions combined).
maxBackgroundJobs() - Method in class org.rocksdb.Options
 
maxBackgroundOperations() - Method in class org.rocksdb.BackupableDBOptions
maxBytesForLevelBase() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxBytesForLevelBase() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxBytesForLevelBase() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
The upper-bound of the total size of level-1 files in bytes.
maxBytesForLevelBase() - Method in class org.rocksdb.Options
 
maxBytesForLevelMultiplier() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The ratio between the total size of level-(L+1) files and the total size of level-L files for all L.
maxBytesForLevelMultiplier() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxBytesForLevelMultiplier() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
The ratio between the total size of level-(L+1) files and the total size of level-L files for all L.
maxBytesForLevelMultiplier() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxBytesForLevelMultiplier() - Method in class org.rocksdb.Options
 
maxBytesForLevelMultiplierAdditional() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Different max-size multipliers for different levels.
maxBytesForLevelMultiplierAdditional() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxBytesForLevelMultiplierAdditional() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxBytesForLevelMultiplierAdditional() - Method in class org.rocksdb.Options
 
maxCompactionBytes() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Control maximum size of each compaction (not guaranteed)
maxCompactionBytes() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxCompactionBytes() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxCompactionBytes() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
We try to limit number of bytes in one compaction to be lower than this threshold.
maxCompactionBytes() - Method in class org.rocksdb.Options
 
maxDictBytes() - Method in class org.rocksdb.CompressionOptions
Maximum size of dictionary used to prime the compression library.
maxFileOpeningThreads() - Method in class org.rocksdb.DBOptions
 
maxFileOpeningThreads() - Method in interface org.rocksdb.DBOptionsInterface
If DBOptionsInterface.maxOpenFiles() is -1, DB will open all files on DB::Open().
maxFileOpeningThreads() - Method in class org.rocksdb.Options
 
maxLogFileSize() - Method in class org.rocksdb.DBOptions
 
maxLogFileSize() - Method in interface org.rocksdb.DBOptionsInterface
Returns the maximum size of a info log file.
maxLogFileSize() - Method in class org.rocksdb.Options
 
maxManifestFileSize() - Method in class org.rocksdb.DBOptions
 
maxManifestFileSize() - Method in interface org.rocksdb.DBOptionsInterface
Manifest file is rolled over on reaching this limit.
maxManifestFileSize() - Method in class org.rocksdb.Options
 
maxMergeWidth() - Method in class org.rocksdb.CompactionOptionsUniversal
The maximum number of files in a single compaction run.
maxOpenFiles() - Method in class org.rocksdb.DBOptions
 
maxOpenFiles() - Method in interface org.rocksdb.DBOptionsInterface
Number of open files that can be used by the DB.
maxOpenFiles() - Method in class org.rocksdb.Options
 
maxSequentialSkipInIterations() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
An iteration->Next() sequentially skips over keys with the same user-key unless this option is set.
maxSequentialSkipInIterations() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxSequentialSkipInIterations() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxSequentialSkipInIterations() - Method in class org.rocksdb.Options
 
maxSizeAmplificationPercent() - Method in class org.rocksdb.CompactionOptionsUniversal
The size amplification is defined as the amount (in percentage) of additional storage needed to store a single byte of data in the database.
maxSubcompactions() - Method in class org.rocksdb.DBOptions
 
maxSubcompactions() - Method in interface org.rocksdb.DBOptionsInterface
This value represents the maximum number of threads that will concurrently perform a compaction job by breaking it into multiple, smaller ones that are run simultaneously.
maxSubcompactions() - Method in class org.rocksdb.Options
 
maxSuccessiveMerges() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Maximum number of successive merge operations on a key in the memtable.
maxSuccessiveMerges() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxSuccessiveMerges() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxSuccessiveMerges() - Method in class org.rocksdb.Options
 
maxTableFilesSize() - Method in class org.rocksdb.CompactionOptionsFIFO
Once the total sum of table files reaches this, we will delete the oldest table file Default: 1GB
maxTableFilesSizeFIFO() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxTableFilesSizeFIFO() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
FIFO compaction option.
maxTableFilesSizeFIFO() - Method in class org.rocksdb.Options
 
maxTotalWalSize() - Method in class org.rocksdb.DBOptions
 
maxTotalWalSize() - Method in interface org.rocksdb.DBOptionsInterface
Returns the max total wal size.
maxTotalWalSize() - Method in class org.rocksdb.Options
 
maxWriteBufferNumber() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Returns maximum number of write buffers.
maxWriteBufferNumber() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxWriteBufferNumber() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
maxWriteBufferNumber() - Method in class org.rocksdb.Options
 
maxWriteBufferNumberToMaintain() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The total maximum number of write buffers to maintain in memory including copies of buffers that have already been flushed.
maxWriteBufferNumberToMaintain() - Method in class org.rocksdb.ColumnFamilyOptions
 
maxWriteBufferNumberToMaintain() - Method in class org.rocksdb.Options
 
MB - Static variable in class org.rocksdb.util.SizeUnit
 
memTableConfig() - Method in class org.rocksdb.ColumnFamilyOptions
 
memTableConfig() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Get the config for mem-table.
MemTableConfig - Class in org.rocksdb
MemTableConfig is used to config the internal mem-table of a RocksDB.
MemTableConfig() - Constructor for class org.rocksdb.MemTableConfig
 
memTableConfig() - Method in class org.rocksdb.Options
 
memTableFactoryName() - Method in class org.rocksdb.ColumnFamilyOptions
 
memTableFactoryName() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Returns the name of the current mem table representation.
memTableFactoryName() - Method in class org.rocksdb.Options
 
memtableHugePageSize() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Page size for huge page TLB for bloom in memtable.
memtableHugePageSize() - Method in class org.rocksdb.ColumnFamilyOptions
 
memtableHugePageSize() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
memtableHugePageSize() - Method in class org.rocksdb.Options
 
memtablePrefixBloomSizeRatio() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
if prefix_extractor is set and memtable_prefix_bloom_size_ratio is not 0, create prefix bloom for memtable with the size of write_buffer_size * memtable_prefix_bloom_size_ratio.
memtablePrefixBloomSizeRatio() - Method in class org.rocksdb.ColumnFamilyOptions
 
memtablePrefixBloomSizeRatio() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
memtablePrefixBloomSizeRatio() - Method in class org.rocksdb.Options
 
merge(byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
merge(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
merge(byte[], byte[]) - Method in class org.rocksdb.RocksDB
Add merge operand for key/value pair.
merge(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Add merge operand for key/value pair in a ColumnFamily.
merge(WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Add merge operand for key/value pair.
merge(ColumnFamilyHandle, WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Add merge operand for key/value pair.
merge(long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
merge(long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
merge(long, long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
merge(long, long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
merge(Slice, Slice) - Method in class org.rocksdb.SstFileWriter
Add a Merge key with value to currently opened file.
merge(byte[], byte[]) - Method in class org.rocksdb.SstFileWriter
Add a Merge key with value to currently opened file.
merge(DirectSlice, DirectSlice) - Method in class org.rocksdb.SstFileWriter
Add a Merge key with value to currently opened file.
merge(byte[], byte[]) - Method in class org.rocksdb.WriteBatch.Handler
 
merge(byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Merge "value" with the existing value of "key" in the database.
merge(ColumnFamilyHandle, byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Merge "value" with the existing value of "key" in given column family.
MergeOperator - Class in org.rocksdb
MergeOperator holds an operator to be applied when compacting two merge operands held under the same key in order to obtain a single value.
MergeOperator(long) - Constructor for class org.rocksdb.MergeOperator
 
minMergeWidth() - Method in class org.rocksdb.CompactionOptionsUniversal
The minimum number of files in a single compaction run.
minWriteBufferNumberToMerge() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The minimum number of write buffers that will be merged together before writing to storage.
minWriteBufferNumberToMerge() - Method in class org.rocksdb.ColumnFamilyOptions
 
minWriteBufferNumberToMerge() - Method in class org.rocksdb.Options
 
moveFiles() - Method in class org.rocksdb.IngestExternalFileOptions
Can be set to true to move the files instead of copying them.
multiGet(List<byte[]>) - Method in class org.rocksdb.RocksDB
Returns a map of keys for which values were found in DB.
multiGet(List<ColumnFamilyHandle>, List<byte[]>) - Method in class org.rocksdb.RocksDB
Returns a map of keys for which values were found in DB.
multiGet(ReadOptions, List<byte[]>) - Method in class org.rocksdb.RocksDB
Returns a map of keys for which values were found in DB.
multiGet(ReadOptions, List<ColumnFamilyHandle>, List<byte[]>) - Method in class org.rocksdb.RocksDB
Returns a map of keys for which values were found in DB.
multiGet(long, byte[][], int[], int[]) - Method in class org.rocksdb.RocksDB
 
multiGet(long, byte[][], int[], int[], long[]) - Method in class org.rocksdb.RocksDB
 
multiGet(long, long, byte[][], int[], int[]) - Method in class org.rocksdb.RocksDB
 
multiGet(long, long, byte[][], int[], int[], long[]) - Method in class org.rocksdb.RocksDB
 
MutableColumnFamilyOptions - Class in org.rocksdb
 
MutableColumnFamilyOptions.CompactionOption - Enum in org.rocksdb
 
MutableColumnFamilyOptions.MemtableOption - Enum in org.rocksdb
 
MutableColumnFamilyOptions.MiscOption - Enum in org.rocksdb
 
MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder - Class in org.rocksdb
 
MutableColumnFamilyOptions.ValueType - Enum in org.rocksdb
 
MutableColumnFamilyOptionsBuilder() - Constructor for class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
MutableColumnFamilyOptionsInterface<T extends MutableColumnFamilyOptionsInterface> - Interface in org.rocksdb
 

N

name() - Method in class org.rocksdb.AbstractCompactionFilterFactory
A name which identifies this compaction filter The name will be printed to the LOG file on start up for diagnosis
name() - Method in class org.rocksdb.AbstractComparator
The name of the comparator.
name() - Method in class org.rocksdb.util.BytewiseComparator
 
name() - Method in class org.rocksdb.util.DirectBytewiseComparator
 
name() - Method in class org.rocksdb.util.ReverseBytewiseComparator
 
nativeHandle_ - Variable in class org.rocksdb.RocksCallbackObject
 
nativeHandle_ - Variable in class org.rocksdb.RocksObject
An immutable reference to the value of the C++ pointer pointing to some underlying native RocksDB C++ object.
NativeLibraryLoader - Class in org.rocksdb
This class is used to load the RocksDB shared library from within the jar.
newIterator() - Method in class org.rocksdb.RocksDB
Return a heap-allocated iterator over the contents of the database.
newIterator(ReadOptions) - Method in class org.rocksdb.RocksDB
Return a heap-allocated iterator over the contents of the database.
newIterator(ColumnFamilyHandle) - Method in class org.rocksdb.RocksDB
Return a heap-allocated iterator over the contents of the database.
newIterator(ColumnFamilyHandle, ReadOptions) - Method in class org.rocksdb.RocksDB
Return a heap-allocated iterator over the contents of the database.
newIterator(ColumnFamilyHandle) - Method in class org.rocksdb.WriteBatchWithIndex
Create an iterator of a column family.
newIterator() - Method in class org.rocksdb.WriteBatchWithIndex
Create an iterator of the default column family.
newIterators(List<ColumnFamilyHandle>) - Method in class org.rocksdb.RocksDB
Returns iterators from a consistent database state across multiple column families.
newIterators(List<ColumnFamilyHandle>, ReadOptions) - Method in class org.rocksdb.RocksDB
Returns iterators from a consistent database state across multiple column families.
newIteratorWithBase(ColumnFamilyHandle, RocksIterator) - Method in class org.rocksdb.WriteBatchWithIndex
Provides Read-Your-Own-Writes like functionality by creating a new Iterator that will use WBWIRocksIterator as a delta and baseIterator as a base
newIteratorWithBase(RocksIterator) - Method in class org.rocksdb.WriteBatchWithIndex
Provides Read-Your-Own-Writes like functionality by creating a new Iterator that will use WBWIRocksIterator as a delta and baseIterator as a base.
newMemTableFactoryHandle() - Method in class org.rocksdb.HashLinkedListMemTableConfig
 
newMemTableFactoryHandle() - Method in class org.rocksdb.HashSkipListMemTableConfig
 
newMemTableFactoryHandle() - Method in class org.rocksdb.MemTableConfig
This function should only be called by Options.setMemTableConfig(), which will create a c++ shared-pointer to the c++ MemTableRepFactory that associated with the Java MemTableConfig.
newMemTableFactoryHandle() - Method in class org.rocksdb.SkipListMemTableConfig
 
newMemTableFactoryHandle() - Method in class org.rocksdb.VectorMemTableConfig
 
newTableFactoryHandle() - Method in class org.rocksdb.BlockBasedTableConfig
 
newTableFactoryHandle() - Method in class org.rocksdb.PlainTableConfig
 
newTableFactoryHandle() - Method in class org.rocksdb.TableFormatConfig
This function should only be called by Options.setTableFormatConfig(), which will create a c++ shared-pointer to the c++ TableFactory that associated with the Java TableFormatConfig.
newTableReaderForCompactionInputs() - Method in class org.rocksdb.DBOptions
 
newTableReaderForCompactionInputs() - Method in interface org.rocksdb.DBOptionsInterface
If true, always create a new file descriptor and new table reader for compaction inputs.
newTableReaderForCompactionInputs() - Method in class org.rocksdb.Options
 
next() - Method in class org.rocksdb.AbstractRocksIterator
 
next() - Method in interface org.rocksdb.RocksIteratorInterface
Moves to the next entry in the source.
next() - Method in class org.rocksdb.TransactionLogIterator
Moves the iterator to the next WriteBatch.
noBlockCache() - Method in class org.rocksdb.BlockBasedTableConfig
 
NONE - Static variable in class org.rocksdb.DirectSlice
 
noSlowdown() - Method in class org.rocksdb.WriteOptions
If true and we need to wait or sleep for the write request, fails immediately with Status.Code.Incomplete.
NOT_FOUND - Static variable in class org.rocksdb.RocksDB
 
numberFiles() - Method in class org.rocksdb.BackupInfo
 
numLevels() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
If level-styled compaction is used, then this number determines the total number of levels.
numLevels() - Method in class org.rocksdb.ColumnFamilyOptions
 
numLevels() - Method in class org.rocksdb.Options
 

O

open(Env, BackupableDBOptions) - Static method in class org.rocksdb.BackupEngine
Opens a new Backup Engine
open(String) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance given the path to the database using the default options w/ createIfMissing set to true.
open(String, List<ColumnFamilyDescriptor>, List<ColumnFamilyHandle>) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance given the path to the database using the specified options and db path and a list of column family names.
open(Options, String) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance given the path to the database using the specified options and db path.
open(DBOptions, String, List<ColumnFamilyDescriptor>, List<ColumnFamilyHandle>) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance given the path to the database using the specified options and db path and a list of column family names.
open(long, String) - Static method in class org.rocksdb.RocksDB
 
open(long, String, byte[][], long[]) - Static method in class org.rocksdb.RocksDB
 
open(String) - Method in class org.rocksdb.SstFileWriter
Prepare SstFileWriter to write to a file.
open(Options, String) - Static method in class org.rocksdb.TtlDB
Opens a TtlDB.
open(Options, String, int, boolean) - Static method in class org.rocksdb.TtlDB
Opens a TtlDB.
open(DBOptions, String, List<ColumnFamilyDescriptor>, List<ColumnFamilyHandle>, List<Integer>, boolean) - Static method in class org.rocksdb.TtlDB
Opens a TtlDB.
openReadOnly(String) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance in Read-Only mode given the path to the database using the default options.
openReadOnly(String, List<ColumnFamilyDescriptor>, List<ColumnFamilyHandle>) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance in Read-Only mode given the path to the database using the default options.
openReadOnly(Options, String) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance in Read-Only mode given the path to the database using the specified options and db path.
openReadOnly(DBOptions, String, List<ColumnFamilyDescriptor>, List<ColumnFamilyHandle>) - Static method in class org.rocksdb.RocksDB
The factory constructor of RocksDB that opens a RocksDB instance in Read-Only mode given the path to the database using the specified options and db path.
openROnly(long, String) - Static method in class org.rocksdb.RocksDB
 
openROnly(long, String, byte[][], long[]) - Static method in class org.rocksdb.RocksDB
 
optimizeFiltersForHits() - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Returns the current state of the optimize_filters_for_hits setting.
optimizeFiltersForHits() - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeFiltersForHits() - Method in class org.rocksdb.Options
 
optimizeForPointLookup(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeForPointLookup(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Use this if you don't need to keep the data sorted, i.e.
optimizeForPointLookup(long) - Method in class org.rocksdb.Options
 
optimizeForSmallDb() - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeForSmallDb() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Use this if your DB is very small (like under 1GB) and you don't want to spend lots of memory for memtables.
optimizeForSmallDb() - Method in class org.rocksdb.DBOptions
 
optimizeForSmallDb() - Method in interface org.rocksdb.DBOptionsInterface
Use this if your DB is very small (like under 1GB) and you don't want to spend lots of memory for memtables.
optimizeForSmallDb() - Method in class org.rocksdb.Options
 
optimizeLevelStyleCompaction() - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeLevelStyleCompaction(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeLevelStyleCompaction() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Default values for some parameters in ColumnFamilyOptions are not optimized for heavy workloads and big datasets, which means you might observe write stalls under some conditions.
optimizeLevelStyleCompaction(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Default values for some parameters in ColumnFamilyOptions are not optimized for heavy workloads and big datasets, which means you might observe write stalls under some conditions.
optimizeLevelStyleCompaction() - Method in class org.rocksdb.Options
 
optimizeLevelStyleCompaction(long) - Method in class org.rocksdb.Options
 
optimizeUniversalStyleCompaction() - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeUniversalStyleCompaction(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
optimizeUniversalStyleCompaction() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Default values for some parameters in ColumnFamilyOptions are not optimized for heavy workloads and big datasets, which means you might observe write stalls under some conditions.
optimizeUniversalStyleCompaction(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Default values for some parameters in ColumnFamilyOptions are not optimized for heavy workloads and big datasets, which means you might observe write stalls under some conditions.
optimizeUniversalStyleCompaction() - Method in class org.rocksdb.Options
 
optimizeUniversalStyleCompaction(long) - Method in class org.rocksdb.Options
 
Options - Class in org.rocksdb
Options to control the behavior of a database.
Options() - Constructor for class org.rocksdb.Options
Construct options for opening a RocksDB.
Options(DBOptions, ColumnFamilyOptions) - Constructor for class org.rocksdb.Options
Construct options for opening a RocksDB.
options_ - Variable in class org.rocksdb.RocksDB
 
OptionsUtil - Class in org.rocksdb
 
org.rocksdb - package org.rocksdb
 
org.rocksdb.util - package org.rocksdb.util
 

P

paranoidChecks() - Method in class org.rocksdb.DBOptions
 
paranoidChecks() - Method in interface org.rocksdb.DBOptionsInterface
If true, the implementation will do aggressive checking of the data it is processing and will stop early if it detects any errors.
paranoidChecks() - Method in class org.rocksdb.Options
 
paranoidFileChecks() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
After writing every SST file, reopen it and read all the keys.
paranoidFileChecks() - Method in class org.rocksdb.ColumnFamilyOptions
 
paranoidFileChecks() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
paranoidFileChecks() - Method in class org.rocksdb.Options
 
parse(String) - Static method in class org.rocksdb.MutableColumnFamilyOptions
Parses a String representation of MutableColumnFamilyOptions The format is: key1=value1;key2=value2;key3=value3 etc For int[] values, each int should be separated by a comma, e.g.
pauseBackgroundWork() - Method in class org.rocksdb.RocksDB
This function will wait until all currently running background processes finish.
PB - Static variable in class org.rocksdb.util.SizeUnit
 
pinData() - Method in class org.rocksdb.ReadOptions
Returns whether the blocks loaded by the iterator will be pinned in memory
pinL0FilterAndIndexBlocksInCache() - Method in class org.rocksdb.BlockBasedTableConfig
Indicating if we'd like to pin L0 index/filter blocks to the block cache.
PlainTableConfig - Class in org.rocksdb
The config for plain table sst format.
PlainTableConfig() - Constructor for class org.rocksdb.PlainTableConfig
 
prefixSameAsStart() - Method in class org.rocksdb.ReadOptions
Returns whether the iterator only iterates over the same prefix as the seek
prepareForBulkLoad() - Method in class org.rocksdb.Options
Set appropriate parameters for bulk loading.
prev() - Method in class org.rocksdb.AbstractRocksIterator
 
prev() - Method in interface org.rocksdb.RocksIteratorInterface
Moves to the previous entry in the source.
purgeOldBackups(int) - Method in class org.rocksdb.BackupEngine
Deletes old backups, keeping just the latest numBackupsToKeep
put(byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
put(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
put(byte[], byte[]) - Method in class org.rocksdb.RocksDB
Set the database entry for "key" to "value".
put(ColumnFamilyHandle, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Set the database entry for "key" to "value" in the specified column family.
put(WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Set the database entry for "key" to "value".
put(ColumnFamilyHandle, WriteOptions, byte[], byte[]) - Method in class org.rocksdb.RocksDB
Set the database entry for "key" to "value" for the specified column family.
put(long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
put(long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
put(long, long, byte[], int, int, byte[], int, int) - Method in class org.rocksdb.RocksDB
 
put(long, long, byte[], int, int, byte[], int, int, long) - Method in class org.rocksdb.RocksDB
 
put(Slice, Slice) - Method in class org.rocksdb.SstFileWriter
Add a Put key with value to currently opened file.
put(DirectSlice, DirectSlice) - Method in class org.rocksdb.SstFileWriter
Add a Put key with value to currently opened file.
put(byte[], byte[]) - Method in class org.rocksdb.SstFileWriter
Add a Put key with value to currently opened file.
put(byte[], byte[]) - Method in class org.rocksdb.WriteBatch.Handler
 
put(byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Store the mapping "key->value" in the database.
put(ColumnFamilyHandle, byte[], byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Store the mapping "key->value" within given column family.
putLogData(byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
putLogData(byte[]) - Method in interface org.rocksdb.WriteBatchInterface
Append a blob of arbitrary size to the records in this batch.

R

randomAccessMaxBufferSize() - Method in class org.rocksdb.DBOptions
 
randomAccessMaxBufferSize() - Method in interface org.rocksdb.DBOptionsInterface
This is a maximum buffer size that is used by WinMmapReadableFile in unbuffered disk I/O mode.
randomAccessMaxBufferSize() - Method in class org.rocksdb.EnvOptions
 
randomAccessMaxBufferSize() - Method in class org.rocksdb.Options
 
rateLimiter() - Method in class org.rocksdb.EnvOptions
 
RateLimiter - Class in org.rocksdb
RateLimiter, which is used to control write rate of flush and compaction.
RateLimiter(long, long, int) - Constructor for class org.rocksdb.RateLimiter
RateLimiter constructor
RateLimiter(long) - Constructor for class org.rocksdb.RateLimiter
RateLimiter constructor
readaheadSize() - Method in class org.rocksdb.ReadOptions
If non-zero, NewIterator will create a new table reader which performs reads of the given size.
ReadOptions - Class in org.rocksdb
The class that controls the get behavior.
ReadOptions() - Constructor for class org.rocksdb.ReadOptions
 
ReadOptions(ReadOptions) - Constructor for class org.rocksdb.ReadOptions
Copy constructor.
readTier() - Method in class org.rocksdb.ReadOptions
Returns the current read tier.
ReadTier - Enum in org.rocksdb
RocksDB ReadOptions read tiers.
recycleLogFileNum() - Method in class org.rocksdb.DBOptions
 
recycleLogFileNum() - Method in interface org.rocksdb.DBOptionsInterface
Recycle log files.
recycleLogFileNum() - Method in class org.rocksdb.Options
 
releaseSnapshot(Snapshot) - Method in class org.rocksdb.RocksDB
Release a previously acquired snapshot.
releaseSnapshot(long, long) - Method in class org.rocksdb.RocksDB
 
remove(byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
remove(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.AbstractWriteBatch
 
remove(byte[]) - Method in class org.rocksdb.RocksDB
Deprecated.
remove(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.RocksDB
remove(WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
remove(ColumnFamilyHandle, WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
remove(byte[]) - Method in interface org.rocksdb.WriteBatchInterface
If the database contains a mapping for "key", erase it.
remove(ColumnFamilyHandle, byte[]) - Method in interface org.rocksdb.WriteBatchInterface
If column family contains a mapping for "key", erase it.
RemoveEmptyValueCompactionFilter - Class in org.rocksdb
Just a Java wrapper around EmptyValueCompactionFilter implemented in C++
RemoveEmptyValueCompactionFilter() - Constructor for class org.rocksdb.RemoveEmptyValueCompactionFilter
 
removePrefix(int) - Method in class org.rocksdb.AbstractSlice
Drops the specified n number of bytes from the start of the backing slice
removePrefix(int) - Method in class org.rocksdb.DirectSlice
 
removePrefix(int) - Method in class org.rocksdb.Slice
 
reportBgIoStats() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Determine whether IO stats in compactions and flushes are being measured
reportBgIoStats() - Method in class org.rocksdb.ColumnFamilyOptions
 
reportBgIoStats() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
reportBgIoStats() - Method in class org.rocksdb.Options
 
request(long) - Method in class org.rocksdb.RateLimiter
Request for token to write bytes.
reservedSize() - Method in class org.rocksdb.VectorMemTableConfig
Returns the initial size of the vector used by the memtable created based on this config.
reset() - Method in class org.rocksdb.Statistics
Resets all ticker and histogram stats.
resetNativeHandle(long, boolean) - Method in class org.rocksdb.RocksMutableObject
Closes the existing handle, and changes the handle to the new handle
restoreDbFromBackup(int, String, String, RestoreOptions) - Method in class org.rocksdb.BackupEngine
Restore the database from a backup IMPORTANT: if options.share_table_files == true and you restore the DB from some backup that is not the latest, and you start creating new backups from the new DB, they will probably fail! Example: Let's say you have backups 1, 2, 3, 4, 5 and you restore 3.
restoreDbFromLatestBackup(String, String, RestoreOptions) - Method in class org.rocksdb.BackupEngine
Restore the database from the latest backup
RestoreOptions - Class in org.rocksdb
RestoreOptions to control the behavior of restore.
RestoreOptions(boolean) - Constructor for class org.rocksdb.RestoreOptions
Constructor
restoreRateLimit() - Method in class org.rocksdb.BackupableDBOptions
Return restore rate limit which described the max bytes that can be transferred in a second during restore.
restoreRateLimiter() - Method in class org.rocksdb.BackupableDBOptions
Restore rate limiter.
ReverseBytewiseComparator - Class in org.rocksdb.util
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
ReverseBytewiseComparator(ComparatorOptions) - Constructor for class org.rocksdb.util.ReverseBytewiseComparator
 
RocksCallbackObject - Class in org.rocksdb
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.
RocksCallbackObject(long...) - Constructor for class org.rocksdb.RocksCallbackObject
 
RocksDB - Class in org.rocksdb
A RocksDB is a persistent ordered map from keys to values.
RocksDB(long) - Constructor for class org.rocksdb.RocksDB
Private constructor.
RocksDBException - Exception in org.rocksdb
A RocksDBException encapsulates the error of an operation.
RocksDBException(String) - Constructor for exception org.rocksdb.RocksDBException
The private construct used by a set of public static factory method.
RocksDBException(String, Status) - Constructor for exception org.rocksdb.RocksDBException
 
RocksDBException(Status) - Constructor for exception org.rocksdb.RocksDBException
 
RocksEnv - Class in org.rocksdb
A RocksEnv is an interface used by the rocksdb implementation to access operating system functionality like the filesystem etc.
RocksIterator - Class in org.rocksdb
An iterator that yields a sequence of key/value pairs from a source.
RocksIterator(RocksDB, long) - Constructor for class org.rocksdb.RocksIterator
 
RocksIteratorInterface - Interface in org.rocksdb
Defines the interface for an Iterator which provides access to data one entry at a time.
RocksMemEnv - Class in org.rocksdb
RocksDB memory environment.
RocksMemEnv() - Constructor for class org.rocksdb.RocksMemEnv
Creates a new RocksDB environment that stores its data in memory and delegates all non-file-storage tasks to base_env.
RocksMutableObject - Class in org.rocksdb
RocksMutableObject is an implementation of AbstractNativeReference whose reference to the underlying native C++ object can change.
RocksMutableObject() - Constructor for class org.rocksdb.RocksMutableObject
 
RocksMutableObject(long) - Constructor for class org.rocksdb.RocksMutableObject
 
RocksObject - Class in org.rocksdb
RocksObject is an implementation of AbstractNativeReference which has an immutable and therefore thread-safe reference to the underlying native C++ RocksDB object.
RocksObject(long) - Constructor for class org.rocksdb.RocksObject
 
rollbackToSavePoint() - Method in class org.rocksdb.AbstractWriteBatch
 
rollbackToSavePoint() - Method in interface org.rocksdb.WriteBatchInterface
Remove all entries in this batch (Put, Merge, Delete, PutLogData) since the most recent call to SetSavePoint() and removes the most recent save point.
rowCache() - Method in class org.rocksdb.DBOptions
 
rowCache() - Method in interface org.rocksdb.DBOptionsInterface
A global cache for table-level rows.
rowCache() - Method in class org.rocksdb.Options
 

S

seek(byte[]) - Method in class org.rocksdb.AbstractRocksIterator
 
seek(byte[]) - Method in interface org.rocksdb.RocksIteratorInterface
Position at the first entry in the source whose key is that or past target.
seekForPrev(byte[]) - Method in class org.rocksdb.AbstractRocksIterator
 
seekForPrev(byte[]) - Method in interface org.rocksdb.RocksIteratorInterface
Position at the first entry in the source whose key is that or before target.
seekToFirst() - Method in class org.rocksdb.AbstractRocksIterator
 
seekToFirst() - Method in interface org.rocksdb.RocksIteratorInterface
Position at the first entry in the source.
seekToLast() - Method in class org.rocksdb.AbstractRocksIterator
 
seekToLast() - Method in interface org.rocksdb.RocksIteratorInterface
Position at the last entry in the source.
sequenceNumber() - Method in class org.rocksdb.TransactionLogIterator.BatchResult
Return sequence number related to this BatchResult.
setAccessHintOnCompactionStart(AccessHint) - Method in class org.rocksdb.DBOptions
 
setAccessHintOnCompactionStart(AccessHint) - Method in interface org.rocksdb.DBOptionsInterface
Specify the file access pattern once a compaction is started.
setAccessHintOnCompactionStart(AccessHint) - Method in class org.rocksdb.Options
 
setAdviseRandomOnOpen(boolean) - Method in class org.rocksdb.DBOptions
 
setAdviseRandomOnOpen(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If set true, will hint the underlying file system that the file access pattern is random, when a sst file is opened.
setAdviseRandomOnOpen(boolean) - Method in class org.rocksdb.Options
 
setAllow2pc(boolean) - Method in class org.rocksdb.DBOptions
 
setAllow2pc(boolean) - Method in interface org.rocksdb.DBOptionsInterface
if set to false then recovery will fail when a prepared transaction is encountered in the WAL Default: false
setAllow2pc(boolean) - Method in class org.rocksdb.Options
 
setAllowBlockingFlush(boolean) - Method in class org.rocksdb.IngestExternalFileOptions
If set to false and the file key range overlaps with the memtable key range (memtable flush required), IngestExternalFile will fail.
setAllowConcurrentMemtableWrite(boolean) - Method in class org.rocksdb.DBOptions
 
setAllowConcurrentMemtableWrite(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, allow multi-writers to update mem tables in parallel.
setAllowConcurrentMemtableWrite(boolean) - Method in class org.rocksdb.Options
 
setAllowFAllocate(boolean) - Method in class org.rocksdb.DBOptions
 
setAllowFAllocate(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Whether fallocate calls are allowed
setAllowFallocate(boolean) - Method in class org.rocksdb.EnvOptions
 
setAllowFAllocate(boolean) - Method in class org.rocksdb.Options
 
setAllowGlobalSeqNo(boolean) - Method in class org.rocksdb.IngestExternalFileOptions
If set to false, RocksDB.ingestExternalFile(ColumnFamilyHandle, List, IngestExternalFileOptions) will fail if the file key range overlaps with existing keys or tombstones in the DB.
setAllowMmapReads(boolean) - Method in class org.rocksdb.DBOptions
 
setAllowMmapReads(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Allow the OS to mmap file for reading sst tables.
setAllowMmapReads(boolean) - Method in class org.rocksdb.Options
 
setAllowMmapWrites(boolean) - Method in class org.rocksdb.DBOptions
 
setAllowMmapWrites(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Allow the OS to mmap file for writing.
setAllowMmapWrites(boolean) - Method in class org.rocksdb.Options
 
setAllowTrivialMove(boolean) - Method in class org.rocksdb.CompactionOptionsUniversal
Option to optimize the universal multi level compaction by enabling trivial move for non overlapping files.
setArenaBlockSize(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The size of one block in arena memory allocation.
setArenaBlockSize(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setArenaBlockSize(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setArenaBlockSize(long) - Method in class org.rocksdb.Options
 
setAvoidFlushDuringRecovery(boolean) - Method in class org.rocksdb.DBOptions
 
setAvoidFlushDuringRecovery(boolean) - Method in interface org.rocksdb.DBOptionsInterface
By default RocksDB replay WAL logs and flush them on DB open, which may create very small SST files.
setAvoidFlushDuringRecovery(boolean) - Method in class org.rocksdb.Options
 
setAvoidFlushDuringShutdown(boolean) - Method in class org.rocksdb.DBOptions
 
setAvoidFlushDuringShutdown(boolean) - Method in interface org.rocksdb.DBOptionsInterface
By default RocksDB will flush all memtables on DB close if there are unpersisted data (i.e.
setAvoidFlushDuringShutdown(boolean) - Method in class org.rocksdb.Options
 
setBackgroundPurgeOnIteratorCleanup(boolean) - Method in class org.rocksdb.ReadOptions
If true, when PurgeObsoleteFile is called in CleanupIteratorState, we schedule a background job in the flush job queue and delete obsolete files in background.
setBackgroundThreads(int) - Method in class org.rocksdb.Env
Sets the number of background worker threads of the flush pool for this environment.
setBackgroundThreads(int, int) - Method in class org.rocksdb.Env
Sets the number of background worker threads of the specified thread pool for this environment.
setBackupEnv(Env) - Method in class org.rocksdb.BackupableDBOptions
Backup Env object.
setBackupLogFiles(boolean) - Method in class org.rocksdb.BackupableDBOptions
Set if log files shall be persisted.
setBackupRateLimit(long) - Method in class org.rocksdb.BackupableDBOptions
Set backup rate limit.
setBackupRateLimiter(RateLimiter) - Method in class org.rocksdb.BackupableDBOptions
Backup rate limiter.
setBaseBackgroundCompactions(int) - Method in class org.rocksdb.DBOptions
 
setBaseBackgroundCompactions(int) - Method in interface org.rocksdb.DBOptionsInterface
setBaseBackgroundCompactions(int) - Method in class org.rocksdb.Options
 
setBlockCacheCompressedNumShardBits(int) - Method in class org.rocksdb.BlockBasedTableConfig
Controls the number of shards for the block compressed cache.
setBlockCacheCompressedSize(long) - Method in class org.rocksdb.BlockBasedTableConfig
Size of compressed block cache.
setBlockCacheSize(long) - Method in class org.rocksdb.BlockBasedTableConfig
Set the amount of cache in bytes that will be used by RocksDB.
setBlockRestartInterval(int) - Method in class org.rocksdb.BlockBasedTableConfig
Set block restart interval
setBlockSize(long) - Method in class org.rocksdb.BlockBasedTableConfig
Approximate size of user data packed per block.
setBlockSizeDeviation(int) - Method in class org.rocksdb.BlockBasedTableConfig
This is used to close a block before it reaches the configured 'block_size'.
setBloomBitsPerKey(int) - Method in class org.rocksdb.PlainTableConfig
Set the number of bits per key used by the internal bloom filter in the plain table sst format.
setBloomLocality(int) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Control locality of bloom filter probes to improve cache miss rate.
setBloomLocality(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setBloomLocality(int) - Method in class org.rocksdb.Options
 
setBottommostCompressionType(CompressionType) - Method in class org.rocksdb.ColumnFamilyOptions
 
setBottommostCompressionType(CompressionType) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Compression algorithm that will be used for the bottommost level that contain files.
setBottommostCompressionType(CompressionType) - Method in class org.rocksdb.Options
 
setBranchingFactor(int) - Method in class org.rocksdb.HashSkipListMemTableConfig
Set the branching factor used in the hash skip-list memtable.
setBucketCount(long) - Method in class org.rocksdb.HashLinkedListMemTableConfig
Set the number of buckets in the fixed-size array used in the hash linked-list mem-table.
setBucketCount(long) - Method in class org.rocksdb.HashSkipListMemTableConfig
Set the number of hash buckets used in the hash skiplist memtable.
setBucketEntriesLoggingThreshold(int) - Method in class org.rocksdb.HashLinkedListMemTableConfig
If number of entries in one bucket exceeds that setting, log about it.
setBytesPerSecond(long) - Method in class org.rocksdb.RateLimiter
This API allows user to dynamically change rate limiter's bytes per second.
setBytesPerSync(long) - Method in class org.rocksdb.DBOptions
 
setBytesPerSync(long) - Method in interface org.rocksdb.DBOptionsInterface
Allows OS to incrementally sync files to disk while they are being written, asynchronously, in the background.
setBytesPerSync(long) - Method in class org.rocksdb.EnvOptions
 
setBytesPerSync(long) - Method in class org.rocksdb.Options
 
setCacheIndexAndFilterBlocks(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
Indicating if we'd put index/filter blocks to the block cache.
setCacheNumShardBits(int) - Method in class org.rocksdb.BlockBasedTableConfig
Controls the number of shards for the block cache.
setCallbackTriggerIntervalSize(long) - Method in class org.rocksdb.BackupableDBOptions
During backup user can get callback every time next BackupableDBOptions.callbackTriggerIntervalSize() bytes being copied.
setChecksumType(ChecksumType) - Method in class org.rocksdb.BlockBasedTableConfig
Sets the checksum type to be used with this table.
setCompactionFilter(AbstractCompactionFilter<? extends AbstractSlice<?>>) - Method in class org.rocksdb.ColumnFamilyOptions
A single CompactionFilter instance to call into during compaction.
setCompactionFilterFactory(AbstractCompactionFilterFactory<? extends AbstractCompactionFilter<?>>) - Method in class org.rocksdb.ColumnFamilyOptions
This is a factory that provides AbstractCompactionFilter objects which allow an application to modify/delete a key-value during background compaction.
setCompactionOptionsFIFO(CompactionOptionsFIFO) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The options for FIFO compaction style
setCompactionOptionsFIFO(CompactionOptionsFIFO) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompactionOptionsFIFO(CompactionOptionsFIFO) - Method in class org.rocksdb.Options
 
setCompactionOptionsUniversal(CompactionOptionsUniversal) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Set the options needed to support Universal Style compactions
setCompactionOptionsUniversal(CompactionOptionsUniversal) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompactionOptionsUniversal(CompactionOptionsUniversal) - Method in class org.rocksdb.Options
 
setCompactionPriority(CompactionPriority) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
If level AdvancedColumnFamilyOptionsInterface.compactionStyle() == CompactionStyle.LEVEL, for each level, which files are prioritized to be picked to compact.
setCompactionPriority(CompactionPriority) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompactionPriority(CompactionPriority) - Method in class org.rocksdb.Options
 
setCompactionReadaheadSize(long) - Method in class org.rocksdb.DBOptions
 
setCompactionReadaheadSize(long) - Method in interface org.rocksdb.DBOptionsInterface
If non-zero, we perform bigger reads when doing compaction.
setCompactionReadaheadSize(long) - Method in class org.rocksdb.EnvOptions
 
setCompactionReadaheadSize(long) - Method in class org.rocksdb.Options
 
setCompactionStyle(CompactionStyle) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Set compaction style for DB.
setCompactionStyle(CompactionStyle) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompactionStyle(CompactionStyle) - Method in class org.rocksdb.Options
 
setComparator(BuiltinComparator) - Method in class org.rocksdb.ColumnFamilyOptions
 
setComparator(AbstractComparator<? extends AbstractSlice<?>>) - Method in class org.rocksdb.ColumnFamilyOptions
 
setComparator(BuiltinComparator) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set BuiltinComparator to be used with RocksDB.
setComparator(AbstractComparator<? extends AbstractSlice<?>>) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Use the specified comparator for key ordering.
setComparator(BuiltinComparator) - Method in class org.rocksdb.Options
 
setComparator(AbstractComparator<? extends AbstractSlice<?>>) - Method in class org.rocksdb.Options
 
setCompressionOptions(CompressionOptions) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompressionOptions(CompressionOptions) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set the different options for compression algorithms
setCompressionOptions(CompressionOptions) - Method in class org.rocksdb.Options
 
setCompressionPerLevel(List<CompressionType>) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Different levels can have different compression policies.
setCompressionPerLevel(List<CompressionType>) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompressionPerLevel(List<CompressionType>) - Method in class org.rocksdb.Options
 
setCompressionSizePercent(int) - Method in class org.rocksdb.CompactionOptionsUniversal
If this option is set to be -1 (the default value), all the output files will follow compression type specified.
setCompressionType(CompressionType) - Method in class org.rocksdb.ColumnFamilyOptions
 
setCompressionType(CompressionType) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setCompressionType(CompressionType) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Compress blocks using the specified compression algorithm.
setCompressionType(CompressionType) - Method in class org.rocksdb.Options
 
setCreateIfMissing(boolean) - Method in class org.rocksdb.DBOptions
 
setCreateIfMissing(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If this value is set to true, then the database will be created if it is missing during RocksDB.open().
setCreateIfMissing(boolean) - Method in class org.rocksdb.Options
 
setCreateMissingColumnFamilies(boolean) - Method in class org.rocksdb.DBOptions
 
setCreateMissingColumnFamilies(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, missing column families will be automatically created
setCreateMissingColumnFamilies(boolean) - Method in class org.rocksdb.Options
 
setDbLogDir(String) - Method in class org.rocksdb.DBOptions
 
setDbLogDir(String) - Method in interface org.rocksdb.DBOptionsInterface
This specifies the info LOG dir.
setDbLogDir(String) - Method in class org.rocksdb.Options
 
setDbPaths(Collection<DbPath>) - Method in class org.rocksdb.DBOptions
 
setDbPaths(Collection<DbPath>) - Method in interface org.rocksdb.DBOptionsInterface
A list of paths where SST files can be put into, with its target size.
setDbPaths(Collection<DbPath>) - Method in class org.rocksdb.Options
 
setDbWriteBufferSize(long) - Method in class org.rocksdb.DBOptions
 
setDbWriteBufferSize(long) - Method in interface org.rocksdb.DBOptionsInterface
Amount of data to build up in memtables across all column families before writing to disk.
setDbWriteBufferSize(long) - Method in class org.rocksdb.Options
 
setDelayedWriteRate(long) - Method in class org.rocksdb.DBOptions
 
setDelayedWriteRate(long) - Method in interface org.rocksdb.DBOptionsInterface
The limited write rate to DB if ColumnFamilyOptions.softPendingCompactionBytesLimit() or ColumnFamilyOptions.level0SlowdownWritesTrigger() is triggered, or we are writing to the last mem table allowed and we allow more than 3 mem tables.
setDelayedWriteRate(long) - Method in class org.rocksdb.Options
 
setDeleteObsoleteFilesPeriodMicros(long) - Method in class org.rocksdb.DBOptions
 
setDeleteObsoleteFilesPeriodMicros(long) - Method in interface org.rocksdb.DBOptionsInterface
The periodicity when obsolete files get deleted.
setDeleteObsoleteFilesPeriodMicros(long) - Method in class org.rocksdb.Options
 
setDestroyOldData(boolean) - Method in class org.rocksdb.BackupableDBOptions
Set if old data will be destroyed.
setDisableAutoCompactions(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setDisableAutoCompactions(boolean) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setDisableAutoCompactions(boolean) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Disable automatic compactions.
setDisableAutoCompactions(boolean) - Method in class org.rocksdb.Options
 
setDisableWAL(boolean) - Method in class org.rocksdb.WriteOptions
If true, writes will not first go to the write ahead log, and the write may got lost after a crash.
setDumpMallocStats(boolean) - Method in class org.rocksdb.DBOptions
 
setDumpMallocStats(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, then print malloc stats together with rocksdb.stats when printing to LOG.
setDumpMallocStats(boolean) - Method in class org.rocksdb.Options
 
setEnableThreadTracking(boolean) - Method in class org.rocksdb.DBOptions
 
setEnableThreadTracking(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, then the status of the threads involved in this DB will be tracked and available via GetThreadList() API.
setEnableThreadTracking(boolean) - Method in class org.rocksdb.Options
 
setEnableWriteThreadAdaptiveYield(boolean) - Method in class org.rocksdb.DBOptions
 
setEnableWriteThreadAdaptiveYield(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, threads synchronizing with the write batch group leader will wait for up to DBOptionsInterface.writeThreadMaxYieldUsec() before blocking on a mutex.
setEnableWriteThreadAdaptiveYield(boolean) - Method in class org.rocksdb.Options
 
setEncodingType(EncodingType) - Method in class org.rocksdb.PlainTableConfig
Sets the encoding type.
setEnv(Env) - Method in class org.rocksdb.DBOptions
 
setEnv(Env) - Method in interface org.rocksdb.DBOptionsInterface
Use the specified object to interact with the environment, e.g.
setEnv(Env) - Method in class org.rocksdb.Options
 
setErrorIfExists(boolean) - Method in class org.rocksdb.DBOptions
 
setErrorIfExists(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, an error will be thrown during RocksDB.open() if the database already exists.
setErrorIfExists(boolean) - Method in class org.rocksdb.Options
 
setFailIfOptionsFileError(boolean) - Method in class org.rocksdb.DBOptions
 
setFailIfOptionsFileError(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, then DB::Open / CreateColumnFamily / DropColumnFamily / SetOptions will fail if options file is not detected or properly persisted.
setFailIfOptionsFileError(boolean) - Method in class org.rocksdb.Options
 
setFallocateWithKeepSize(boolean) - Method in class org.rocksdb.EnvOptions
 
setFdCloexec() - Method in class org.rocksdb.EnvOptions
 
setFillCache(boolean) - Method in class org.rocksdb.ReadOptions
Fill the cache when loading the block-based sst formatted db.
setFilter(Filter) - Method in class org.rocksdb.BlockBasedTableConfig
Use the specified filter policy to reduce disk reads.
setForceConsistencyChecks(boolean) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
In debug mode, RocksDB run consistency checks on the LSM everytime the LSM change (Flush, Compaction, AddFile).
setForceConsistencyChecks(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setForceConsistencyChecks(boolean) - Method in class org.rocksdb.Options
 
setFormatVersion(int) - Method in class org.rocksdb.BlockBasedTableConfig
We currently have three versions:
setFullScanMode(boolean) - Method in class org.rocksdb.PlainTableConfig
Set full scan mode, if true the whole file will be read one record by one without using the index.
setHardPendingCompactionBytesLimit(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
All writes are stopped if estimated bytes needed to be compaction exceed this threshold.
setHardPendingCompactionBytesLimit(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setHardPendingCompactionBytesLimit(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setHardPendingCompactionBytesLimit(long) - Method in class org.rocksdb.Options
 
setHashIndexAllowCollision(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
Influence the behavior when kHashSearch is used.
setHashTableRatio(double) - Method in class org.rocksdb.PlainTableConfig
hashTableRatio is the desired utilization of the hash table used for prefix hashing.
setHeight(int) - Method in class org.rocksdb.HashSkipListMemTableConfig
Set the height of the skip list.
setHugePageTlbSize(long) - Method in class org.rocksdb.HashLinkedListMemTableConfig
Set the size of huge tlb or allocate the hashtable bytes from malloc if size <= 0.
setHugePageTlbSize(int) - Method in class org.rocksdb.PlainTableConfig
huge_page_tlb_size: if ≤0, allocate hash indexes and blooms from malloc otherwise from huge page TLB.
setIfLogBucketDistWhenFlush(boolean) - Method in class org.rocksdb.HashLinkedListMemTableConfig
If true the distrubition of number of entries will be logged.
setIgnoreMissingColumnFamilies(boolean) - Method in class org.rocksdb.WriteOptions
If true and if user is trying to write to column families that don't exist (they were dropped), ignore the write (don't return an error).
setIgnoreRangeDeletions(boolean) - Method in class org.rocksdb.ReadOptions
If true, keys deleted using the DeleteRange() API will be visible to readers until they are naturally deleted during compaction.
setIncreaseParallelism(int) - Method in class org.rocksdb.DBOptions
 
setIncreaseParallelism(int) - Method in interface org.rocksdb.DBOptionsInterface
By default, RocksDB uses only one background thread for flush and compaction.
setIncreaseParallelism(int) - Method in class org.rocksdb.Options
 
setIndexSparseness(int) - Method in class org.rocksdb.PlainTableConfig
Index sparseness determines the index interval for keys inside the same prefix.
setIndexType(IndexType) - Method in class org.rocksdb.BlockBasedTableConfig
Sets the index type to used with this table.
setInfoLog(Logger) - Method in class org.rocksdb.BackupableDBOptions
Set the logger to use for Backup info and error messages
setInfoLogLevel(InfoLogLevel) - Method in class org.rocksdb.DBOptions
 
setInfoLogLevel(InfoLogLevel) - Method in interface org.rocksdb.DBOptionsInterface
Sets the RocksDB log level.
setInfoLogLevel(InfoLogLevel) - Method in class org.rocksdb.Logger
Set InfoLogLevel to AbstractLogger.
setInfoLogLevel(long, byte) - Method in class org.rocksdb.Logger
 
setInfoLogLevel(InfoLogLevel) - Method in class org.rocksdb.Options
 
setInplaceUpdateNumLocks(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Number of locks used for inplace update Default: 10000, if inplace_update_support = true, else 0.
setInplaceUpdateNumLocks(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setInplaceUpdateNumLocks(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setInplaceUpdateNumLocks(long) - Method in class org.rocksdb.Options
 
setInplaceUpdateSupport(boolean) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Allows thread-safe inplace updates.
setInplaceUpdateSupport(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setInplaceUpdateSupport(boolean) - Method in class org.rocksdb.Options
 
setIsFdCloseOnExec(boolean) - Method in class org.rocksdb.DBOptions
 
setIsFdCloseOnExec(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Disable child process inherit open files.
setIsFdCloseOnExec(boolean) - Method in class org.rocksdb.Options
 
setIterateUpperBound(Slice) - Method in class org.rocksdb.ReadOptions
Defines the extent upto which the forward iterator can returns entries.
setKeepLogFileNum(long) - Method in class org.rocksdb.DBOptions
 
setKeepLogFileNum(long) - Method in interface org.rocksdb.DBOptionsInterface
Specifies the maximum number of info log files to be kept.
setKeepLogFileNum(long) - Method in class org.rocksdb.Options
 
setKeySize(int) - Method in class org.rocksdb.PlainTableConfig
Set the length of the user key.
setLevel(int) - Method in class org.rocksdb.CompressionOptions
 
setLevel0FileNumCompactionTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevel0FileNumCompactionTrigger(int) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setLevel0FileNumCompactionTrigger(int) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Number of files to trigger level-0 compaction.
setLevel0FileNumCompactionTrigger(int) - Method in class org.rocksdb.Options
 
setLevel0SlowdownWritesTrigger(int) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Soft limit on number of level-0 files.
setLevel0SlowdownWritesTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevel0SlowdownWritesTrigger(int) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setLevel0SlowdownWritesTrigger(int) - Method in class org.rocksdb.Options
 
setLevel0StopWritesTrigger(int) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Maximum number of level-0 files.
setLevel0StopWritesTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevel0StopWritesTrigger(int) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setLevel0StopWritesTrigger(int) - Method in class org.rocksdb.Options
 
setLevelCompactionDynamicLevelBytes(boolean) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
If true, RocksDB will pick target size of each level dynamically.
setLevelCompactionDynamicLevelBytes(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevelCompactionDynamicLevelBytes(boolean) - Method in class org.rocksdb.Options
 
setLevelZeroFileNumCompactionTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevelZeroFileNumCompactionTrigger(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Number of files to trigger level-0 compaction.
setLevelZeroFileNumCompactionTrigger(int) - Method in class org.rocksdb.Options
 
setLevelZeroSlowdownWritesTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevelZeroSlowdownWritesTrigger(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Soft limit on number of level-0 files.
setLevelZeroSlowdownWritesTrigger(int) - Method in class org.rocksdb.Options
 
setLevelZeroStopWritesTrigger(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setLevelZeroStopWritesTrigger(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Maximum number of level-0 files.
setLevelZeroStopWritesTrigger(int) - Method in class org.rocksdb.Options
 
setLogFileTimeToRoll(long) - Method in class org.rocksdb.DBOptions
 
setLogFileTimeToRoll(long) - Method in interface org.rocksdb.DBOptionsInterface
Specifies the time interval for the info log file to roll (in seconds).
setLogFileTimeToRoll(long) - Method in class org.rocksdb.Options
 
setLogger(Logger) - Method in class org.rocksdb.DBOptions
 
setLogger(Logger) - Method in interface org.rocksdb.DBOptionsInterface
Any internal progress/error information generated by the db will be written to the Logger if it is non-nullptr, or to a file stored in the same directory as the DB contents if info_log is nullptr.
setLogger(Logger) - Method in class org.rocksdb.Options
 
setLookahead(long) - Method in class org.rocksdb.SkipListMemTableConfig
Sets lookahead for SkipList
setManaged(boolean) - Method in class org.rocksdb.ReadOptions
Specify to create a managed iterator -- a special iterator that uses less resources by having the ability to free its underlying resources on request.
setManifestPreallocationSize(long) - Method in class org.rocksdb.DBOptions
 
setManifestPreallocationSize(long) - Method in interface org.rocksdb.DBOptionsInterface
Number of bytes to preallocate (via fallocate) the manifest files.
setManifestPreallocationSize(long) - Method in class org.rocksdb.Options
 
setMaxBackgroundCompactions(int) - Method in class org.rocksdb.DBOptions
 
setMaxBackgroundCompactions(int) - Method in interface org.rocksdb.DBOptionsInterface
Specifies the maximum number of concurrent background compaction jobs, submitted to the default LOW priority thread pool.
setMaxBackgroundCompactions(int) - Method in class org.rocksdb.Options
 
setMaxBackgroundFlushes(int) - Method in class org.rocksdb.DBOptions
 
setMaxBackgroundFlushes(int) - Method in interface org.rocksdb.DBOptionsInterface
setMaxBackgroundFlushes(int) - Method in class org.rocksdb.Options
 
setMaxBackgroundJobs(int) - Method in class org.rocksdb.DBOptions
 
setMaxBackgroundJobs(int) - Method in interface org.rocksdb.DBOptionsInterface
Specifies the maximum number of concurrent background jobs (both flushes and compactions combined).
setMaxBackgroundJobs(int) - Method in class org.rocksdb.Options
 
setMaxBackgroundOperations(int) - Method in class org.rocksdb.BackupableDBOptions
setMaxBytesForLevelBase(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxBytesForLevelBase(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxBytesForLevelBase(long) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
The upper-bound of the total size of level-1 files in bytes.
setMaxBytesForLevelBase(long) - Method in class org.rocksdb.Options
 
setMaxBytesForLevelMultiplier(double) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The ratio between the total size of level-(L+1) files and the total size of level-L files for all L.
setMaxBytesForLevelMultiplier(double) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxBytesForLevelMultiplier(double) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
The ratio between the total size of level-(L+1) files and the total size of level-L files for all L.
setMaxBytesForLevelMultiplier(double) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxBytesForLevelMultiplier(double) - Method in class org.rocksdb.Options
 
setMaxBytesForLevelMultiplierAdditional(int[]) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Different max-size multipliers for different levels.
setMaxBytesForLevelMultiplierAdditional(int[]) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxBytesForLevelMultiplierAdditional(int[]) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxBytesForLevelMultiplierAdditional(int[]) - Method in class org.rocksdb.Options
 
setMaxCompactionBytes(long) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Maximum size of each compaction (not guarantee)
setMaxCompactionBytes(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxCompactionBytes(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxCompactionBytes(long) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
We try to limit number of bytes in one compaction to be lower than this threshold.
setMaxCompactionBytes(long) - Method in class org.rocksdb.Options
 
setMaxDictBytes(int) - Method in class org.rocksdb.CompressionOptions
Maximum size of dictionary used to prime the compression library.
setMaxFileOpeningThreads(int) - Method in class org.rocksdb.DBOptions
 
setMaxFileOpeningThreads(int) - Method in interface org.rocksdb.DBOptionsInterface
If DBOptionsInterface.maxOpenFiles() is -1, DB will open all files on DB::Open().
setMaxFileOpeningThreads(int) - Method in class org.rocksdb.Options
 
setMaxLogFileSize(long) - Method in class org.rocksdb.DBOptions
 
setMaxLogFileSize(long) - Method in interface org.rocksdb.DBOptionsInterface
Specifies the maximum size of a info log file.
setMaxLogFileSize(long) - Method in class org.rocksdb.Options
 
setMaxManifestFileSize(long) - Method in class org.rocksdb.DBOptions
 
setMaxManifestFileSize(long) - Method in interface org.rocksdb.DBOptionsInterface
Manifest file is rolled over on reaching this limit.
setMaxManifestFileSize(long) - Method in class org.rocksdb.Options
 
setMaxMergeWidth(int) - Method in class org.rocksdb.CompactionOptionsUniversal
The maximum number of files in a single compaction run.
setMaxOpenFiles(int) - Method in class org.rocksdb.DBOptions
 
setMaxOpenFiles(int) - Method in interface org.rocksdb.DBOptionsInterface
Number of open files that can be used by the DB.
setMaxOpenFiles(int) - Method in class org.rocksdb.Options
 
setMaxSequentialSkipInIterations(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
An iteration->Next() sequentially skips over keys with the same user-key unless this option is set.
setMaxSequentialSkipInIterations(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxSequentialSkipInIterations(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxSequentialSkipInIterations(long) - Method in class org.rocksdb.Options
 
setMaxSizeAmplificationPercent(int) - Method in class org.rocksdb.CompactionOptionsUniversal
The size amplification is defined as the amount (in percentage) of additional storage needed to store a single byte of data in the database.
setMaxSubcompactions(int) - Method in class org.rocksdb.DBOptions
 
setMaxSubcompactions(int) - Method in interface org.rocksdb.DBOptionsInterface
This value represents the maximum number of threads that will concurrently perform a compaction job by breaking it into multiple, smaller ones that are run simultaneously.
setMaxSubcompactions(int) - Method in class org.rocksdb.Options
 
setMaxSuccessiveMerges(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Maximum number of successive merge operations on a key in the memtable.
setMaxSuccessiveMerges(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxSuccessiveMerges(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxSuccessiveMerges(long) - Method in class org.rocksdb.Options
 
setMaxTableFilesSize(long) - Method in class org.rocksdb.CompactionOptionsFIFO
Once the total sum of table files reaches this, we will delete the oldest table file Default: 1GB
setMaxTableFilesSizeFIFO(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxTableFilesSizeFIFO(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
FIFO compaction option.
setMaxTableFilesSizeFIFO(long) - Method in class org.rocksdb.Options
 
setMaxTotalWalSize(long) - Method in class org.rocksdb.DBOptions
 
setMaxTotalWalSize(long) - Method in interface org.rocksdb.DBOptionsInterface
Once write-ahead logs exceed this size, we will start forcing the flush of column families whose memtables are backed by the oldest live WAL file (i.e.
setMaxTotalWalSize(long) - Method in class org.rocksdb.Options
 
setMaxWriteBufferNumber(int) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The maximum number of write buffers that are built up in memory.
setMaxWriteBufferNumber(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxWriteBufferNumber(int) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMaxWriteBufferNumber(int) - Method in class org.rocksdb.Options
 
setMaxWriteBufferNumberToMaintain(int) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The total maximum number of write buffers to maintain in memory including copies of buffers that have already been flushed.
setMaxWriteBufferNumberToMaintain(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMaxWriteBufferNumberToMaintain(int) - Method in class org.rocksdb.Options
 
setMemTableConfig(MemTableConfig) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMemTableConfig(MemTableConfig) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set the config for mem-table.
setMemTableConfig(MemTableConfig) - Method in class org.rocksdb.Options
 
setMemtableHugePageSize(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Page size for huge page TLB for bloom in memtable.
setMemtableHugePageSize(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMemtableHugePageSize(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMemtableHugePageSize(long) - Method in class org.rocksdb.Options
 
setMemtablePrefixBloomSizeRatio(double) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
if prefix_extractor is set and memtable_prefix_bloom_size_ratio is not 0, create prefix bloom for memtable with the size of write_buffer_size * memtable_prefix_bloom_size_ratio.
setMemtablePrefixBloomSizeRatio(double) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMemtablePrefixBloomSizeRatio(double) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setMemtablePrefixBloomSizeRatio(double) - Method in class org.rocksdb.Options
 
setMergeOperator(MergeOperator) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMergeOperator(MergeOperator) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set the merge operator to be used for merging two different key/value pairs that share the same key.
setMergeOperator(MergeOperator) - Method in class org.rocksdb.Options
 
setMergeOperatorName(String) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMergeOperatorName(String) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set the merge operator to be used for merging two merge operands of the same key.
setMergeOperatorName(String) - Method in class org.rocksdb.Options
 
setMinMergeWidth(int) - Method in class org.rocksdb.CompactionOptionsUniversal
The minimum number of files in a single compaction run.
setMinWriteBufferNumberToMerge(int) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
The minimum number of write buffers that will be merged together before writing to storage.
setMinWriteBufferNumberToMerge(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setMinWriteBufferNumberToMerge(int) - Method in class org.rocksdb.Options
 
setMoveFiles(boolean) - Method in class org.rocksdb.IngestExternalFileOptions
Can be set to true to move the files instead of copying them.
setNativeHandle(long, boolean) - Method in class org.rocksdb.RocksMutableObject
Sets the handle (C++ pointer) of the underlying C++ native object
setNewTableReaderForCompactionInputs(boolean) - Method in class org.rocksdb.DBOptions
 
setNewTableReaderForCompactionInputs(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, always create a new file descriptor and new table reader for compaction inputs.
setNewTableReaderForCompactionInputs(boolean) - Method in class org.rocksdb.Options
 
setNoBlockCache(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
Disable block cache.
setNoSlowdown(boolean) - Method in class org.rocksdb.WriteOptions
If true and we need to wait or sleep for the write request, fails immediately with Status.Code.Incomplete.
setNumLevels(int) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
Set the number of levels for this database If level-styled compaction is used, then this number determines the total number of levels.
setNumLevels(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setNumLevels(int) - Method in class org.rocksdb.Options
 
setOptimizeFiltersForHits(boolean) - Method in interface org.rocksdb.AdvancedColumnFamilyOptionsInterface
This flag specifies that the implementation should optimize the filters mainly for cases where keys are found rather than also optimize for keys missed.
setOptimizeFiltersForHits(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setOptimizeFiltersForHits(boolean) - Method in class org.rocksdb.Options
 
setOptions(ColumnFamilyHandle, MutableColumnFamilyOptions) - Method in class org.rocksdb.RocksDB
 
setParanoidChecks(boolean) - Method in class org.rocksdb.DBOptions
 
setParanoidChecks(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, the implementation will do aggressive checking of the data it is processing and will stop early if it detects any errors.
setParanoidChecks(boolean) - Method in class org.rocksdb.Options
 
setParanoidFileChecks(boolean) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
After writing every SST file, reopen it and read all the keys.
setParanoidFileChecks(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setParanoidFileChecks(boolean) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setParanoidFileChecks(boolean) - Method in class org.rocksdb.Options
 
setPinData(boolean) - Method in class org.rocksdb.ReadOptions
Keep the blocks loaded by the iterator pinned in memory as long as the iterator is not deleted, If used when reading from tables created with BlockBasedTableOptions::use_delta_encoding = false, Iterator's property "rocksdb.iterator.is-key-pinned" is guaranteed to return 1.
setPinL0FilterAndIndexBlocksInCache(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
Indicating if we'd like to pin L0 index/filter blocks to the block cache.
setPrefixSameAsStart(boolean) - Method in class org.rocksdb.ReadOptions
Enforce that the iterator only iterates over the same prefix as the seek.
setRandomAccessMaxBufferSize(long) - Method in class org.rocksdb.DBOptions
 
setRandomAccessMaxBufferSize(long) - Method in interface org.rocksdb.DBOptionsInterface
This is a maximum buffer size that is used by WinMmapReadableFile in unbuffered disk I/O mode.
setRandomAccessMaxBufferSize(long) - Method in class org.rocksdb.EnvOptions
 
setRandomAccessMaxBufferSize(long) - Method in class org.rocksdb.Options
 
setRateLimiter(RateLimiter) - Method in class org.rocksdb.DBOptions
 
setRateLimiter(RateLimiter) - Method in interface org.rocksdb.DBOptionsInterface
Use to control write rate of flush and compaction.
setRateLimiter(RateLimiter) - Method in class org.rocksdb.EnvOptions
 
setRateLimiter(RateLimiter) - Method in class org.rocksdb.Options
 
setReadaheadSize(long) - Method in class org.rocksdb.ReadOptions
If non-zero, NewIterator will create a new table reader which performs reads of the given size.
setReadTier(ReadTier) - Method in class org.rocksdb.ReadOptions
Specify if this read request should process data that ALREADY resides on a particular cache.
setRecycleLogFileNum(long) - Method in class org.rocksdb.DBOptions
 
setRecycleLogFileNum(long) - Method in interface org.rocksdb.DBOptionsInterface
Recycle log files.
setRecycleLogFileNum(long) - Method in class org.rocksdb.Options
 
setReportBgIoStats(boolean) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
Measure IO stats in compactions and flushes, if true.
setReportBgIoStats(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
 
setReportBgIoStats(boolean) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setReportBgIoStats(boolean) - Method in class org.rocksdb.Options
 
setReservedSize(int) - Method in class org.rocksdb.VectorMemTableConfig
Set the initial size of the vector that will be used by the memtable created based on this config.
setRestoreRateLimit(long) - Method in class org.rocksdb.BackupableDBOptions
Set restore rate limit.
setRestoreRateLimiter(RateLimiter) - Method in class org.rocksdb.BackupableDBOptions
Restore rate limiter.
setRowCache(Cache) - Method in class org.rocksdb.DBOptions
 
setRowCache(Cache) - Method in interface org.rocksdb.DBOptionsInterface
A global cache for table-level rows.
setRowCache(Cache) - Method in class org.rocksdb.Options
 
setSavePoint() - Method in class org.rocksdb.AbstractWriteBatch
 
setSavePoint() - Method in interface org.rocksdb.WriteBatchInterface
Records the state of the batch for future calls to RollbackToSavePoint().
setSetFdCloexec(boolean) - Method in class org.rocksdb.EnvOptions
 
setShareFilesWithChecksum(boolean) - Method in class org.rocksdb.BackupableDBOptions
Only used if share_table_files is set to true.
setShareTableFiles(boolean) - Method in class org.rocksdb.BackupableDBOptions
Share table files between backups.
setSizeRatio(int) - Method in class org.rocksdb.CompactionOptionsUniversal
Percentage flexibility while comparing file size.
setSkipStatsUpdateOnDbOpen(boolean) - Method in class org.rocksdb.DBOptions
 
setSkipStatsUpdateOnDbOpen(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, then DB::Open() will not update the statistics used to optimize compaction decision by loading table properties from many files.
setSkipStatsUpdateOnDbOpen(boolean) - Method in class org.rocksdb.Options
 
setSnapshot(Snapshot) - Method in class org.rocksdb.ReadOptions
If "snapshot" is non-nullptr, read as of the supplied snapshot (which must belong to the DB that is being read and which must not have been released).
setSnapshotConsistency(boolean) - Method in class org.rocksdb.IngestExternalFileOptions
If set to false, an ingested file keys could appear in existing snapshots that where created before the file was ingested.
setSoftPendingCompactionBytesLimit(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
All writes will be slowed down to at least delayed_write_rate if estimated bytes needed to be compaction exceed this threshold.
setSoftPendingCompactionBytesLimit(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setSoftPendingCompactionBytesLimit(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setSoftPendingCompactionBytesLimit(long) - Method in class org.rocksdb.Options
 
setStatistics(Statistics) - Method in class org.rocksdb.DBOptions
 
setStatistics(Statistics) - Method in interface org.rocksdb.DBOptionsInterface
Sets the statistics object which collects metrics about database operations.
setStatistics(Statistics) - Method in class org.rocksdb.Options
 
setStatsDumpPeriodSec(int) - Method in class org.rocksdb.DBOptions
 
setStatsDumpPeriodSec(int) - Method in interface org.rocksdb.DBOptionsInterface
if not zero, dump rocksdb.stats to LOG every stats_dump_period_sec Default: 600 (10 minutes)
setStatsDumpPeriodSec(int) - Method in class org.rocksdb.Options
 
setStatsLevel(StatsLevel) - Method in class org.rocksdb.Statistics
Sets the stats level.
setStopStyle(CompactionStopStyle) - Method in class org.rocksdb.CompactionOptionsUniversal
The algorithm used to stop picking files into a single compaction run Default: CompactionStopStyle.CompactionStopStyleTotalSize
setStoreIndexInFile(boolean) - Method in class org.rocksdb.PlainTableConfig
If set to true: compute plain table index and bloom filter during file building and store it in file.
setStrategy(int) - Method in class org.rocksdb.CompressionOptions
 
setSync(boolean) - Method in class org.rocksdb.BackupableDBOptions
Set synchronous backups.
setSync(boolean) - Method in class org.rocksdb.WriteOptions
If true, the write will be flushed from the operating system buffer cache (by calling WritableFile::Sync()) before the write is considered complete.
setTableCacheNumshardbits(int) - Method in class org.rocksdb.DBOptions
 
setTableCacheNumshardbits(int) - Method in interface org.rocksdb.DBOptionsInterface
Number of shards used for table cache.
setTableCacheNumshardbits(int) - Method in class org.rocksdb.Options
 
setTableFormatConfig(TableFormatConfig) - Method in class org.rocksdb.ColumnFamilyOptions
 
setTableFormatConfig(TableFormatConfig) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Set the config for table format.
setTableFormatConfig(TableFormatConfig) - Method in class org.rocksdb.Options
 
setTailing(boolean) - Method in class org.rocksdb.ReadOptions
Specify to create a tailing iterator -- a special iterator that has a view of the complete database (i.e.
setTargetFileSizeBase(long) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The target file size for compaction.
setTargetFileSizeBase(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setTargetFileSizeBase(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setTargetFileSizeBase(long) - Method in class org.rocksdb.Options
 
setTargetFileSizeMultiplier(int) - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
targetFileSizeMultiplier defines the size ratio between a level-L file and level-(L+1) file.
setTargetFileSizeMultiplier(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
setTargetFileSizeMultiplier(int) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setTargetFileSizeMultiplier(int) - Method in class org.rocksdb.Options
 
setThresholdUseSkiplist(int) - Method in class org.rocksdb.HashLinkedListMemTableConfig
Set maximum number of entries in one bucket.
setTotalOrderSeek(boolean) - Method in class org.rocksdb.ReadOptions
Enable a total order seek regardless of index format (e.g.
setUseAdaptiveMutex(boolean) - Method in class org.rocksdb.ComparatorOptions
Use adaptive mutex, which spins in the user space before resorting to kernel.
setUseAdaptiveMutex(boolean) - Method in class org.rocksdb.DBOptions
 
setUseAdaptiveMutex(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Use adaptive mutex, which spins in the user space before resorting to kernel.
setUseAdaptiveMutex(boolean) - Method in class org.rocksdb.Options
 
setUseDirectIoForFlushAndCompaction(boolean) - Method in class org.rocksdb.DBOptions
 
setUseDirectIoForFlushAndCompaction(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Enable the OS to use direct reads and writes in flush and compaction Default: false
setUseDirectIoForFlushAndCompaction(boolean) - Method in class org.rocksdb.Options
 
setUseDirectReads(boolean) - Method in class org.rocksdb.DBOptions
 
setUseDirectReads(boolean) - Method in interface org.rocksdb.DBOptionsInterface
Enable the OS to use direct I/O for reading sst tables.
setUseDirectReads(boolean) - Method in class org.rocksdb.EnvOptions
 
setUseDirectReads(boolean) - Method in class org.rocksdb.Options
 
setUseDirectWrites(boolean) - Method in class org.rocksdb.EnvOptions
 
setUseFsync(boolean) - Method in class org.rocksdb.DBOptions
 
setUseFsync(boolean) - Method in interface org.rocksdb.DBOptionsInterface
If true, then every store to stable storage will issue a fsync.
setUseFsync(boolean) - Method in class org.rocksdb.Options
 
setUseMmapReads(boolean) - Method in class org.rocksdb.EnvOptions
 
setUseMmapWrites(boolean) - Method in class org.rocksdb.EnvOptions
 
setUseOsBuffer(boolean) - Method in class org.rocksdb.EnvOptions
 
setVerifyChecksums(boolean) - Method in class org.rocksdb.ReadOptions
If true, all data read from underlying storage will be verified against corresponding checksums.
setWaitForFlush(boolean) - Method in class org.rocksdb.FlushOptions
Set if the flush operation shall block until it terminates.
setWalBytesPerSync(long) - Method in class org.rocksdb.DBOptions
 
setWalBytesPerSync(long) - Method in interface org.rocksdb.DBOptionsInterface
Same as DBOptionsInterface.setBytesPerSync(long) , but applies to WAL files Default: 0, turned off
setWalBytesPerSync(long) - Method in class org.rocksdb.Options
 
setWalDir(String) - Method in class org.rocksdb.DBOptions
 
setWalDir(String) - Method in interface org.rocksdb.DBOptionsInterface
This specifies the absolute dir path for write-ahead logs (WAL).
setWalDir(String) - Method in class org.rocksdb.Options
 
setWalRecoveryMode(WALRecoveryMode) - Method in class org.rocksdb.DBOptions
 
setWalRecoveryMode(WALRecoveryMode) - Method in interface org.rocksdb.DBOptionsInterface
Recovery mode to control the consistency while replaying WAL Default: WALRecoveryMode.PointInTimeRecovery
setWalRecoveryMode(WALRecoveryMode) - Method in class org.rocksdb.Options
 
setWalSizeLimitMB(long) - Method in class org.rocksdb.DBOptions
 
setWalSizeLimitMB(long) - Method in interface org.rocksdb.DBOptionsInterface
WalTtlSeconds() and walSizeLimitMB() affect how archived logs will be deleted.
setWalSizeLimitMB(long) - Method in class org.rocksdb.Options
 
setWalTtlSeconds(long) - Method in class org.rocksdb.DBOptions
 
setWalTtlSeconds(long) - Method in interface org.rocksdb.DBOptionsInterface
DBOptionsInterface.walTtlSeconds() and DBOptionsInterface.walSizeLimitMB() affect how archived logs will be deleted.
setWalTtlSeconds(long) - Method in class org.rocksdb.Options
 
setWholeKeyFiltering(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
If true, place whole keys in the filter (not just prefixes).
setWindowBits(int) - Method in class org.rocksdb.CompressionOptions
 
setWritableFileMaxBufferSize(long) - Method in class org.rocksdb.DBOptions
 
setWritableFileMaxBufferSize(long) - Method in interface org.rocksdb.DBOptionsInterface
This is the maximum buffer size that is used by WritableFileWriter.
setWritableFileMaxBufferSize(long) - Method in class org.rocksdb.EnvOptions
 
setWritableFileMaxBufferSize(long) - Method in class org.rocksdb.Options
 
setWriteBufferSize(long) - Method in class org.rocksdb.ColumnFamilyOptions
 
setWriteBufferSize(long) - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
setWriteBufferSize(long) - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Amount of data to build up in memory (backed by an unsorted log on disk) before converting to a sorted on-disk file.
setWriteBufferSize(long) - Method in class org.rocksdb.Options
 
setWriteThreadMaxYieldUsec(long) - Method in class org.rocksdb.DBOptions
 
setWriteThreadMaxYieldUsec(long) - Method in interface org.rocksdb.DBOptionsInterface
The maximum number of microseconds that a write operation will use a yielding spin loop to coordinate with other write threads before blocking on a mutex.
setWriteThreadMaxYieldUsec(long) - Method in class org.rocksdb.Options
 
setWriteThreadSlowYieldUsec(long) - Method in class org.rocksdb.DBOptions
 
setWriteThreadSlowYieldUsec(long) - Method in interface org.rocksdb.DBOptionsInterface
The latency in microseconds after which a std::this_thread::yield call (sched_yield on Linux) is considered to be a signal that other processes or threads would like to use the current core.
setWriteThreadSlowYieldUsec(long) - Method in class org.rocksdb.Options
 
shareFilesWithChecksum() - Method in class org.rocksdb.BackupableDBOptions
Return of share files with checksum is active.
shareTableFiles() - Method in class org.rocksdb.BackupableDBOptions
Share table files between backups.
shouldContinue() - Method in class org.rocksdb.WriteBatch.Handler
shouldContinue is called by the underlying iterator WriteBatch::Iterate.
shutDown(int) - Method in class org.rocksdb.StatisticsCollector
Shuts down statistics collector.
singleDelete(byte[]) - Method in class org.rocksdb.RocksDB
Remove the database entry for key.
singleDelete(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.RocksDB
Remove the database entry for key.
singleDelete(WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
Remove the database entry for key.
singleDelete(ColumnFamilyHandle, WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
Remove the database entry for key.
singleDelete(long, byte[], int) - Method in class org.rocksdb.RocksDB
 
singleDelete(long, byte[], int, long) - Method in class org.rocksdb.RocksDB
 
singleDelete(long, long, byte[], int) - Method in class org.rocksdb.RocksDB
 
singleDelete(long, long, byte[], int, long) - Method in class org.rocksdb.RocksDB
 
size() - Method in class org.rocksdb.AbstractSlice
Return the length (in bytes) of the data.
size() - Method in class org.rocksdb.BackupInfo
 
sizeRatio() - Method in class org.rocksdb.CompactionOptionsUniversal
Percentage flexibility while comparing file size.
SizeUnit - Class in org.rocksdb.util
 
SkipListMemTableConfig - Class in org.rocksdb
The config for skip-list memtable representation.
SkipListMemTableConfig() - Constructor for class org.rocksdb.SkipListMemTableConfig
SkipListMemTableConfig constructor
skipStatsUpdateOnDbOpen() - Method in class org.rocksdb.DBOptions
 
skipStatsUpdateOnDbOpen() - Method in interface org.rocksdb.DBOptionsInterface
If true, then DB::Open() will not update the statistics used to optimize compaction decision by loading table properties from many files.
skipStatsUpdateOnDbOpen() - Method in class org.rocksdb.Options
 
Slice - Class in org.rocksdb
Base class for slices which will receive byte[] based access to the underlying data.
Slice(String) - Constructor for class org.rocksdb.Slice
Constructs a slice where the data is taken from a String.
Slice(byte[], int) - Constructor for class org.rocksdb.Slice
Constructs a slice where the data is a copy of the byte array from a specific offset.
Slice(byte[]) - Constructor for class org.rocksdb.Slice
Constructs a slice where the data is a copy of the byte array.
snapshot() - Method in class org.rocksdb.ReadOptions
Returns the currently assigned Snapshot instance.
Snapshot - Class in org.rocksdb
Snapshot of database
snapshotConsistency() - Method in class org.rocksdb.IngestExternalFileOptions
If set to false, an ingested file keys could appear in existing snapshots that where created before the file was ingested.
softPendingCompactionBytesLimit() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
All writes will be slowed down to at least delayed_write_rate if estimated bytes needed to be compaction exceed this threshold.
softPendingCompactionBytesLimit() - Method in class org.rocksdb.ColumnFamilyOptions
 
softPendingCompactionBytesLimit() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
softPendingCompactionBytesLimit() - Method in class org.rocksdb.Options
 
SstFileWriter - Class in org.rocksdb
SstFileWriter is used to create sst files that can be added to the database later.
SstFileWriter(EnvOptions, Options, AbstractComparator<? extends AbstractSlice<?>>) - Constructor for class org.rocksdb.SstFileWriter
Deprecated.
Use SstFileWriter.SstFileWriter(EnvOptions, Options). Passing an explicit comparator is deprecated in lieu of passing the comparator as part of options. Use the other constructor instead.
SstFileWriter(EnvOptions, Options) - Constructor for class org.rocksdb.SstFileWriter
SstFileWriter Constructor.
start() - Method in class org.rocksdb.StatisticsCollector
 
startsWith(AbstractSlice<?>) - Method in class org.rocksdb.AbstractSlice
Determines whether this slice starts with another slice
statistics() - Method in class org.rocksdb.DBOptions
 
statistics() - Method in interface org.rocksdb.DBOptionsInterface
Returns statistics object.
statistics() - Method in class org.rocksdb.Options
 
Statistics - Class in org.rocksdb
Statistics to analyze the performance of a db.
Statistics() - Constructor for class org.rocksdb.Statistics
 
Statistics(Statistics) - Constructor for class org.rocksdb.Statistics
 
Statistics(EnumSet<HistogramType>) - Constructor for class org.rocksdb.Statistics
 
Statistics(EnumSet<HistogramType>, Statistics) - Constructor for class org.rocksdb.Statistics
 
StatisticsCollector - Class in org.rocksdb
Helper class to collect DB statistics periodically at a period specified in constructor.
StatisticsCollector(List<StatsCollectorInput>, int) - Constructor for class org.rocksdb.StatisticsCollector
Constructor for statistics collector.
StatisticsCollectorCallback - Interface in org.rocksdb
Callback interface provided to StatisticsCollector.
StatsCollectorInput - Class in org.rocksdb
Contains all information necessary to collect statistics from one instance of DB statistics.
StatsCollectorInput(Statistics, StatisticsCollectorCallback) - Constructor for class org.rocksdb.StatsCollectorInput
Constructor for StatsCollectorInput.
statsDumpPeriodSec() - Method in class org.rocksdb.DBOptions
 
statsDumpPeriodSec() - Method in interface org.rocksdb.DBOptionsInterface
If not zero, dump rocksdb.stats to LOG every stats_dump_period_sec Default: 600 (10 minutes)
statsDumpPeriodSec() - Method in class org.rocksdb.Options
 
statsLevel() - Method in class org.rocksdb.Statistics
Gets the current stats level.
StatsLevel - Enum in org.rocksdb
The level of Statistics to report.
status() - Method in class org.rocksdb.AbstractRocksIterator
 
status() - Method in interface org.rocksdb.RocksIteratorInterface
If an error has occurred, return it.
Status - Class in org.rocksdb
Represents the status returned by a function call in RocksDB.
Status(Status.Code, Status.SubCode, String) - Constructor for class org.rocksdb.Status
 
status() - Method in class org.rocksdb.TransactionLogIterator
Throws RocksDBException if something went wrong.
Status.Code - Enum in org.rocksdb
 
Status.SubCode - Enum in org.rocksdb
 
stopStyle() - Method in class org.rocksdb.CompactionOptionsUniversal
The algorithm used to stop picking files into a single compaction run Default: CompactionStopStyle.CompactionStopStyleTotalSize
storeIndexInFile() - Method in class org.rocksdb.PlainTableConfig
Return a boolean value indicating if index shall be stored in a file.
strategy() - Method in class org.rocksdb.CompressionOptions
 
StringAppendOperator - Class in org.rocksdb
StringAppendOperator is a merge operator that concatenates two strings.
StringAppendOperator() - Constructor for class org.rocksdb.StringAppendOperator
 
sync() - Method in class org.rocksdb.BackupableDBOptions
Are synchronous backups activated.
sync() - Method in class org.rocksdb.WriteOptions
If true, the write will be flushed from the operating system buffer cache (by calling WritableFile::Sync()) before the write is considered complete.

T

tableCacheNumshardbits() - Method in class org.rocksdb.DBOptions
 
tableCacheNumshardbits() - Method in interface org.rocksdb.DBOptionsInterface
Number of shards used for table cache.
tableCacheNumshardbits() - Method in class org.rocksdb.Options
 
tableFactoryName() - Method in class org.rocksdb.ColumnFamilyOptions
 
tableFactoryName() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
 
tableFactoryName() - Method in class org.rocksdb.Options
 
tableFormatConfig() - Method in class org.rocksdb.ColumnFamilyOptions
 
tableFormatConfig() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Get the config for table format.
tableFormatConfig() - Method in class org.rocksdb.Options
 
TableFormatConfig - Class in org.rocksdb
TableFormatConfig is used to config the internal Table format of a RocksDB.
TableFormatConfig() - Constructor for class org.rocksdb.TableFormatConfig
 
tailing() - Method in class org.rocksdb.ReadOptions
Specify to create a tailing iterator -- a special iterator that has a view of the complete database (i.e.
targetFileSizeBase() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
The target file size for compaction.
targetFileSizeBase() - Method in class org.rocksdb.ColumnFamilyOptions
 
targetFileSizeBase() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
targetFileSizeBase() - Method in class org.rocksdb.Options
 
targetFileSizeMultiplier() - Method in interface org.rocksdb.AdvancedMutableColumnFamilyOptionsInterface
targetFileSizeMultiplier defines the size ratio between a level-(L+1) file and level-L file.
targetFileSizeMultiplier() - Method in class org.rocksdb.ColumnFamilyOptions
 
targetFileSizeMultiplier() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
targetFileSizeMultiplier() - Method in class org.rocksdb.Options
 
TB - Static variable in class org.rocksdb.util.SizeUnit
 
thresholdUseSkiplist() - Method in class org.rocksdb.HashLinkedListMemTableConfig
Returns entries per bucket threshold before LinkedList is replaced by SkipList usage for that bucket.
tickerCallback(TickerType, long) - Method in interface org.rocksdb.StatisticsCollectorCallback
Callback function to get ticker values.
TickerType - Enum in org.rocksdb
 
timestamp() - Method in class org.rocksdb.BackupInfo
 
toString(boolean) - Method in class org.rocksdb.AbstractSlice
Creates a string representation of the data
toString() - Method in class org.rocksdb.AbstractSlice
 
toString() - Method in class org.rocksdb.MutableColumnFamilyOptions
Returns a string representation of MutableColumnFamilyOptions which is suitable for consumption by MutableColumnFamilyOptions.parse(String)
toString() - Method in class org.rocksdb.Statistics
String representation of the statistic object.
totalOrderSeek() - Method in class org.rocksdb.ReadOptions
Returns whether a total seek order will be used
TransactionLogIterator - Class in org.rocksdb
A TransactionLogIterator is used to iterate over the transactions in a db.
TransactionLogIterator.BatchResult - Class in org.rocksdb
BatchResult represents a data structure returned by a TransactionLogIterator containing a sequence number and a WriteBatch instance.
TtlDB - Class in org.rocksdb
Database with TTL support.
TtlDB(long) - Constructor for class org.rocksdb.TtlDB

U

useAdaptiveMutex() - Method in class org.rocksdb.ComparatorOptions
Use adaptive mutex, which spins in the user space before resorting to kernel.
useAdaptiveMutex() - Method in class org.rocksdb.DBOptions
 
useAdaptiveMutex() - Method in interface org.rocksdb.DBOptionsInterface
Use adaptive mutex, which spins in the user space before resorting to kernel.
useAdaptiveMutex() - Method in class org.rocksdb.Options
 
useCappedPrefixExtractor(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
useCappedPrefixExtractor(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
Same as fixed length prefix extractor, except that when slice is shorter than the fixed length, it will use the full key.
useCappedPrefixExtractor(int) - Method in class org.rocksdb.Options
 
useDirectIoForFlushAndCompaction() - Method in class org.rocksdb.DBOptions
 
useDirectIoForFlushAndCompaction() - Method in interface org.rocksdb.DBOptionsInterface
Enable the OS to use direct reads and writes in flush and compaction
useDirectIoForFlushAndCompaction() - Method in class org.rocksdb.Options
 
useDirectReads() - Method in class org.rocksdb.DBOptions
 
useDirectReads() - Method in interface org.rocksdb.DBOptionsInterface
Enable the OS to use direct I/O for reading sst tables.
useDirectReads() - Method in class org.rocksdb.EnvOptions
 
useDirectReads() - Method in class org.rocksdb.Options
 
useDirectWrites() - Method in class org.rocksdb.EnvOptions
 
useFixedLengthPrefixExtractor(int) - Method in class org.rocksdb.ColumnFamilyOptions
 
useFixedLengthPrefixExtractor(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
This prefix-extractor uses the first n bytes of a key as its prefix.
useFixedLengthPrefixExtractor(int) - Method in class org.rocksdb.Options
 
useFsync() - Method in class org.rocksdb.DBOptions
 
useFsync() - Method in interface org.rocksdb.DBOptionsInterface
If true, then every store to stable storage will issue a fsync.
useFsync() - Method in class org.rocksdb.Options
 
useMmapReads() - Method in class org.rocksdb.EnvOptions
 
useMmapWrites() - Method in class org.rocksdb.EnvOptions
 
useOsBuffer() - Method in class org.rocksdb.EnvOptions
 

V

value() - Method in class org.rocksdb.RocksIterator
Return the value for the current entry.
valueOf(String) - Static method in enum org.rocksdb.AccessHint
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.BuiltinComparator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.ChecksumType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.CompactionPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.CompactionStopStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.CompactionStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.CompressionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.EncodingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.HistogramType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.IndexType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.InfoLogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.MutableColumnFamilyOptions.CompactionOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.MutableColumnFamilyOptions.MemtableOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.MutableColumnFamilyOptions.MiscOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.MutableColumnFamilyOptions.ValueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.ReadTier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.StatsLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.Status.Code
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.Status.SubCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.TickerType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.WALRecoveryMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.rocksdb.WBWIRocksIterator.WriteType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.rocksdb.AccessHint
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.BuiltinComparator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.ChecksumType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.CompactionPriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.CompactionStopStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.CompactionStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.CompressionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.EncodingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.HistogramType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.IndexType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.InfoLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.MutableColumnFamilyOptions.CompactionOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.MutableColumnFamilyOptions.MemtableOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.MutableColumnFamilyOptions.MiscOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.MutableColumnFamilyOptions.ValueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.ReadTier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.StatsLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.Status.Code
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.Status.SubCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.TickerType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.WALRecoveryMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.rocksdb.WBWIRocksIterator.WriteType
Returns an array containing the constants of this enum type, in the order they are declared.
VARIABLE_LENGTH - Static variable in class org.rocksdb.PlainTableConfig
 
VectorMemTableConfig - Class in org.rocksdb
The config for vector memtable representation.
VectorMemTableConfig() - Constructor for class org.rocksdb.VectorMemTableConfig
VectorMemTableConfig constructor
verifyChecksums() - Method in class org.rocksdb.ReadOptions
If true, all data read from underlying storage will be verified against corresponding checksums.

W

waitForFlush() - Method in class org.rocksdb.FlushOptions
Wait for flush to finished.
walBytesPerSync() - Method in class org.rocksdb.DBOptions
 
walBytesPerSync() - Method in interface org.rocksdb.DBOptionsInterface
Same as DBOptionsInterface.bytesPerSync() , but applies to WAL files Default: 0, turned off
walBytesPerSync() - Method in class org.rocksdb.Options
 
walDir() - Method in class org.rocksdb.DBOptions
 
walDir() - Method in interface org.rocksdb.DBOptionsInterface
Returns the path to the write-ahead-logs (WAL) directory.
walDir() - Method in class org.rocksdb.Options
 
walRecoveryMode() - Method in class org.rocksdb.DBOptions
 
walRecoveryMode() - Method in interface org.rocksdb.DBOptionsInterface
Recovery mode to control the consistency while replaying WAL Default: WALRecoveryMode.PointInTimeRecovery
walRecoveryMode() - Method in class org.rocksdb.Options
 
WALRecoveryMode - Enum in org.rocksdb
The WAL Recover Mode
walSizeLimitMB() - Method in class org.rocksdb.DBOptions
 
walSizeLimitMB() - Method in interface org.rocksdb.DBOptionsInterface
DBOptionsInterface.walTtlSeconds() and #walSizeLimitMB() affect how archived logs will be deleted.
walSizeLimitMB() - Method in class org.rocksdb.Options
 
walTtlSeconds() - Method in class org.rocksdb.DBOptions
 
walTtlSeconds() - Method in interface org.rocksdb.DBOptionsInterface
WalTtlSeconds() and walSizeLimitMB() affect how archived logs will be deleted.
walTtlSeconds() - Method in class org.rocksdb.Options
 
WBWIRocksIterator - Class in org.rocksdb
 
WBWIRocksIterator(WriteBatchWithIndex, long) - Constructor for class org.rocksdb.WBWIRocksIterator
 
WBWIRocksIterator.WriteEntry - Class in org.rocksdb
Represents an entry returned by WBWIRocksIterator.entry() It is worth noting that a WriteEntry with the type WBWIRocksIterator.WriteType.DELETE or WBWIRocksIterator.WriteType.LOG will not have a value.
WBWIRocksIterator.WriteType - Enum in org.rocksdb
Enumeration of the Write operation that created the record in the Write Batch
wholeKeyFiltering() - Method in class org.rocksdb.BlockBasedTableConfig
 
windowBits() - Method in class org.rocksdb.CompressionOptions
 
writableFileMaxBufferSize() - Method in class org.rocksdb.DBOptions
 
writableFileMaxBufferSize() - Method in interface org.rocksdb.DBOptionsInterface
This is the maximum buffer size that is used by WritableFileWriter.
writableFileMaxBufferSize() - Method in class org.rocksdb.EnvOptions
 
writableFileMaxBufferSize() - Method in class org.rocksdb.Options
 
write(WriteOptions, WriteBatch) - Method in class org.rocksdb.RocksDB
Apply the specified updates to the database.
write(WriteOptions, WriteBatchWithIndex) - Method in class org.rocksdb.RocksDB
Apply the specified updates to the database.
write0(long, long, long) - Method in class org.rocksdb.RocksDB
 
write1(long, long, long) - Method in class org.rocksdb.RocksDB
 
writeBatch() - Method in class org.rocksdb.TransactionLogIterator.BatchResult
Return contained WriteBatch instance
WriteBatch - Class in org.rocksdb
WriteBatch holds a collection of updates to apply atomically to a DB.
WriteBatch() - Constructor for class org.rocksdb.WriteBatch
Constructs a WriteBatch instance.
WriteBatch(int) - Constructor for class org.rocksdb.WriteBatch
Constructs a WriteBatch instance with a given size.
WriteBatch.Handler - Class in org.rocksdb
Handler callback for iterating over the contents of a batch.
WriteBatchInterface - Interface in org.rocksdb
Defines the interface for a Write Batch which holds a collection of updates to apply atomically to a DB.
WriteBatchWithIndex - Class in org.rocksdb
Similar to WriteBatch but with a binary searchable index built for all the keys inserted.
WriteBatchWithIndex() - Constructor for class org.rocksdb.WriteBatchWithIndex
Creates a WriteBatchWithIndex where no bytes are reserved up-front, bytewise comparison is used for fallback key comparisons, and duplicate keys operations are retained
WriteBatchWithIndex(boolean) - Constructor for class org.rocksdb.WriteBatchWithIndex
Creates a WriteBatchWithIndex where no bytes are reserved up-front, bytewise comparison is used for fallback key comparisons, and duplicate key assignment is determined by the constructor argument
WriteBatchWithIndex(AbstractComparator<? extends AbstractSlice<?>>, int, boolean) - Constructor for class org.rocksdb.WriteBatchWithIndex
Creates a WriteBatchWithIndex
writeBufferSize() - Method in class org.rocksdb.ColumnFamilyOptions
 
writeBufferSize() - Method in class org.rocksdb.MutableColumnFamilyOptions.MutableColumnFamilyOptionsBuilder
 
writeBufferSize() - Method in interface org.rocksdb.MutableColumnFamilyOptionsInterface
Return size of write buffer size.
writeBufferSize() - Method in class org.rocksdb.Options
 
WriteEntry(WBWIRocksIterator.WriteType, DirectSlice, DirectSlice) - Constructor for class org.rocksdb.WBWIRocksIterator.WriteEntry
 
WriteOptions - Class in org.rocksdb
Options that control write operations.
WriteOptions() - Constructor for class org.rocksdb.WriteOptions
Construct WriteOptions instance.
writeThreadMaxYieldUsec() - Method in class org.rocksdb.DBOptions
 
writeThreadMaxYieldUsec() - Method in interface org.rocksdb.DBOptionsInterface
The maximum number of microseconds that a write operation will use a yielding spin loop to coordinate with other write threads before blocking on a mutex.
writeThreadMaxYieldUsec() - Method in class org.rocksdb.Options
 
writeThreadSlowYieldUsec() - Method in class org.rocksdb.DBOptions
 
writeThreadSlowYieldUsec() - Method in interface org.rocksdb.DBOptionsInterface
The latency in microseconds after which a std::this_thread::yield call (sched_yield on Linux) is considered to be a signal that other processes or threads would like to use the current core.
writeThreadSlowYieldUsec() - Method in class org.rocksdb.Options
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links