WithTableLoadingMode returns a new Options value with TableLoadingMode set to the given value. TableLoadingMode indicates which file loading mode should be used for the LSM tree data files. The default value of TableLoadingMode is options.MemoryMap.
(val options.FileLoadingMode)
| 258 | // |
| 259 | // The default value of TableLoadingMode is options.MemoryMap. |
| 260 | func (opt Options) WithTableLoadingMode(val options.FileLoadingMode) Options { |
| 261 | opt.TableLoadingMode = val |
| 262 | return opt |
| 263 | } |
| 264 | |
| 265 | // WithValueLogLoadingMode returns a new Options value with ValueLogLoadingMode set to the given |
| 266 | // value. |
no outgoing calls