public enum SizeApproximationFlag extends Enum<SizeApproximationFlag>
RocksDB.getApproximateSizes(ColumnFamilyHandle, List, SizeApproximationFlag...)
that specify whether memtable stats should be included,
or file stats approximation or both.| Enum Constant and Description |
|---|
INCLUDE_FILES |
INCLUDE_MEMTABLES |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static SizeApproximationFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizeApproximationFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeApproximationFlag NONE
public static final SizeApproximationFlag INCLUDE_MEMTABLES
public static final SizeApproximationFlag INCLUDE_FILES
public static SizeApproximationFlag[] values()
for (SizeApproximationFlag c : SizeApproximationFlag.values()) System.out.println(c);
public static SizeApproximationFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.