public enum SegmentSizeSetting extends java.lang.Enum<SegmentSizeSetting>
Modifier and Type | Method and Description |
---|---|
static <K extends BlueKey> |
fromUserSelection(SegmentSize<K> requestedSegmentSize) |
SegmentSizeConfiguration |
getConfig() |
static SegmentSizeSetting |
getDefaultIndexSettingsFor(java.lang.Class<? extends BlueKey> keyType) |
static SegmentSizeSetting |
getDefaultSettingsFor(java.lang.Class<? extends BlueKey> keyType) |
java.util.List<java.lang.Long> |
getFolderSizes() |
java.lang.Class<? extends BlueKey> |
getKeyType() |
static SegmentSizeSetting |
getOriginalDefaultSettingsFor(java.lang.Class<? extends BlueKey> keyType) |
java.util.List<java.lang.Long> |
getRollupSizes() |
long |
getSegmentSize() |
static SegmentSizeSetting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SegmentSizeSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentSizeSetting TIME_1_HOUR
public static final SegmentSizeSetting TIME_2_HOURS
public static final SegmentSizeSetting TIME_6_HOURS
public static final SegmentSizeSetting TIME_12_HOURS
public static final SegmentSizeSetting TIME_1_DAY
public static final SegmentSizeSetting TIME_5_DAYS
public static final SegmentSizeSetting TIME_15_DAYS
public static final SegmentSizeSetting TIME_1_MONTH
public static final SegmentSizeSetting TIME_3_MONTHS
public static final SegmentSizeSetting TIME_6_MONTHS
public static final SegmentSizeSetting INT_128
public static final SegmentSizeSetting INT_256
public static final SegmentSizeSetting INT_512
public static final SegmentSizeSetting INT_1K
public static final SegmentSizeSetting INT_2K
public static final SegmentSizeSetting INT_4K
public static final SegmentSizeSetting INT_8K
public static final SegmentSizeSetting INT_16K
public static final SegmentSizeSetting INT_32K
public static final SegmentSizeSetting LONG_128
public static final SegmentSizeSetting LONG_256
public static final SegmentSizeSetting LONG_512
public static final SegmentSizeSetting LONG_1K
public static final SegmentSizeSetting LONG_2K
public static final SegmentSizeSetting LONG_4K
public static final SegmentSizeSetting LONG_8K
public static final SegmentSizeSetting LONG_16K
public static final SegmentSizeSetting LONG_32K
public static final SegmentSizeSetting HASH_1K
public static final SegmentSizeSetting HASH_2K
public static final SegmentSizeSetting HASH_4K
public static final SegmentSizeSetting HASH_8K
public static final SegmentSizeSetting HASH_16K
public static final SegmentSizeSetting HASH_32K
public static final SegmentSizeSetting HASH_64K
public static final SegmentSizeSetting HASH_128K
public static final SegmentSizeSetting HASH_256K
public static final SegmentSizeSetting HASH_512K
public static final SegmentSizeSetting HASH_1M
public static final SegmentSizeSetting HASH_2M
public static final SegmentSizeSetting HASH_4M
public static final SegmentSizeSetting HASH_8M
public static final SegmentSizeSetting HASH_16M
public static final SegmentSizeSetting HASH_32M
public static SegmentSizeSetting[] values()
for (SegmentSizeSetting c : SegmentSizeSetting.values()) System.out.println(c);
public static SegmentSizeSetting valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic SegmentSizeConfiguration getConfig()
public java.lang.Class<? extends BlueKey> getKeyType()
public long getSegmentSize()
public java.util.List<java.lang.Long> getRollupSizes()
public java.util.List<java.lang.Long> getFolderSizes()
public static SegmentSizeSetting getDefaultIndexSettingsFor(java.lang.Class<? extends BlueKey> keyType) throws BlueDbException
BlueDbException
public static SegmentSizeSetting getDefaultSettingsFor(java.lang.Class<? extends BlueKey> keyType) throws BlueDbException
BlueDbException
public static SegmentSizeSetting getOriginalDefaultSettingsFor(java.lang.Class<? extends BlueKey> keyType) throws BlueDbException
BlueDbException
public static <K extends BlueKey> SegmentSizeSetting fromUserSelection(SegmentSize<K> requestedSegmentSize) throws BlueDbException
BlueDbException