| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
void |
SstFileWriter.add(DirectSlice key,
DirectSlice value)
Deprecated.
|
void |
SstFileWriter.add(Slice key,
Slice value)
Deprecated.
|
void |
OptimisticTransactionDB.closeE()
This is similar to
OptimisticTransactionDB.close() except that it
throws an exception if any error occurs. |
void |
RocksDB.closeE()
This is similar to
RocksDB.close() except that it
throws an exception if any error occurs. |
void |
TransactionDB.closeE()
This is similar to
TransactionDB.close() except that it
throws an exception if any error occurs. |
void |
TtlDB.closeE()
Close the TtlDB instance and release resource.
|
void |
TraceWriter.closeWriter()
Close the writer.
|
void |
Transaction.commit()
Write all batched keys to the db atomically.
|
List<String> |
RocksDB.compactFiles(CompactionOptions compactionOptions,
ColumnFamilyHandle columnFamilyHandle,
List<String> inputFileNames,
int outputLevel,
int outputPathId,
CompactionJobInfo compactionJobInfo)
Takes a list of files specified by file names and
compacts them to the specified level.
|
List<String> |
RocksDB.compactFiles(CompactionOptions compactionOptions,
List<String> inputFileNames,
int outputLevel,
int outputPathId,
CompactionJobInfo compactionJobInfo)
Takes a list of files specified by file names and
compacts them to the specified level.
|
void |
RocksDB.compactRange()
Range compaction of database.
|
void |
RocksDB.compactRange(boolean changeLevel,
int targetLevel,
int targetPathId)
Deprecated.
|
void |
RocksDB.compactRange(byte[] begin,
byte[] end)
Range compaction of database.
|
void |
RocksDB.compactRange(byte[] begin,
byte[] end,
boolean changeLevel,
int targetLevel,
int targetPathId)
Deprecated.
|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle)
Range compaction of column family.
|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle,
boolean changeLevel,
int targetLevel,
int targetPathId)
Deprecated.
|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle,
byte[] begin,
byte[] end)
Range compaction of column family.
|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle,
byte[] begin,
byte[] end,
boolean changeLevel,
int targetLevel,
int targetPathId)
Deprecated.
|
void |
RocksDB.compactRange(ColumnFamilyHandle columnFamilyHandle,
byte[] begin,
byte[] end,
CompactRangeOptions compactRangeOptions)
Range compaction of column family.
|
void |
RocksDB.continueBackgroundWork()
Resumes background work which was suspended by
previously calling
RocksDB.pauseBackgroundWork() |
void |
Checkpoint.createCheckpoint(String checkpointPath)
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
|
List<ColumnFamilyHandle> |
RocksDB.createColumnFamilies(ColumnFamilyOptions columnFamilyOptions,
List<byte[]> columnFamilyNames)
Bulk create column families with the same column family options.
|
List<ColumnFamilyHandle> |
RocksDB.createColumnFamilies(List<ColumnFamilyDescriptor> columnFamilyDescriptors)
Bulk create column families with the same column family options.
|
ColumnFamilyHandle |
RocksDB.createColumnFamily(ColumnFamilyDescriptor columnFamilyDescriptor)
Creates a new column family with the name columnFamilyName and
allocates a ColumnFamilyHandle within an internal structure.
|
ColumnFamilyHandle |
TtlDB.createColumnFamilyWithTtl(ColumnFamilyDescriptor columnFamilyDescriptor,
int ttl)
Creates a new ttl based column family with a name defined
in given ColumnFamilyDescriptor and allocates a
ColumnFamilyHandle within an internal structure.
|
void |
BackupEngine.createNewBackup(RocksDB db)
Captures the state of the database in the latest backup
Just a convenience for
BackupEngine.createNewBackup(RocksDB, boolean) with
the flushBeforeBackup parameter set to false |
void |
BackupEngine.createNewBackup(RocksDB db,
boolean flushBeforeBackup)
Captures the state of the database in the latest backup
|
void |
BackupEngine.createNewBackupWithMetadata(RocksDB db,
String metadata,
boolean flushBeforeBackup)
Captures the state of the database in the latest backup along with
application specific metadata.
|
byte[] |
WriteBatch.data()
Retrieve the serialized version of this batch.
|
void |
AbstractWriteBatch.delete(byte[] key) |
void |
RocksDB.delete(byte[] key)
Delete the database entry (if any) for "key".
|
void |
SstFileWriter.delete(byte[] key)
Add a deletion key to currently opened file.
|
void |
Transaction.delete(byte[] key)
Similar to
RocksDB.delete(byte[]), but
will also perform conflict checking on the keys be written. |
void |
WriteBatchInterface.delete(byte[] key)
If the database contains a mapping for "key", erase it.
|
void |
Transaction.delete(byte[][] keyParts)
Similar to
Transaction.delete(byte[]) but allows
you to specify key the in several parts that will be
concatenated together. |
void |
RocksDB.delete(byte[] key,
int offset,
int len)
Delete the database entry (if any) for "key".
|
void |
AbstractWriteBatch.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key) |
void |
RocksDB.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Delete the database entry (if any) for "key".
|
void |
Transaction.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Similar to
Transaction.delete(ColumnFamilyHandle, byte[], boolean)
but with assumeTracked = false. |
void |
WriteBatchInterface.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
If column family contains a mapping for "key", erase it.
|
void |
Transaction.delete(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts)
Similar to
Transaction.delete(ColumnFamilyHandle, byte[][], boolean)
but with assumeTracked = false. |
void |
Transaction.delete(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts,
boolean assumeTracked)
Similar to
Transaction.delete(ColumnFamilyHandle, byte[]) but allows
you to specify the key in several parts that will be
concatenated together. |
void |
Transaction.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
boolean assumeTracked)
Similar to
RocksDB.delete(ColumnFamilyHandle, byte[]), but
will also perform conflict checking on the keys be written. |
void |
RocksDB.delete(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len)
Delete the database entry (if any) for "key".
|
void |
RocksDB.delete(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
byte[] key)
Delete the database entry (if any) for "key".
|
void |
RocksDB.delete(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
byte[] key,
int offset,
int len)
Delete the database entry (if any) for "key".
|
void |
RocksDB.delete(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
ByteBuffer key)
Delete the database entry (if any) for "key".
|
void |
SstFileWriter.delete(DirectSlice key)
Add a deletion key to currently opened file.
|
abstract void |
WriteBatch.Handler.delete(int columnFamilyId,
byte[] key) |
void |
SstFileWriter.delete(Slice key)
Add a deletion key to currently opened file.
|
void |
RocksDB.delete(WriteOptions writeOpt,
byte[] key)
Delete the database entry (if any) for "key".
|
void |
RocksDB.delete(WriteOptions writeOpt,
byte[] key,
int offset,
int len)
Delete the database entry (if any) for "key".
|
void |
RocksDB.delete(WriteOptions writeOpt,
ByteBuffer key)
Delete the database entry (if any) for "key".
|
void |
BackupEngine.deleteBackup(int backupId)
Deletes a backup
|
void |
RocksDB.deleteFile(String name)
Delete the file name from the db directory and update the internal state to
reflect that.
|
void |
RocksDB.deleteFilesInRanges(ColumnFamilyHandle columnFamily,
List<byte[]> ranges,
boolean includeEnd)
Delete files in multiple ranges at once.
|
void |
AbstractWriteBatch.deleteRange(byte[] beginKey,
byte[] endKey) |
void |
RocksDB.deleteRange(byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
void |
WriteBatchInterface.deleteRange(byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
void |
AbstractWriteBatch.deleteRange(ColumnFamilyHandle columnFamilyHandle,
byte[] beginKey,
byte[] endKey) |
void |
RocksDB.deleteRange(ColumnFamilyHandle columnFamilyHandle,
byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
void |
WriteBatchInterface.deleteRange(ColumnFamilyHandle columnFamilyHandle,
byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
void |
RocksDB.deleteRange(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
abstract void |
WriteBatch.Handler.deleteRange(int columnFamilyId,
byte[] beginKey,
byte[] endKey) |
void |
RocksDB.deleteRange(WriteOptions writeOpt,
byte[] beginKey,
byte[] endKey)
Removes the database entries in the range ["beginKey", "endKey"), i.e.,
including "beginKey" and excluding "endKey". a non-OK status on error.
|
void |
Transaction.deleteUntracked(byte[] key)
Similar to
RocksDB.delete(byte[]),
but operates on the transactions write batch. |
void |
Transaction.deleteUntracked(byte[][] keyParts)
Similar to
Transaction.deleteUntracked(byte[]) but allows
you to specify the key in several parts that will be
concatenated together. |
void |
Transaction.deleteUntracked(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Similar to
RocksDB.delete(ColumnFamilyHandle, byte[]),
but operates on the transactions write batch. |
void |
Transaction.deleteUntracked(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts)
Similar to
Transaction.deleteUntracked(ColumnFamilyHandle, byte[]) but allows
you to specify the key in several parts that will be
concatenated together. |
static void |
RocksDB.destroyDB(String path,
Options options)
Static method to destroy the contents of the specified database.
|
void |
RocksDB.disableFileDeletions()
Prevent file deletions.
|
void |
RocksDB.dropColumnFamilies(List<ColumnFamilyHandle> columnFamilies) |
void |
RocksDB.dropColumnFamily(ColumnFamilyHandle columnFamilyHandle)
Drops the column family specified by
columnFamilyHandle. |
void |
RocksDB.enableAutoCompaction(List<ColumnFamilyHandle> columnFamilyHandles)
Enable automatic compactions for the given column
families if they were previously disabled.
|
void |
RocksDB.enableFileDeletions(boolean force)
Allow compactions to delete obsolete files.
|
void |
RocksDB.endTrace()
Stop tracing DB operations.
|
long |
SstFileWriter.fileSize()
Return the current file size.
|
void |
SstFileWriter.finish()
Finish the process and close the sst file.
|
void |
RocksDB.flush(FlushOptions flushOptions)
Flush all memory table data.
|
void |
RocksDB.flush(FlushOptions flushOptions,
ColumnFamilyHandle columnFamilyHandle)
Flush all memory table data.
|
void |
RocksDB.flush(FlushOptions flushOptions,
List<ColumnFamilyHandle> columnFamilyHandles)
Flushes multiple column families.
|
void |
RocksDB.flushWal(boolean sync)
Flush the WAL memory buffer to the file.
|
void |
BackupEngine.garbageCollect()
Will delete all the files we don't need anymore.
|
byte[] |
RocksDB.get(byte[] key)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(byte[] key,
byte[] value)
Get the value associated with the specified key within column family*
|
byte[] |
RocksDB.get(byte[] key,
int offset,
int len)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Get the value associated with the specified key within column family*
|
byte[] |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Get the value associated with the specified key within column family.
|
byte[] |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Get the value associated with the specified key within column family.
|
byte[] |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions opt,
byte[] key)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
byte[] |
Transaction.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions readOptions,
byte[] key)
This function is similar to
RocksDB.get(ColumnFamilyHandle, ReadOptions, byte[]) except it will
also read pending changes in this transaction. |
int |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions opt,
byte[] key,
byte[] value)
Get the value associated with the specified key within column family.
|
byte[] |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions opt,
byte[] key,
int offset,
int len)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions opt,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Get the value associated with the specified key within column family.
|
int |
RocksDB.get(ColumnFamilyHandle columnFamilyHandle,
ReadOptions opt,
ByteBuffer key,
ByteBuffer value)
Get the value associated with the specified key within column family.
|
byte[] |
RocksDB.get(ReadOptions opt,
byte[] key)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
byte[] |
Transaction.get(ReadOptions readOptions,
byte[] key)
This function is similar to
RocksDB.get(ReadOptions, byte[]) except it will
also read pending changes in this transaction. |
int |
RocksDB.get(ReadOptions opt,
byte[] key,
byte[] value)
Get the value associated with the specified key.
|
byte[] |
RocksDB.get(ReadOptions opt,
byte[] key,
int offset,
int len)
The simplified version of get which returns a new byte array storing
the value associated with the specified input key if any.
|
int |
RocksDB.get(ReadOptions opt,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Get the value associated with the specified key.
|
int |
RocksDB.get(ReadOptions opt,
ByteBuffer key,
ByteBuffer value)
Get the value associated with the specified key within column family.
|
long |
RocksDB.getAggregatedLongProperty(String property)
Return sum of the getLongProperty of all the column families
Note: As the returned property is of type
uint64_t on C++ side the returning value can be negative
because Java supports in Java 7 only signed long values. |
ColumnFamilyDescriptor |
ColumnFamilyHandle.getDescriptor()
Gets the up-to-date descriptor of the column family
associated with this handle.
|
byte[] |
Transaction.getForUpdate(ReadOptions readOptions,
byte[] key,
boolean exclusive)
Read this key and ensure that this transaction will only
be able to be committed if this key is not written outside this
transaction after it has first been read (or after the snapshot if a
snapshot is set in this transaction).
|
byte[] |
Transaction.getForUpdate(ReadOptions readOptions,
ColumnFamilyHandle columnFamilyHandle,
byte[] key,
boolean exclusive)
Same as
Transaction.getForUpdate(ReadOptions, ColumnFamilyHandle, byte[], boolean, boolean)
with doValidate=true. |
byte[] |
Transaction.getForUpdate(ReadOptions readOptions,
ColumnFamilyHandle columnFamilyHandle,
byte[] key,
boolean exclusive,
boolean doValidate)
Read this key and ensure that this transaction will only
be able to be committed if this key is not written outside this
transaction after it has first been read (or after the snapshot if a
snapshot is set in this transaction).
|
byte[] |
WriteBatchWithIndex.getFromBatch(ColumnFamilyHandle columnFamilyHandle,
DBOptions options,
byte[] key)
Similar to
RocksDB.get(ColumnFamilyHandle, byte[]) but will only
read the key from this batch. |
byte[] |
WriteBatchWithIndex.getFromBatch(DBOptions options,
byte[] key)
Similar to
RocksDB.get(byte[]) but will only
read the key from this batch. |
byte[] |
WriteBatchWithIndex.getFromBatchAndDB(RocksDB db,
ColumnFamilyHandle columnFamilyHandle,
ReadOptions options,
byte[] key)
Similar to
RocksDB.get(ColumnFamilyHandle, byte[]) but will also
read writes from this batch. |
byte[] |
WriteBatchWithIndex.getFromBatchAndDB(RocksDB db,
ReadOptions options,
byte[] key)
Similar to
RocksDB.get(byte[]) but will also
read writes from this batch. |
static String |
OptionsUtil.getLatestOptionsFileName(String dbPath,
Env env)
Returns the latest options file name under the specified RocksDB path.
|
RocksDB.LiveFiles |
RocksDB.getLiveFiles()
Retrieve the list of all files in the database after flushing the memtable.
|
RocksDB.LiveFiles |
RocksDB.getLiveFiles(boolean flushMemtable)
Retrieve the list of all files in the database.
|
long |
RocksDB.getLongProperty(ColumnFamilyHandle columnFamilyHandle,
String property)
Similar to GetProperty(), but only works for a subset of properties
whose return value is a numerical value.
|
long |
RocksDB.getLongProperty(String property)
Similar to GetProperty(), but only works for a subset of properties
whose return value is a numerical value.
|
Map<String,String> |
RocksDB.getMapProperty(ColumnFamilyHandle columnFamilyHandle,
String property)
Gets a property map.
|
Map<String,String> |
RocksDB.getMapProperty(String property)
Gets a property map.
|
byte[] |
ColumnFamilyHandle.getName()
Gets the name of the Column Family.
|
Map<String,TableProperties> |
RocksDB.getPropertiesOfAllTables()
Get the properties of all tables in the default column family.
|
Map<String,TableProperties> |
RocksDB.getPropertiesOfAllTables(ColumnFamilyHandle columnFamilyHandle)
Get the properties of all tables.
|
Map<String,TableProperties> |
RocksDB.getPropertiesOfTablesInRange(ColumnFamilyHandle columnFamilyHandle,
List<Range> ranges)
Get the properties of tables in range.
|
Map<String,TableProperties> |
RocksDB.getPropertiesOfTablesInRange(List<Range> ranges)
Get the properties of tables in range for the default column family.
|
String |
RocksDB.getProperty(ColumnFamilyHandle columnFamilyHandle,
String property)
DB implements can export properties about their state
via this method on a per column family level.
|
String |
RocksDB.getProperty(String property)
DB implementations can export properties about their state
via this method.
|
List<LogFile> |
RocksDB.getSortedWalFiles()
Retrieve the sorted list of all wal files with earliest file first.
|
TableProperties |
SstFileReader.getTableProperties()
Get the properties of the table.
|
List<ThreadStatus> |
Env.getThreadList()
Returns the status of all threads that belong to the current Env.
|
TransactionLogIterator |
RocksDB.getUpdatesSince(long sequenceNumber)
Returns an iterator that is positioned at a write-batch containing
seq_number.
|
void |
RocksDB.ingestExternalFile(ColumnFamilyHandle columnFamilyHandle,
List<String> filePathList,
IngestExternalFileOptions ingestExternalFileOptions)
ingestExternalFile will load a list of external SST files (1) into the DB
We will try to find the lowest possible level that the file can fit in, and
ingest the file into this level (2).
|
void |
RocksDB.ingestExternalFile(List<String> filePathList,
IngestExternalFileOptions ingestExternalFileOptions)
ingestExternalFile will load a list of external SST files (1) into the DB
We will try to find the lowest possible level that the file can fit in, and
ingest the file into this level (2).
|
void |
WriteBatch.iterate(WriteBatch.Handler handler)
Support for iterating over the contents of a batch.
|
static List<byte[]> |
RocksDB.listColumnFamilies(Options options,
String path)
Static method to determine all available column families for a
rocksdb database identified by path
|
static void |
OptionsUtil.loadLatestOptions(ConfigOptions configOptions,
String dbPath,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs)
Similar to LoadLatestOptions, this function constructs the DBOptions
and ColumnFamilyDescriptors based on the specified RocksDB Options file.
|
static void |
OptionsUtil.loadLatestOptions(String dbPath,
Env env,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs)
A static method to construct the DBOptions and ColumnFamilyDescriptors by
loading the latest RocksDB options file stored in the specified rocksdb
database.
|
static void |
OptionsUtil.loadLatestOptions(String dbPath,
Env env,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs,
boolean ignoreUnknownOptions) |
static void |
OptionsUtil.loadOptionsFromFile(ConfigOptions configOptions,
String optionsFileName,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs)
Similar to LoadLatestOptions, this function constructs the DBOptions
and ColumnFamilyDescriptors based on the specified RocksDB Options file.
|
static void |
OptionsUtil.loadOptionsFromFile(String optionsFileName,
Env env,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs)
Similar to LoadLatestOptions, this function constructs the DBOptions
and ColumnFamilyDescriptors based on the specified RocksDB Options file.
|
static void |
OptionsUtil.loadOptionsFromFile(String optionsFileName,
Env env,
DBOptions dbOptions,
List<ColumnFamilyDescriptor> cfDescs,
boolean ignoreUnknownOptions) |
abstract void |
WriteBatch.Handler.markBeginPrepare() |
abstract void |
WriteBatch.Handler.markCommit(byte[] xid) |
abstract void |
WriteBatch.Handler.markEndPrepare(byte[] xid) |
abstract void |
WriteBatch.Handler.markNoop(boolean emptyBatch) |
abstract void |
WriteBatch.Handler.markRollback(byte[] xid) |
void |
AbstractWriteBatch.merge(byte[] key,
byte[] value) |
void |
RocksDB.merge(byte[] key,
byte[] value)
Add merge operand for key/value pair.
|
void |
SstFileWriter.merge(byte[] key,
byte[] value)
Add a Merge key with value to currently opened file.
|
void |
Transaction.merge(byte[] key,
byte[] value)
Similar to
RocksDB.merge(byte[], byte[]), but
will also perform conflict checking on the keys be written. |
void |
WriteBatchInterface.merge(byte[] key,
byte[] value)
Merge "value" with the existing value of "key" in the database.
|
void |
RocksDB.merge(byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Add merge operand for key/value pair.
|
void |
AbstractWriteBatch.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value) |
void |
RocksDB.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Add merge operand for key/value pair in a ColumnFamily.
|
void |
Transaction.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Similar to
Transaction.merge(ColumnFamilyHandle, byte[], byte[], boolean)
but with assumeTracked = false. |
void |
WriteBatchInterface.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Merge "value" with the existing value of "key" in given column family.
|
void |
Transaction.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value,
boolean assumeTracked)
Similar to
RocksDB.merge(ColumnFamilyHandle, byte[], byte[]), but
will also perform conflict checking on the keys be written. |
void |
RocksDB.merge(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Add merge operand for key/value pair in a ColumnFamily.
|
void |
RocksDB.merge(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpts,
byte[] key,
byte[] value)
Add merge operand for key/value pair.
|
void |
RocksDB.merge(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpts,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Add merge operand for key/value pair.
|
void |
SstFileWriter.merge(DirectSlice key,
DirectSlice value)
Add a Merge key with value to currently opened file.
|
abstract void |
WriteBatch.Handler.merge(int columnFamilyId,
byte[] key,
byte[] value) |
void |
SstFileWriter.merge(Slice key,
Slice value)
Add a Merge key with value to currently opened file.
|
void |
RocksDB.merge(WriteOptions writeOpts,
byte[] key,
byte[] value)
Add merge operand for key/value pair.
|
void |
RocksDB.merge(WriteOptions writeOpts,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Add merge operand for key/value pair.
|
void |
Transaction.mergeUntracked(byte[] key,
byte[] value)
Similar to
RocksDB.merge(byte[], byte[]),
but operates on the transactions write batch. |
void |
Transaction.mergeUntracked(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Similar to
RocksDB.merge(ColumnFamilyHandle, byte[], byte[]),
but operates on the transactions write batch. |
Map<byte[],byte[]> |
RocksDB.multiGet(List<byte[]> keys)
Deprecated.
Consider
RocksDB.multiGetAsList(List) instead. |
Map<byte[],byte[]> |
RocksDB.multiGet(List<ColumnFamilyHandle> columnFamilyHandleList,
List<byte[]> keys)
Deprecated.
Consider
RocksDB.multiGetAsList(List, List) instead. |
byte[][] |
Transaction.multiGet(ReadOptions readOptions,
byte[][] keys)
This function is similar to
RocksDB.multiGet(ReadOptions, List) except it will
also read pending changes in this transaction. |
Map<byte[],byte[]> |
RocksDB.multiGet(ReadOptions opt,
List<byte[]> keys)
Deprecated.
Consider
RocksDB.multiGetAsList(ReadOptions, List) instead. |
byte[][] |
Transaction.multiGet(ReadOptions readOptions,
List<ColumnFamilyHandle> columnFamilyHandles,
byte[][] keys)
This function is similar to
RocksDB.multiGet(ReadOptions, List, List) except it will
also read pending changes in this transaction. |
Map<byte[],byte[]> |
RocksDB.multiGet(ReadOptions opt,
List<ColumnFamilyHandle> columnFamilyHandleList,
List<byte[]> keys)
Deprecated.
Consider
RocksDB.multiGetAsList(ReadOptions, List, List)
instead. |
List<byte[]> |
RocksDB.multiGetAsList(List<byte[]> keys)
Takes a list of keys, and returns a list of values for the given list of
keys.
|
List<byte[]> |
RocksDB.multiGetAsList(List<ColumnFamilyHandle> columnFamilyHandleList,
List<byte[]> keys)
Returns a list of values for the given list of keys.
|
List<byte[]> |
RocksDB.multiGetAsList(ReadOptions opt,
List<byte[]> keys)
Returns a list of values for the given list of keys.
|
List<byte[]> |
RocksDB.multiGetAsList(ReadOptions opt,
List<ColumnFamilyHandle> columnFamilyHandleList,
List<byte[]> keys)
Returns a list of values for the given list of keys.
|
byte[][] |
Transaction.multiGetForUpdate(ReadOptions readOptions,
byte[][] keys)
A multi-key version of
Transaction.getForUpdate(ReadOptions, byte[], boolean). |
byte[][] |
Transaction.multiGetForUpdate(ReadOptions readOptions,
List<ColumnFamilyHandle> columnFamilyHandles,
byte[][] keys)
A multi-key version of
Transaction.getForUpdate(ReadOptions, ColumnFamilyHandle, byte[], boolean). |
List<RocksIterator> |
RocksDB.newIterators(List<ColumnFamilyHandle> columnFamilyHandleList)
Returns iterators from a consistent database state across multiple
column families.
|
List<RocksIterator> |
RocksDB.newIterators(List<ColumnFamilyHandle> columnFamilyHandleList,
ReadOptions readOptions)
Returns iterators from a consistent database state across multiple
column families.
|
static OptimisticTransactionDB |
OptimisticTransactionDB.open(DBOptions dbOptions,
String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
Open an OptimisticTransactionDB similar to
RocksDB.open(DBOptions, String, List, List). |
static RocksDB |
RocksDB.open(DBOptions options,
String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
The factory constructor of RocksDB that opens a RocksDB instance given
the path to the database using the specified options and db path and a list
of column family names.
|
static TtlDB |
TtlDB.open(DBOptions options,
String db_path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles,
List<Integer> ttlValues,
boolean readOnly)
Opens a TtlDB.
|
static TransactionDB |
TransactionDB.open(DBOptions dbOptions,
TransactionDBOptions transactionDbOptions,
String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
Open a TransactionDB, similar to
RocksDB.open(DBOptions, String, List, List). |
static BackupEngine |
BackupEngine.open(Env env,
BackupableDBOptions options)
Opens a new Backup Engine
|
protected static long |
OptimisticTransactionDB.open(long optionsHandle,
String path) |
static OptimisticTransactionDB |
OptimisticTransactionDB.open(Options options,
String path)
Open an OptimisticTransactionDB similar to
RocksDB.open(Options, String). |
static RocksDB |
RocksDB.open(Options options,
String path)
The factory constructor of RocksDB that opens a RocksDB instance given
the path to the database using the specified options and db path.
|
static TtlDB |
TtlDB.open(Options options,
String db_path)
Opens a TtlDB.
|
static TtlDB |
TtlDB.open(Options options,
String db_path,
int ttl,
boolean readOnly)
Opens a TtlDB.
|
static TransactionDB |
TransactionDB.open(Options options,
TransactionDBOptions transactionDbOptions,
String path)
Open a TransactionDB, similar to
RocksDB.open(Options, String). |
static RocksDB |
RocksDB.open(String path)
The factory constructor of RocksDB that opens a RocksDB instance given
the path to the database using the default options w/ createIfMissing
set to true.
|
void |
SstFileReader.open(String filePath)
Prepare SstFileReader to read a file.
|
void |
SstFileWriter.open(String filePath)
Prepare SstFileWriter to write to a file.
|
static RocksDB |
RocksDB.open(String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
The factory constructor of RocksDB that opens a RocksDB instance given
the path to the database using the specified options and db path and a list
of column family names.
|
static RocksDB |
RocksDB.openAsSecondary(DBOptions options,
String path,
String secondaryPath,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
Open DB as secondary instance with column families.
|
static RocksDB |
RocksDB.openAsSecondary(Options options,
String path,
String secondaryPath)
Open DB as secondary instance with only the default column family.
|
static RocksDB |
RocksDB.openReadOnly(DBOptions options,
String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the specified
options and db path.
|
static RocksDB |
RocksDB.openReadOnly(DBOptions options,
String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles,
boolean errorIfWalFileExists)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the specified
options and db path.
|
static RocksDB |
RocksDB.openReadOnly(Options options,
String path)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the specified
options and db path.
|
static RocksDB |
RocksDB.openReadOnly(Options options,
String path,
boolean errorIfWalFileExists)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the specified
options and db path.
|
static RocksDB |
RocksDB.openReadOnly(String path)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the default
options.
|
static RocksDB |
RocksDB.openReadOnly(String path,
List<ColumnFamilyDescriptor> columnFamilyDescriptors,
List<ColumnFamilyHandle> columnFamilyHandles)
The factory constructor of RocksDB that opens a RocksDB instance in
Read-Only mode given the path to the database using the default
options.
|
void |
RocksDB.pauseBackgroundWork()
This function will wait until all currently running background processes
finish.
|
void |
AbstractWriteBatch.popSavePoint() |
void |
WriteBatchInterface.popSavePoint()
Pop the most recent save point.
|
void |
RocksDB.promoteL0(ColumnFamilyHandle columnFamilyHandle,
int targetLevel)
Promote L0.
|
void |
RocksDB.promoteL0(int targetLevel)
Promote L0 for the default column family.
|
void |
BackupEngine.purgeOldBackups(int numBackupsToKeep)
Deletes old backups, keeping just the latest numBackupsToKeep
|
void |
Transaction.put(byte[][] keyParts,
byte[][] valueParts)
Similar to
Transaction.put(byte[], byte[]) but allows
you to specify the key and value in several parts that will be
concatenated together |
void |
AbstractWriteBatch.put(byte[] key,
byte[] value) |
void |
RocksDB.put(byte[] key,
byte[] value)
Set the database entry for "key" to "value".
|
void |
SstFileWriter.put(byte[] key,
byte[] value)
Add a Put key with value to currently opened file.
|
void |
Transaction.put(byte[] key,
byte[] value)
Similar to
RocksDB.put(byte[], byte[]), but
will also perform conflict checking on the keys be written. |
void |
WriteBatchInterface.put(byte[] key,
byte[] value)
Store the mapping "key->value" in the database.
|
void |
RocksDB.put(byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Set the database entry for "key" to "value".
|
void |
AbstractWriteBatch.put(ByteBuffer key,
ByteBuffer value) |
void |
SstFileWriter.put(ByteBuffer key,
ByteBuffer value)
Add a Put key with value to currently opened file.
|
void |
WriteBatchInterface.put(ByteBuffer key,
ByteBuffer value)
Store the mapping "key->value" within given column
family.
|
void |
Transaction.put(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts,
byte[][] valueParts)
Similar to
Transaction.put(ColumnFamilyHandle, byte[][], byte[][], boolean)
but with with assumeTracked = false. |
void |
Transaction.put(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts,
byte[][] valueParts,
boolean assumeTracked)
Similar to
Transaction.put(ColumnFamilyHandle, byte[], byte[]) but allows
you to specify the key and value in several parts that will be
concatenated together. |
void |
AbstractWriteBatch.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value) |
void |
RocksDB.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Set the database entry for "key" to "value" in the specified
column family.
|
void |
Transaction.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Similar to
Transaction.put(ColumnFamilyHandle, byte[], byte[], boolean)
but with assumeTracked = false. |
void |
WriteBatchInterface.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Store the mapping "key->value" within given column
family.
|
void |
Transaction.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value,
boolean assumeTracked)
Similar to
RocksDB.put(ColumnFamilyHandle, byte[], byte[]), but
will also perform conflict checking on the keys be written. |
void |
RocksDB.put(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Set the database entry for "key" to "value" in the specified
column family.
|
void |
AbstractWriteBatch.put(ColumnFamilyHandle columnFamilyHandle,
ByteBuffer key,
ByteBuffer value) |
void |
WriteBatchInterface.put(ColumnFamilyHandle columnFamilyHandle,
ByteBuffer key,
ByteBuffer value)
Store the mapping "key->value" within given column
family.
|
void |
RocksDB.put(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpts,
byte[] key,
byte[] value)
Set the database entry for "key" to "value" for the specified
column family.
|
void |
RocksDB.put(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpts,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Set the database entry for "key" to "value" for the specified
column family.
|
void |
RocksDB.put(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpts,
ByteBuffer key,
ByteBuffer value)
Set the database entry for "key" to "value" for the specified
column family.
|
void |
SstFileWriter.put(DirectSlice key,
DirectSlice value)
Add a Put key with value to currently opened file.
|
abstract void |
WriteBatch.Handler.put(int columnFamilyId,
byte[] key,
byte[] value) |
void |
SstFileWriter.put(Slice key,
Slice value)
Add a Put key with value to currently opened file.
|
void |
RocksDB.put(WriteOptions writeOpts,
byte[] key,
byte[] value)
Set the database entry for "key" to "value".
|
void |
RocksDB.put(WriteOptions writeOpts,
byte[] key,
int offset,
int len,
byte[] value,
int vOffset,
int vLen)
Set the database entry for "key" to "value".
|
void |
RocksDB.put(WriteOptions writeOpts,
ByteBuffer key,
ByteBuffer value)
Set the database entry for "key" to "value".
|
abstract void |
WriteBatch.Handler.putBlobIndex(int columnFamilyId,
byte[] key,
byte[] value) |
void |
AbstractWriteBatch.putLogData(byte[] blob) |
void |
WriteBatchInterface.putLogData(byte[] blob)
Append a blob of arbitrary size to the records in this batch.
|
void |
Transaction.putUntracked(byte[][] keyParts,
byte[][] valueParts)
Similar to
Transaction.putUntracked(byte[], byte[]) but
allows you to specify the key and value in several parts that will be
concatenated together. |
void |
Transaction.putUntracked(byte[] key,
byte[] value)
Similar to
RocksDB.put(byte[], byte[]),
but operates on the transactions write batch. |
void |
Transaction.putUntracked(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts,
byte[][] valueParts)
Similar to
Transaction.putUntracked(ColumnFamilyHandle, byte[], byte[]) but
allows you to specify the key and value in several parts that will be
concatenated together. |
void |
Transaction.putUntracked(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
byte[] value)
Similar to
RocksDB.put(ColumnFamilyHandle, byte[], byte[]),
but operates on the transactions write batch. |
void |
Transaction.rebuildFromWriteBatch(WriteBatch writeBatch)
Adds the keys from the WriteBatch to the transaction
|
void |
AbstractRocksIterator.refresh() |
void |
RocksIteratorInterface.refresh()
If supported, renew the iterator to represent the latest state.
|
void |
AbstractWriteBatch.remove(byte[] key)
Deprecated.
|
void |
RocksDB.remove(byte[] key)
Deprecated.
|
void |
WriteBatchInterface.remove(byte[] key)
Deprecated.
|
void |
AbstractWriteBatch.remove(ByteBuffer key) |
void |
WriteBatchInterface.remove(ByteBuffer key)
If column family contains a mapping for "key", erase it.
|
void |
AbstractWriteBatch.remove(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Deprecated.
|
void |
RocksDB.remove(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Deprecated.
|
void |
WriteBatchInterface.remove(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Deprecated.
|
void |
AbstractWriteBatch.remove(ColumnFamilyHandle columnFamilyHandle,
ByteBuffer key) |
void |
WriteBatchInterface.remove(ColumnFamilyHandle columnFamilyHandle,
ByteBuffer key)
If column family contains a mapping for "key", erase it.
|
void |
RocksDB.remove(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
byte[] key)
Deprecated.
|
void |
RocksDB.remove(WriteOptions writeOpt,
byte[] key)
Deprecated.
|
void |
Statistics.reset()
Resets all ticker and histogram stats.
|
void |
RocksDB.resetStats()
Reset internal stats for DB and all column families.
|
void |
BackupEngine.restoreDbFromBackup(int backupId,
String dbDir,
String walDir,
RestoreOptions restoreOptions)
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!
|
void |
BackupEngine.restoreDbFromLatestBackup(String dbDir,
String walDir,
RestoreOptions restoreOptions)
Restore the database from the latest backup
|
void |
Transaction.rollback()
Discard all batched writes in this transaction.
|
void |
AbstractWriteBatch.rollbackToSavePoint() |
void |
Transaction.rollbackToSavePoint()
Undo all operations in this transaction (put, merge, delete, putLogData)
since the most recent call to
Transaction.setSavePoint() and removes the most
recent Transaction.setSavePoint(). |
void |
WriteBatchInterface.rollbackToSavePoint()
Remove all entries in this batch (Put, Merge, Delete, PutLogData) since
the most recent call to SetSavePoint() and removes the most recent save
point.
|
void |
RocksDB.setDBOptions(MutableDBOptions mutableDBoptions)
Set the options for the column family handle.
|
void |
Transaction.setName(String transactionName)
Set the name of the transaction.
|
void |
RocksDB.setOptions(ColumnFamilyHandle columnFamilyHandle,
MutableColumnFamilyOptions mutableColumnFamilyOptions)
Change the options for the column family handle.
|
void |
RocksDB.setOptions(MutableColumnFamilyOptions mutableColumnFamilyOptions)
Change the options for the default column family handle.
|
void |
Transaction.setSavePoint()
Records the state of the transaction for future calls to
Transaction.rollbackToSavePoint(). |
void |
AbstractWriteBatch.singleDelete(byte[] key) |
void |
RocksDB.singleDelete(byte[] key)
Remove the database entry for
key. |
void |
Transaction.singleDelete(byte[] key)
Similar to
RocksDB.singleDelete(byte[]), but
will also perform conflict checking on the keys be written. |
void |
WriteBatchInterface.singleDelete(byte[] key)
Remove the database entry for
key. |
void |
Transaction.singleDelete(byte[][] keyParts)
Similar to
Transaction.singleDelete(byte[]) but allows
you to specify the key in several parts that will be
concatenated together. |
void |
AbstractWriteBatch.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[] key) |
void |
RocksDB.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Remove the database entry for
key. |
void |
Transaction.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Similar to
Transaction.singleDelete(ColumnFamilyHandle, byte[], boolean)
but with assumeTracked = false. |
void |
WriteBatchInterface.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[] key)
Remove the database entry for
key. |
void |
Transaction.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts)
Similar to
Transaction.singleDelete(ColumnFamilyHandle, byte[][], boolean)
but with assumeTracked = false. |
void |
Transaction.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[][] keyParts,
boolean assumeTracked)
Similar to
Transaction.singleDelete(ColumnFamilyHandle, byte[]) but allows
you to specify the key in several parts that will be
concatenated together. |
void |
Transaction.singleDelete(ColumnFamilyHandle columnFamilyHandle,
byte[] key,
boolean assumeTracked)
Similar to
RocksDB.singleDelete(ColumnFamilyHandle, byte[]), but
will also perform conflict checking on the keys be written. |
void |
RocksDB.singleDelete(ColumnFamilyHandle columnFamilyHandle,
WriteOptions writeOpt,
byte[] key)
Remove the database entry for
key. |
abstract void |
WriteBatch.Handler.singleDelete(int columnFamilyId,
byte[] key) |
void |
RocksDB.singleDelete(WriteOptions writeOpt,
byte[] key)
Remove the database entry for
key. |
void |
RocksDB.startTrace(TraceOptions traceOptions,
AbstractTraceWriter traceWriter)
Trace DB operations.
|
void |
AbstractRocksIterator.status() |
void |
RocksIteratorInterface.status()
If an error has occurred, return it.
|
void |
TransactionLogIterator.status()
Throws RocksDBException if something went wrong.
|
Range |
RocksDB.suggestCompactRange()
Suggest the range to compact for the default column family.
|
Range |
RocksDB.suggestCompactRange(ColumnFamilyHandle columnFamilyHandle)
Suggest the range to compact.
|
void |
RocksDB.syncWal()
Sync the WAL.
|
void |
RocksDB.tryCatchUpWithPrimary()
Make the secondary instance catch up with the primary by tailing and
replaying the MANIFEST and WAL of the primary.
|
void |
RocksDB.verifyChecksum()
Verify checksum
|
void |
SstFileReader.verifyChecksum()
Verify checksum
|
void |
TraceWriter.write(Slice data)
Write the data.
|
void |
RocksDB.write(WriteOptions writeOpts,
WriteBatch updates)
Apply the specified updates to the database.
|
void |
RocksDB.write(WriteOptions writeOpts,
WriteBatchWithIndex updates)
Apply the specified updates to the database.
|
| Constructor and Description |
|---|
PersistentCache(Env env,
String path,
long size,
Logger logger,
boolean optimizedForNvm) |
SstFileManager(Env env)
Create a new SstFileManager that can be shared among multiple RocksDB
instances to track SST file and control there deletion rate.
|
SstFileManager(Env env,
Logger logger)
Create a new SstFileManager that can be shared among multiple RocksDB
instances to track SST file and control there deletion rate.
|
SstFileManager(Env env,
Logger logger,
long rateBytesPerSec)
Create a new SstFileManager that can be shared among multiple RocksDB
instances to track SST file and control there deletion rate.
|
SstFileManager(Env env,
Logger logger,
long rateBytesPerSec,
double maxTrashDbRatio)
Create a new SstFileManager that can be shared among multiple RocksDB
instances to track SST file and control there deletion rate.
|
SstFileManager(Env env,
Logger logger,
long rateBytesPerSec,
double maxTrashDbRatio,
long bytesMaxDeleteChunk)
Create a new SstFileManager that can be shared among multiple RocksDB
instances to track SST file and control there deletion rate.
|
Copyright © 2021. All rights reserved.