- garbageCollect() - Method in class org.rocksdb.BackupableDB
-
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
-
- geHistogramData(HistogramType) - Method in class org.rocksdb.Statistics
-
- generateKeyFromLong(byte[], long) - Method in class org.rocksdb.benchmark.DbBenchmark
-
- 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
-
- 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.
- 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.
- getCorruptedBackups() - Method in class org.rocksdb.BackupableDB
-
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.RocksEnv
-
Returns the default environment suitable for the current operating
system.
- getEnv() - Method in class org.rocksdb.Options
-
Returns the set RocksEnv instance.
- 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
-
- getJniLibraryName(String) - Static method in class org.rocksdb.util.Environment
-
- 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
-
- 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
-
- 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.RocksEnv
-
Returns the length of the queue associated with the specified
thread pool.
- getTickerCount(TickerType) - Method in class org.rocksdb.Statistics
-
- 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
-
- seek(byte[]) - Method in class org.rocksdb.RocksIterator
-
Position at the first key in the source that at or past target
The iterator is valid after this call iff the source contains
an entry that comes at or past target.
- seekToFirst() - Method in class org.rocksdb.RocksIterator
-
Position at the first key in the source.
- seekToLast() - Method in class org.rocksdb.RocksIterator
-
Position at the last key in the source.
- 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.RocksEnv
-
Sets the number of background worker threads of the flush pool
for this environment.
- setBackgroundThreads(int, int) - Method in class org.rocksdb.RocksEnv
-
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.
- 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) - Method in class org.rocksdb.ColumnFamilyOptions
-
- setComparator(BuiltinComparator) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
- setComparator(AbstractComparator) - Method in interface org.rocksdb.ColumnFamilyOptionsInterface
-
Use the specified comparator for key ordering.
- setComparator(BuiltinComparator) - Method in class org.rocksdb.Options
-
- setComparator(AbstractComparator) - 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(RocksEnv) - 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
-
- 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.
- 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.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.
- 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
-
- 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
-
The highest level to which a new compacted memtable is pushed if it
does not create overlap.
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- setSkipLogErrorOnRecovery(boolean) - Method in class org.rocksdb.DBOptions
-
- setSkipLogErrorOnRecovery(boolean) - Method in interface org.rocksdb.DBOptionsInterface
-
Skip log corruption error on recovery (If client is ok with
losing most recent changes)
Default: false
- setSkipLogErrorOnRecovery(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).
- 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
-
- setTableCacheRemoveScanCountLimit(int) - Method in class org.rocksdb.DBOptions
-
- setTableCacheRemoveScanCountLimit(int) - Method in interface org.rocksdb.DBOptionsInterface
-
During data eviction of table's LRU cache, it would be inefficient
to strictly follow LRU because this piece of memory will not really
be released unless its refcount falls to zero.
- setTableCacheRemoveScanCountLimit(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.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
- skipLogErrorOnRecovery() - Method in class org.rocksdb.DBOptions
-
- skipLogErrorOnRecovery() - Method in interface org.rocksdb.DBOptionsInterface
-
Skip log corruption error on recovery (If client is ok with
losing most recent changes)
Default: false
- skipLogErrorOnRecovery() - 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
- 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
-
- 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.RocksIterator
-
If an error has occurred, return it.
- 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.
- 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.
- 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
-