| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
ConfigOptions |
ConfigOptions.setDelimiter(String delimiter) |
ConfigOptions |
ConfigOptions.setEnv(Env env) |
ConfigOptions |
ConfigOptions.setIgnoreUnknownOptions(boolean ignore) |
ConfigOptions |
ConfigOptions.setInputStringsEscaped(boolean escaped) |
ConfigOptions |
ConfigOptions.setSanityLevel(SanityLevel level) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnFamilyOptions |
ColumnFamilyOptions.getColumnFamilyOptionsFromProps(ConfigOptions cfgOpts,
Properties properties)
Method to get a options instance by using pre-configured
property values.
|
static DBOptions |
DBOptions.getDBOptionsFromProps(ConfigOptions cfgOpts,
Properties properties)
Method to get a options instance by using pre-configured
property values.
|
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.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.
|
Copyright © 2021. All rights reserved.