@InterfaceAudience.Public public interface ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder
methodsModifier and Type | Field and Description |
---|---|
static Comparator<ColumnFamilyDescriptor> |
COMPARATOR |
static Comparator<ColumnFamilyDescriptor> |
COMPARATOR_IGNORE_REPLICATION |
static Bytes |
REPLICATION_SCOPE_BYTES |
@InterfaceAudience.Private static final Comparator<ColumnFamilyDescriptor> COMPARATOR
static final Bytes REPLICATION_SCOPE_BYTES
@InterfaceAudience.Private static final Comparator<ColumnFamilyDescriptor> COMPARATOR_IGNORE_REPLICATION
int getBlocksize()
BloomType getBloomFilterType()
Compression.Algorithm getCompactionCompressionType()
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–2019 The Apache Software Foundation. All rights reserved.