public class VectorMemTableConfig extends MemTableConfig
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_RESERVED_SIZE |
| Constructor and Description |
|---|
VectorMemTableConfig()
VectorMemTableConfig constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
newMemTableFactoryHandle()
This function should only be called by Options.setMemTableConfig(),
which will create a c++ shared-pointer to the c++ MemTableRepFactory
that associated with the Java MemTableConfig.
|
int |
reservedSize()
Returns the initial size of the vector used by the memtable
created based on this config.
|
VectorMemTableConfig |
setReservedSize(int size)
Set the initial size of the vector that will be used
by the memtable created based on this config.
|
public static final int DEFAULT_RESERVED_SIZE
public VectorMemTableConfig()
public VectorMemTableConfig setReservedSize(int size)
size - the initial size of the vector.public int reservedSize()
protected long newMemTableFactoryHandle()
MemTableConfignewMemTableFactoryHandle in class MemTableConfigOptions.setMemTableConfig(MemTableConfig)Copyright © 2022. All rights reserved.