@InterfaceAudience.Public public interface ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder
methodsModifier and Type | Field and Description |
---|---|
static Bytes |
REPLICATION_SCOPE_BYTES |
Modifier and Type | Method and Description |
---|---|
int |
getBlocksize() |
BloomType |
getBloomFilterType() |
org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
getCompactionCompressionType() |
org.apache.hadoop.hbase.io.compress.Compression.Algorithm |
getCompressionType() |
Map<String,String> |
getConfiguration() |
String |
getConfigurationValue(String key) |
DataBlockEncoding |
getDataBlockEncoding() |
short |
getDFSReplication() |
byte[] |
getEncryptionKey() |
String |
getEncryptionType() |
MemoryCompactionPolicy |
getInMemoryCompaction() |
KeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
MobCompactPartitionPolicy |
getMobCompactPartitionPolicy()
Get the mob compact partition policy for this family
|
long |
getMobThreshold()
Gets the mob threshold of the family.
|
byte[] |
getName() |
String |
getNameAsString() |
int |
getScope() |
String |
getStoragePolicy()
Not using
enum here because HDFS is not using enum for storage policy, see
org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite for more details. |
int |
getTimeToLive() |
byte[] |
getValue(byte[] key) |
Bytes |
getValue(Bytes key) |
Map<Bytes,Bytes> |
getValues()
It clone all bytes of all elements.
|
boolean |
isBlockCacheEnabled() |
boolean |
isCacheBloomsOnWrite() |
boolean |
isCacheDataOnWrite() |
boolean |
isCacheIndexesOnWrite() |
boolean |
isCompressTags() |
boolean |
isEvictBlocksOnClose() |
boolean |
isInMemory() |
boolean |
isMobEnabled()
Gets whether the mob is enabled for the family.
|
boolean |
isNewVersionBehavior()
By default, HBase only consider timestamp in versions.
|
boolean |
isPrefetchBlocksOnOpen() |
String |
toStringCustomizedValues() |
static final Bytes REPLICATION_SCOPE_BYTES
int getBlocksize()
BloomType getBloomFilterType()
org.apache.hadoop.hbase.io.compress.Compression.Algorithm getCompactionCompressionType()
org.apache.hadoop.hbase.io.compress.Compression.Algorithm getCompressionType()
Map<String,String> getConfiguration()
String getConfigurationValue(String key)
key
- the key whose associated value is to be returnedshort getDFSReplication()
DataBlockEncoding getDataBlockEncoding()
byte[] getEncryptionKey()
String getEncryptionType()
MemoryCompactionPolicy getInMemoryCompaction()
KeepDeletedCells getKeepDeletedCells()
int getMaxVersions()
int getMinVersions()
MobCompactPartitionPolicy getMobCompactPartitionPolicy()
long getMobThreshold()
byte[] getName()
String getNameAsString()
int getScope()
String getStoragePolicy()
enum
here because HDFS is not using enum
for storage policy, see
org.apache.hadoop.hdfs.server.blockmanagement.BlockStoragePolicySuite for more details.int getTimeToLive()
Bytes getValue(Bytes key)
key
- The key.byte[] getValue(byte[] key)
key
- The key.boolean isBlockCacheEnabled()
boolean isCacheBloomsOnWrite()
boolean isCacheDataOnWrite()
boolean isCacheIndexesOnWrite()
boolean isCompressTags()
boolean isEvictBlocksOnClose()
boolean isInMemory()
boolean isMobEnabled()
boolean isPrefetchBlocksOnOpen()
String toStringCustomizedValues()
boolean isNewVersionBehavior()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.