private static enum TestCacheOnWrite.CacheOnWriteType extends Enum<TestCacheOnWrite.CacheOnWriteType>
Enum Constant and Description |
---|
BLOOM_BLOCKS |
DATA_BLOCKS |
INDEX_BLOCKS |
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.io.hfile.BlockType |
blockType1 |
private org.apache.hadoop.hbase.io.hfile.BlockType |
blockType2 |
private String |
confKey |
Modifier and Type | Method and Description |
---|---|
void |
modifyConf(org.apache.hadoop.conf.Configuration conf) |
boolean |
shouldBeCached(org.apache.hadoop.hbase.io.hfile.BlockType blockType) |
static TestCacheOnWrite.CacheOnWriteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestCacheOnWrite.CacheOnWriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestCacheOnWrite.CacheOnWriteType DATA_BLOCKS
public static final TestCacheOnWrite.CacheOnWriteType BLOOM_BLOCKS
public static final TestCacheOnWrite.CacheOnWriteType INDEX_BLOCKS
private final org.apache.hadoop.hbase.io.hfile.BlockType blockType1
private final org.apache.hadoop.hbase.io.hfile.BlockType blockType2
public static TestCacheOnWrite.CacheOnWriteType[] values()
for (TestCacheOnWrite.CacheOnWriteType c : TestCacheOnWrite.CacheOnWriteType.values()) System.out.println(c);
public static TestCacheOnWrite.CacheOnWriteType 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 nullpublic boolean shouldBeCached(org.apache.hadoop.hbase.io.hfile.BlockType blockType)
public void modifyConf(org.apache.hadoop.conf.Configuration conf)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.