- 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.
- 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.AbstractWriteBatch
-
- clear() - Method in class org.rocksdb.DirectSlice
-
Clears the backing slice
- clear() - Method in interface org.rocksdb.WriteBatchInterface
-
Clear all updates buffered in this batch
- 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.BackupableDB
-
Close the BackupableDB instance and release resource.
- close() - Method in class org.rocksdb.RocksMutableObject
-
- close() - Method in class org.rocksdb.TtlDB
-
Close the TtlDB instance and release resource.
- 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.
- ColumnFamilyOptionsInterface - Interface in org.rocksdb
-
- COMPACTION_POOL - Static variable in class org.rocksdb.Env
-
- compactionStyle() - Method in class org.rocksdb.ColumnFamilyOptions
-
- compactionStyle() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Compaction style for DB.
- 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
-
- compressionPerLevel() - Method in class org.rocksdb.ColumnFamilyOptions
-
- compressionPerLevel() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
- compressionPerLevel() - Method in class org.rocksdb.Options
-
- compressionType() - Method in class org.rocksdb.ColumnFamilyOptions
-
- compressionType() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Compress blocks using the specified compression algorithm.
- CompressionType - Enum in org.rocksdb
-
Enum CompressionType
- compressionType() - Method in class org.rocksdb.Options
-
- continueBackgroundWork() - Method in class org.rocksdb.RocksDB
-
- 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.
- 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(boolean) - Method in class org.rocksdb.BackupableDB
-
Captures the state of the database in the latest backup.
- createNewBackup(long, boolean) - Method in class org.rocksdb.BackupableDB
-
- createNewBackup(RocksDB) - Method in class org.rocksdb.BackupEngine
-
- 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
-
- createStatistics() - Method in class org.rocksdb.DBOptions
-
- createStatistics() - Method in interface org.rocksdb.DBOptionsInterface
-
Creates statistics object which collects metrics about database operations.
- createStatistics() - Method in class org.rocksdb.Options
-
- garbageCollect() - Method in class org.rocksdb.BackupableDB
-
Will delete all the files we don't need anymore.
- garbageCollect() - Method in class org.rocksdb.BackupEngine
-
Will delete all the files we don't need anymore.
- garbageCollect() - Method in class org.rocksdb.RestoreBackupableDB
-
Will delete all the files we don't need anymore.
- GB - Static variable in class org.rocksdb.util.SizeUnit
-
- GenericRateLimiterConfig - Class in org.rocksdb
-
Config for rate limiter, which is used to control write rate of flush and
compaction.
- GenericRateLimiterConfig(long, long, int) - Constructor for class org.rocksdb.GenericRateLimiterConfig
-
GenericRateLimiterConfig constructor
- GenericRateLimiterConfig(long) - Constructor for class org.rocksdb.GenericRateLimiterConfig
-
GenericRateLimiterConfig constructor
- 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, byte[], int) - Method in class org.rocksdb.RocksDB
-
- get(long, byte[], int, byte[], int, long) - Method in class org.rocksdb.RocksDB
-
- get(long, long, byte[], int, byte[], int) - Method in class org.rocksdb.RocksDB
-
- get(long, long, byte[], int, byte[], int, long) - Method in class org.rocksdb.RocksDB
-
- get(long, byte[], int) - Method in class org.rocksdb.RocksDB
-
- get(long, byte[], int, long) - Method in class org.rocksdb.RocksDB
-
- get(long, long, byte[], int) - Method in class org.rocksdb.RocksDB
-
- get(long, long, byte[], int, long) - Method in class org.rocksdb.RocksDB
-
- getAverage() - Method in class org.rocksdb.HistogramData
-
- getBackupInfo(long) - Method in class org.rocksdb.BackupableDB
-
- getBackupInfo() - Method in class org.rocksdb.BackupEngine
-
Gets information about the available
backups
- getBackupInfos() - Method in class org.rocksdb.BackupableDB
-
Returns a list of
BackupInfo
instances, which describe
already made backups.
- getBackupInfos() - Method in class org.rocksdb.RestoreBackupableDB
-
Returns a list of
BackupInfo
instances, which describe
already made 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
-
- getColumnFamilyOptionsFromProps(Properties) - Static method in class org.rocksdb.ColumnFamilyOptions
-
Method to get a options instance by using pre-configured
property values.
- 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.BackupableDB
-
Returns a list of corrupted backup ids.
- getCorruptedBackups() - Method in class org.rocksdb.BackupEngine
-
Returns a list of corrupted backup ids.
- getCorruptedBackups() - Method in class org.rocksdb.RestoreBackupableDB
-
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.Options
-
Returns the set RocksEnv instance.
- getHistogramData(HistogramType) - Method in class org.rocksdb.Statistics
-
- 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
- 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.AbstractComparator
-
- getNativeHandle() - Method in class org.rocksdb.Comparator
-
- getNativeHandle() - Method in class org.rocksdb.DirectComparator
-
- 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
-
- 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
-
- 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
-
- getStatistics() - Method in class org.rocksdb.StatsCollectorInput
-
- 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
-
- 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.ChecksumType
-
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.TickerType
-
- getValue() - Method in class org.rocksdb.WBWIRocksIterator.WriteEntry
-
Returns the value of the Write Entry
- rateLimitDelayMaxMilliseconds() - Method in class org.rocksdb.ColumnFamilyOptions
-
- rateLimitDelayMaxMilliseconds() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The maximum time interval a put will be stalled when hard_rate_limit
is enforced.
- rateLimitDelayMaxMilliseconds() - Method in class org.rocksdb.Options
-
- RateLimiterConfig - Class in org.rocksdb
-
Config for rate limiter, which is used to control write rate of flush and
compaction.
- RateLimiterConfig() - Constructor for class org.rocksdb.RateLimiterConfig
-
- ReadOptions - Class in org.rocksdb
-
The class that controls the get behavior.
- ReadOptions() - Constructor for class org.rocksdb.ReadOptions
-
- 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
-
Remove the database entry (if any) for "key".
- remove(ColumnFamilyHandle, byte[]) - Method in class org.rocksdb.RocksDB
-
Remove the database entry (if any) for "key".
- remove(WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
-
Remove the database entry (if any) for "key".
- remove(ColumnFamilyHandle, WriteOptions, byte[]) - Method in class org.rocksdb.RocksDB
-
Remove the database entry (if any) for "key".
- remove(long, byte[], int) - Method in class org.rocksdb.RocksDB
-
- remove(long, byte[], int, long) - Method in class org.rocksdb.RocksDB
-
- remove(long, long, byte[], int) - Method in class org.rocksdb.RocksDB
-
- remove(long, long, byte[], int, long) - 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.DirectSlice
-
Drops the specified n
number of bytes from the start
of the backing slice
- reservedSize() - Method in class org.rocksdb.VectorMemTableConfig
-
Returns the initial size of the vector used by the memtable
created based on this config.
- RestoreBackupableDB - Class in org.rocksdb
-
This class is used to access information about backups and
restore from them.
- RestoreBackupableDB(BackupableDBOptions) - Constructor for class org.rocksdb.RestoreBackupableDB
-
Construct new estoreBackupableDB instance.
- 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.
- restoreDBFromBackup(long, String, String, RestoreOptions) - Method in class org.rocksdb.RestoreBackupableDB
-
Restore from backup with backup_id.
- restoreDbFromLatestBackup(String, String, RestoreOptions) - Method in class org.rocksdb.BackupEngine
-
Restore the database from the latest backup
- restoreDBFromLatestBackup(String, String, RestoreOptions) - Method in class org.rocksdb.RestoreBackupableDB
-
Restore 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.
- 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
-
- 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.
- 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
-
- 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.
- 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.
- 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
-
- 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
-
- setAllowOsBuffer(boolean) - Method in class org.rocksdb.DBOptions
-
- setAllowOsBuffer(boolean) - Method in interface org.rocksdb.DBOptionsInterface
-
Data being read from file storage may be buffered in the OS
Default: true
- setAllowOsBuffer(boolean) - Method in class org.rocksdb.Options
-
- setArenaBlockSize(long) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setArenaBlockSize(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The size of one block in arena memory allocation.
- setArenaBlockSize(long) - Method in class org.rocksdb.Options
-
- 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.
- 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.
- 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 class org.rocksdb.ColumnFamilyOptions
-
- setBloomLocality(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Control locality of bloom filter probes to improve cache miss rate.
- setBloomLocality(int) - 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.
- 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.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.
- 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
-
- setCompactionStyle(CompactionStyle) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setCompactionStyle(CompactionStyle) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Set compaction style for DB.
- 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
-
- 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
-
- setCompressionPerLevel(List<CompressionType>) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setCompressionPerLevel(List<CompressionType>) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Different levels can have different compression
policies.
- setCompressionPerLevel(List<CompressionType>) - Method in class org.rocksdb.Options
-
- setCompressionType(CompressionType) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setCompressionType(CompressionType) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
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
-
- 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 interface org.rocksdb.ColumnFamilyOptionsInterface
-
Disable automatic compactions.
- setDisableAutoCompactions(boolean) - Method in class org.rocksdb.Options
-
- setDisableDataSync(boolean) - Method in class org.rocksdb.DBOptions
-
- setDisableDataSync(boolean) - Method in interface org.rocksdb.DBOptionsInterface
-
If true, then the contents of manifest and data files are
not synced to stable storage.
- setDisableDataSync(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.
- setEncodingType(EncodingType) - Method in class org.rocksdb.PlainTableConfig
-
Sets the encoding type.
- setEnv(Env) - Method in class org.rocksdb.Options
-
Use the specified object to interact with the environment,
e.g.
- 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
-
- setExpandedCompactionFactor(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setExpandedCompactionFactor(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Maximum number of bytes in all compacted files.
- setExpandedCompactionFactor(int) - Method in class org.rocksdb.Options
-
- 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.
- setFilterDeletes(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setFilterDeletes(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Use KeyMayExist API to filter deletes when this is true.
- setFilterDeletes(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.
- setHardRateLimit(double) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setHardRateLimit(double) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Puts are delayed 1ms at a time when any level has a compaction score that
exceeds hard_rate_limit.
- setHardRateLimit(double) - 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.
- 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.
- 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
-
- setInfoLogLevel(long, byte) - Method in class org.rocksdb.Logger
-
- setInfoLogLevel(InfoLogLevel) - Method in class org.rocksdb.Options
-
- setInplaceUpdateNumLocks(long) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setInplaceUpdateNumLocks(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Number of locks used for inplace update
Default: 10000, if inplace_update_support = true, else 0.
- setInplaceUpdateNumLocks(long) - Method in class org.rocksdb.Options
-
- setInplaceUpdateSupport(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setInplaceUpdateSupport(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Allows thread-safe inplace updates.
- 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
-
- 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.
- setLevelCompactionDynamicLevelBytes(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setLevelCompactionDynamicLevelBytes(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
If true
, RocksDB will pick target size of each level
dynamically.
- 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
- 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
-
Specifies the maximum number of concurrent background flush jobs.
- setMaxBackgroundFlushes(int) - Method in class org.rocksdb.Options
-
- setMaxBytesForLevelBase(long) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMaxBytesForLevelBase(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The upper-bound of the total size of level-1 files in bytes.
- setMaxBytesForLevelBase(long) - Method in class org.rocksdb.Options
-
- setMaxBytesForLevelMultiplier(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMaxBytesForLevelMultiplier(int) - 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(int) - Method in class org.rocksdb.Options
-
- setMaxGrandparentOverlapFactor(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMaxGrandparentOverlapFactor(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Control maximum bytes of overlaps in grandparent (i.e., level+2) before we
stop building a single file in a level->level+1 compaction.
- setMaxGrandparentOverlapFactor(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
-
- setMaxMemCompactionLevel(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMaxMemCompactionLevel(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Deprecated.
- setMaxMemCompactionLevel(int) - Method in class org.rocksdb.Options
-
- 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 class org.rocksdb.ColumnFamilyOptions
-
- setMaxSequentialSkipInIterations(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
An iteration->Next() sequentially skips over keys with the same
user-key unless this option is set.
- setMaxSequentialSkipInIterations(long) - Method in class org.rocksdb.Options
-
- setMaxSuccessiveMerges(long) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMaxSuccessiveMerges(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Maximum number of successive merge operations on a key in the memtable.
- setMaxSuccessiveMerges(long) - Method in class org.rocksdb.Options
-
- 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 class org.rocksdb.ColumnFamilyOptions
-
- setMaxWriteBufferNumber(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The maximum number of write buffers that are built up in memory.
- setMaxWriteBufferNumber(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
-
- setMemtablePrefixBloomBits(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMemtablePrefixBloomBits(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Sets the number of bits used in the prefix bloom filter.
- setMemtablePrefixBloomBits(int) - Method in class org.rocksdb.Options
-
- setMemtablePrefixBloomProbes(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMemtablePrefixBloomProbes(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The number of hash probes per key used in the mem-table.
- setMemtablePrefixBloomProbes(int) - 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
-
- setMinPartialMergeOperands(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMinPartialMergeOperands(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The number of partial merge operands to accumulate before partial
merge will be performed.
- setMinPartialMergeOperands(int) - Method in class org.rocksdb.Options
-
- setMinWriteBufferNumberToMerge(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setMinWriteBufferNumberToMerge(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The minimum number of write buffers that will be merged together
before writing to storage.
- setMinWriteBufferNumberToMerge(int) - Method in class org.rocksdb.Options
-
- setNativeHandle(long, boolean) - Method in class org.rocksdb.RocksMutableObject
-
- setNoBlockCache(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
-
Disable block cache.
- setNumLevels(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setNumLevels(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
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.Options
-
- setOptimizeFiltersForHits(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setOptimizeFiltersForHits(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
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.Options
-
- 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
-
- setPinL0FilterAndIndexBlocksInCache(boolean) - Method in class org.rocksdb.BlockBasedTableConfig
-
Indicating if we'd like to pin L0 index/filter blocks to the block cache.
- setPurgeRedundantKvsWhileFlush(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setPurgeRedundantKvsWhileFlush(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Purge duplicate/deleted keys when a memtable is flushed to storage.
- setPurgeRedundantKvsWhileFlush(boolean) - Method in class org.rocksdb.Options
-
- setRateLimitDelayMaxMilliseconds(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setRateLimitDelayMaxMilliseconds(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The maximum time interval a put will be stalled when hard_rate_limit
is enforced.
- setRateLimitDelayMaxMilliseconds(int) - Method in class org.rocksdb.Options
-
- setRateLimiterConfig(RateLimiterConfig) - Method in class org.rocksdb.DBOptions
-
- setRateLimiterConfig(RateLimiterConfig) - Method in interface org.rocksdb.DBOptionsInterface
-
Use to control write rate of flush and compaction.
- setRateLimiterConfig(RateLimiterConfig) - 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.
- 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.
- 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).
- setSoftRateLimit(double) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setSoftRateLimit(double) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Puts are delayed 0-1 ms when any level has a compaction score that exceeds
soft_rate_limit.
- setSoftRateLimit(double) - Method in class org.rocksdb.Options
-
- setSourceCompactionFactor(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setSourceCompactionFactor(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Maximum number of bytes in all source files to be compacted in a
single compaction run.
- setSourceCompactionFactor(int) - 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: 3600 (1 hour)
- setStatsDumpPeriodSec(int) - Method in class org.rocksdb.Options
-
- 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.
- 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 class org.rocksdb.ColumnFamilyOptions
-
- setTargetFileSizeBase(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
The target file size for compaction.
- setTargetFileSizeBase(long) - Method in class org.rocksdb.Options
-
- setTargetFileSizeMultiplier(int) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setTargetFileSizeMultiplier(int) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
targetFileSizeMultiplier defines the size ratio between a
level-L file and level-(L+1) file.
- setTargetFileSizeMultiplier(int) - Method in class org.rocksdb.Options
-
- setThresholdUseSkiplist(int) - Method in class org.rocksdb.HashLinkedListMemTableConfig
-
Set maximum number of entries in one bucket.
- 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
-
- 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
-
- setVerifyChecksums(boolean) - Method in class org.rocksdb.ReadOptions
-
If true, all data read from underlying storage will be
verified against corresponding checksums.
- setVerifyChecksumsInCompaction(boolean) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setVerifyChecksumsInCompaction(boolean) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
If true, compaction will verify checksum on every read that happens
as part of compaction
Default: true
- setVerifyChecksumsInCompaction(boolean) - Method in class org.rocksdb.Options
-
- setWaitForFlush(boolean) - Method in class org.rocksdb.FlushOptions
-
Set if the flush operation shall block until it terminates.
- 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
-
- 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
-
- 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).
- setWriteBufferSize(long) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setWriteBufferSize(long) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
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
-
- 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.
- size() - Method in class org.rocksdb.AbstractSlice
-
Return the length (in bytes) of the data.
- size() - Method in class org.rocksdb.BackupInfo
-
- 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
- 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
- softRateLimit() - Method in class org.rocksdb.ColumnFamilyOptions
-
- softRateLimit() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Puts are delayed 0-1 ms when any level has a compaction score that exceeds
soft_rate_limit.
- softRateLimit() - Method in class org.rocksdb.Options
-
- sourceCompactionFactor() - Method in class org.rocksdb.ColumnFamilyOptions
-
- sourceCompactionFactor() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Maximum number of bytes in all source files to be compacted in a
single compaction run.
- sourceCompactionFactor() - Method in class org.rocksdb.Options
-
- start() - Method in class org.rocksdb.StatisticsCollector
-
- startsWith(AbstractSlice<?>) - Method in class org.rocksdb.AbstractSlice
-
Determines whether this slice starts with
another slice
- Statistics - Class in org.rocksdb
-
Statistics to analyze the performance of a db.
- Statistics(long) - 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.
- statisticsPtr() - Method in class org.rocksdb.DBOptions
-
- statisticsPtr() - Method in interface org.rocksdb.DBOptionsInterface
-
Returns statistics object.
- statisticsPtr() - Method in class org.rocksdb.Options
-
- 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: 3600 (1 hour)
- statsDumpPeriodSec() - Method in class org.rocksdb.Options
-
- status() - Method in class org.rocksdb.AbstractRocksIterator
-
- status() - Method in interface org.rocksdb.RocksIteratorInterface
-
If an error has occurred, return it.
- status() - Method in class org.rocksdb.TransactionLogIterator
-
Throws RocksDBException if something went wrong.
- storeIndexInFile() - Method in class org.rocksdb.PlainTableConfig
-
Return a boolean value indicating if index shall be stored
in a file.
- 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.
- value() - Method in class org.rocksdb.RocksIterator
-
Return the value for the current entry.
- 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.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.TickerType
-
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.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.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.TickerType
-
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.
- verifyChecksumsInCompaction() - Method in class org.rocksdb.ColumnFamilyOptions
-
- verifyChecksumsInCompaction() - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
If true, compaction will verify checksum on every read that happens
as part of compaction
Default: true
- verifyChecksumsInCompaction() - Method in class org.rocksdb.Options
-