@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public class TColumnFamilyDescriptor extends Object implements org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>, Serializable, Cloneable, Comparable<TColumnFamilyDescriptor>
限定符和类型 | 类和说明 |
---|---|
static class |
TColumnFamilyDescriptor._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
Map<ByteBuffer,ByteBuffer> |
attributes |
boolean |
blockCacheEnabled |
int |
blockSize |
TBloomFilterType |
bloomnFilterType |
boolean |
cacheBloomsOnWrite |
boolean |
cacheDataOnWrite |
boolean |
cacheIndexesOnWrite |
TCompressionAlgorithm |
compressionType |
boolean |
compressTags |
Map<String,String> |
configuration |
TDataBlockEncoding |
dataBlockEncoding |
short |
dfsReplication |
boolean |
evictBlocksOnClose |
boolean |
inMemory |
TKeepDeletedCells |
keepDeletedCells |
int |
maxVersions |
static Map<TColumnFamilyDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
minVersions |
ByteBuffer |
name |
int |
scope |
int |
timeToLive |
构造器和说明 |
---|
TColumnFamilyDescriptor() |
TColumnFamilyDescriptor(ByteBuffer name) |
TColumnFamilyDescriptor(TColumnFamilyDescriptor other)
Performs a deep copy on other.
|
限定符和类型 | 方法和说明 |
---|---|
ByteBuffer |
bufferForName() |
void |
clear() |
int |
compareTo(TColumnFamilyDescriptor other) |
TColumnFamilyDescriptor |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TColumnFamilyDescriptor that) |
TColumnFamilyDescriptor._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
int |
getBlockSize() |
TBloomFilterType |
getBloomnFilterType() |
TCompressionAlgorithm |
getCompressionType() |
Map<String,String> |
getConfiguration() |
int |
getConfigurationSize() |
TDataBlockEncoding |
getDataBlockEncoding() |
short |
getDfsReplication() |
Object |
getFieldValue(TColumnFamilyDescriptor._Fields field) |
TKeepDeletedCells |
getKeepDeletedCells() |
int |
getMaxVersions() |
int |
getMinVersions() |
byte[] |
getName() |
int |
getScope() |
int |
getTimeToLive() |
int |
hashCode() |
boolean |
isBlockCacheEnabled() |
boolean |
isCacheBloomsOnWrite() |
boolean |
isCacheDataOnWrite() |
boolean |
isCacheIndexesOnWrite() |
boolean |
isCompressTags() |
boolean |
isEvictBlocksOnClose() |
boolean |
isInMemory() |
boolean |
isSet(TColumnFamilyDescriptor._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockCacheEnabled()
Returns true if field blockCacheEnabled is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockSize()
Returns true if field blockSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetBloomnFilterType()
Returns true if field bloomnFilterType is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheBloomsOnWrite()
Returns true if field cacheBloomsOnWrite is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheDataOnWrite()
Returns true if field cacheDataOnWrite is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheIndexesOnWrite()
Returns true if field cacheIndexesOnWrite is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompressionType()
Returns true if field compressionType is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompressTags()
Returns true if field compressTags is set (has been assigned a value) and false otherwise
|
boolean |
isSetConfiguration()
Returns true if field configuration is set (has been assigned a value) and false otherwise
|
boolean |
isSetDataBlockEncoding()
Returns true if field dataBlockEncoding is set (has been assigned a value) and false otherwise
|
boolean |
isSetDfsReplication()
Returns true if field dfsReplication is set (has been assigned a value) and false otherwise
|
boolean |
isSetEvictBlocksOnClose()
Returns true if field evictBlocksOnClose is set (has been assigned a value) and false otherwise
|
boolean |
isSetInMemory()
Returns true if field inMemory is set (has been assigned a value) and false otherwise
|
boolean |
isSetKeepDeletedCells()
Returns true if field keepDeletedCells is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxVersions()
Returns true if field maxVersions is set (has been assigned a value) and false otherwise
|
boolean |
isSetMinVersions()
Returns true if field minVersions is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetScope()
Returns true if field scope is set (has been assigned a value) and false otherwise
|
boolean |
isSetTimeToLive()
Returns true if field timeToLive is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
putToConfiguration(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TColumnFamilyDescriptor |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TColumnFamilyDescriptor |
setBlockCacheEnabled(boolean blockCacheEnabled) |
void |
setBlockCacheEnabledIsSet(boolean value) |
TColumnFamilyDescriptor |
setBlockSize(int blockSize) |
void |
setBlockSizeIsSet(boolean value) |
TColumnFamilyDescriptor |
setBloomnFilterType(TBloomFilterType bloomnFilterType) |
void |
setBloomnFilterTypeIsSet(boolean value) |
TColumnFamilyDescriptor |
setCacheBloomsOnWrite(boolean cacheBloomsOnWrite) |
void |
setCacheBloomsOnWriteIsSet(boolean value) |
TColumnFamilyDescriptor |
setCacheDataOnWrite(boolean cacheDataOnWrite) |
void |
setCacheDataOnWriteIsSet(boolean value) |
TColumnFamilyDescriptor |
setCacheIndexesOnWrite(boolean cacheIndexesOnWrite) |
void |
setCacheIndexesOnWriteIsSet(boolean value) |
TColumnFamilyDescriptor |
setCompressionType(TCompressionAlgorithm compressionType) |
void |
setCompressionTypeIsSet(boolean value) |
TColumnFamilyDescriptor |
setCompressTags(boolean compressTags) |
void |
setCompressTagsIsSet(boolean value) |
TColumnFamilyDescriptor |
setConfiguration(Map<String,String> configuration) |
void |
setConfigurationIsSet(boolean value) |
TColumnFamilyDescriptor |
setDataBlockEncoding(TDataBlockEncoding dataBlockEncoding) |
void |
setDataBlockEncodingIsSet(boolean value) |
TColumnFamilyDescriptor |
setDfsReplication(short dfsReplication) |
void |
setDfsReplicationIsSet(boolean value) |
TColumnFamilyDescriptor |
setEvictBlocksOnClose(boolean evictBlocksOnClose) |
void |
setEvictBlocksOnCloseIsSet(boolean value) |
void |
setFieldValue(TColumnFamilyDescriptor._Fields field,
Object value) |
TColumnFamilyDescriptor |
setInMemory(boolean inMemory) |
void |
setInMemoryIsSet(boolean value) |
TColumnFamilyDescriptor |
setKeepDeletedCells(TKeepDeletedCells keepDeletedCells) |
void |
setKeepDeletedCellsIsSet(boolean value) |
TColumnFamilyDescriptor |
setMaxVersions(int maxVersions) |
void |
setMaxVersionsIsSet(boolean value) |
TColumnFamilyDescriptor |
setMinVersions(int minVersions) |
void |
setMinVersionsIsSet(boolean value) |
TColumnFamilyDescriptor |
setName(byte[] name) |
TColumnFamilyDescriptor |
setName(ByteBuffer name) |
void |
setNameIsSet(boolean value) |
TColumnFamilyDescriptor |
setScope(int scope) |
void |
setScopeIsSet(boolean value) |
TColumnFamilyDescriptor |
setTimeToLive(int timeToLive) |
void |
setTimeToLiveIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetBlockCacheEnabled() |
void |
unsetBlockSize() |
void |
unsetBloomnFilterType() |
void |
unsetCacheBloomsOnWrite() |
void |
unsetCacheDataOnWrite() |
void |
unsetCacheIndexesOnWrite() |
void |
unsetCompressionType() |
void |
unsetCompressTags() |
void |
unsetConfiguration() |
void |
unsetDataBlockEncoding() |
void |
unsetDfsReplication() |
void |
unsetEvictBlocksOnClose() |
void |
unsetInMemory() |
void |
unsetKeepDeletedCells() |
void |
unsetMaxVersions() |
void |
unsetMinVersions() |
void |
unsetName() |
void |
unsetScope() |
void |
unsetTimeToLive() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer name
public Map<ByteBuffer,ByteBuffer> attributes
public int blockSize
public TBloomFilterType bloomnFilterType
TBloomFilterType
public TCompressionAlgorithm compressionType
TCompressionAlgorithm
public short dfsReplication
public TDataBlockEncoding dataBlockEncoding
TDataBlockEncoding
public TKeepDeletedCells keepDeletedCells
TKeepDeletedCells
public int maxVersions
public int minVersions
public int scope
public int timeToLive
public boolean blockCacheEnabled
public boolean cacheBloomsOnWrite
public boolean cacheDataOnWrite
public boolean cacheIndexesOnWrite
public boolean compressTags
public boolean evictBlocksOnClose
public boolean inMemory
public static final Map<TColumnFamilyDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TColumnFamilyDescriptor()
public TColumnFamilyDescriptor(ByteBuffer name)
public TColumnFamilyDescriptor(TColumnFamilyDescriptor other)
public TColumnFamilyDescriptor deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public byte[] getName()
public ByteBuffer bufferForName()
public TColumnFamilyDescriptor setName(byte[] name)
public TColumnFamilyDescriptor setName(ByteBuffer name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TColumnFamilyDescriptor setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public int getConfigurationSize()
public TColumnFamilyDescriptor setConfiguration(Map<String,String> configuration)
public void unsetConfiguration()
public boolean isSetConfiguration()
public void setConfigurationIsSet(boolean value)
public int getBlockSize()
public TColumnFamilyDescriptor setBlockSize(int blockSize)
public void unsetBlockSize()
public boolean isSetBlockSize()
public void setBlockSizeIsSet(boolean value)
public TBloomFilterType getBloomnFilterType()
TBloomFilterType
public TColumnFamilyDescriptor setBloomnFilterType(TBloomFilterType bloomnFilterType)
TBloomFilterType
public void unsetBloomnFilterType()
public boolean isSetBloomnFilterType()
public void setBloomnFilterTypeIsSet(boolean value)
public TCompressionAlgorithm getCompressionType()
TCompressionAlgorithm
public TColumnFamilyDescriptor setCompressionType(TCompressionAlgorithm compressionType)
TCompressionAlgorithm
public void unsetCompressionType()
public boolean isSetCompressionType()
public void setCompressionTypeIsSet(boolean value)
public short getDfsReplication()
public TColumnFamilyDescriptor setDfsReplication(short dfsReplication)
public void unsetDfsReplication()
public boolean isSetDfsReplication()
public void setDfsReplicationIsSet(boolean value)
public TDataBlockEncoding getDataBlockEncoding()
TDataBlockEncoding
public TColumnFamilyDescriptor setDataBlockEncoding(TDataBlockEncoding dataBlockEncoding)
TDataBlockEncoding
public void unsetDataBlockEncoding()
public boolean isSetDataBlockEncoding()
public void setDataBlockEncodingIsSet(boolean value)
public TKeepDeletedCells getKeepDeletedCells()
TKeepDeletedCells
public TColumnFamilyDescriptor setKeepDeletedCells(TKeepDeletedCells keepDeletedCells)
TKeepDeletedCells
public void unsetKeepDeletedCells()
public boolean isSetKeepDeletedCells()
public void setKeepDeletedCellsIsSet(boolean value)
public int getMaxVersions()
public TColumnFamilyDescriptor setMaxVersions(int maxVersions)
public void unsetMaxVersions()
public boolean isSetMaxVersions()
public void setMaxVersionsIsSet(boolean value)
public int getMinVersions()
public TColumnFamilyDescriptor setMinVersions(int minVersions)
public void unsetMinVersions()
public boolean isSetMinVersions()
public void setMinVersionsIsSet(boolean value)
public int getScope()
public TColumnFamilyDescriptor setScope(int scope)
public void unsetScope()
public boolean isSetScope()
public void setScopeIsSet(boolean value)
public int getTimeToLive()
public TColumnFamilyDescriptor setTimeToLive(int timeToLive)
public void unsetTimeToLive()
public boolean isSetTimeToLive()
public void setTimeToLiveIsSet(boolean value)
public boolean isBlockCacheEnabled()
public TColumnFamilyDescriptor setBlockCacheEnabled(boolean blockCacheEnabled)
public void unsetBlockCacheEnabled()
public boolean isSetBlockCacheEnabled()
public void setBlockCacheEnabledIsSet(boolean value)
public boolean isCacheBloomsOnWrite()
public TColumnFamilyDescriptor setCacheBloomsOnWrite(boolean cacheBloomsOnWrite)
public void unsetCacheBloomsOnWrite()
public boolean isSetCacheBloomsOnWrite()
public void setCacheBloomsOnWriteIsSet(boolean value)
public boolean isCacheDataOnWrite()
public TColumnFamilyDescriptor setCacheDataOnWrite(boolean cacheDataOnWrite)
public void unsetCacheDataOnWrite()
public boolean isSetCacheDataOnWrite()
public void setCacheDataOnWriteIsSet(boolean value)
public boolean isCacheIndexesOnWrite()
public TColumnFamilyDescriptor setCacheIndexesOnWrite(boolean cacheIndexesOnWrite)
public void unsetCacheIndexesOnWrite()
public boolean isSetCacheIndexesOnWrite()
public void setCacheIndexesOnWriteIsSet(boolean value)
public boolean isCompressTags()
public TColumnFamilyDescriptor setCompressTags(boolean compressTags)
public void unsetCompressTags()
public boolean isSetCompressTags()
public void setCompressTagsIsSet(boolean value)
public boolean isEvictBlocksOnClose()
public TColumnFamilyDescriptor setEvictBlocksOnClose(boolean evictBlocksOnClose)
public void unsetEvictBlocksOnClose()
public boolean isSetEvictBlocksOnClose()
public void setEvictBlocksOnCloseIsSet(boolean value)
public boolean isInMemory()
public TColumnFamilyDescriptor setInMemory(boolean inMemory)
public void unsetInMemory()
public boolean isSetInMemory()
public void setInMemoryIsSet(boolean value)
public void setFieldValue(TColumnFamilyDescriptor._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public Object getFieldValue(TColumnFamilyDescriptor._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public boolean isSet(TColumnFamilyDescriptor._Fields field)
isSet
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public boolean equals(TColumnFamilyDescriptor that)
public int compareTo(TColumnFamilyDescriptor other)
compareTo
在接口中 Comparable<TColumnFamilyDescriptor>
public TColumnFamilyDescriptor._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<TColumnFamilyDescriptor,TColumnFamilyDescriptor._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.