public class OptionsFactoryAdapter extends Object implements OptionsFactory
RocksDBOptionsFactory
to OptionsFactory
.Modifier and Type | Method and Description |
---|---|
org.rocksdb.ColumnFamilyOptions |
createColumnOptions(org.rocksdb.ColumnFamilyOptions currentOptions)
This method should set the additional options on top of the current options object.
|
org.rocksdb.DBOptions |
createDBOptions(org.rocksdb.DBOptions currentOptions)
This method should set the additional options on top of the current options object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createNativeMetricsOptions
public org.rocksdb.DBOptions createDBOptions(org.rocksdb.DBOptions currentOptions)
OptionsFactory
It is important to set the options on the current object and return the result from the setter methods, otherwise the pre-defined options may get lost.
createDBOptions
in interface OptionsFactory
currentOptions
- The options object with the pre-defined options.public org.rocksdb.ColumnFamilyOptions createColumnOptions(org.rocksdb.ColumnFamilyOptions currentOptions)
OptionsFactory
It is important to set the options on the current object and return the result from the setter methods, otherwise the pre-defined options may get lost.
createColumnOptions
in interface OptionsFactory
currentOptions
- The options object with the pre-defined options.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.