@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-27") public class ColumnDescriptor extends Object implements org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>, Serializable, Cloneable, Comparable<ColumnDescriptor>
Modifier and Type | Class and Description |
---|---|
static class |
ColumnDescriptor._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
boolean |
blockCacheEnabled |
int |
bloomFilterNbHashes |
String |
bloomFilterType |
int |
bloomFilterVectorSize |
String |
compression |
boolean |
inMemory |
int |
maxVersions |
static Map<ColumnDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
name |
int |
timeToLive |
Constructor and Description |
---|
ColumnDescriptor() |
ColumnDescriptor(ByteBuffer name,
int maxVersions,
String compression,
boolean inMemory,
String bloomFilterType,
int bloomFilterVectorSize,
int bloomFilterNbHashes,
boolean blockCacheEnabled,
int timeToLive) |
ColumnDescriptor(ColumnDescriptor other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForName() |
void |
clear() |
int |
compareTo(ColumnDescriptor other) |
ColumnDescriptor |
deepCopy() |
boolean |
equals(ColumnDescriptor that) |
boolean |
equals(Object that) |
ColumnDescriptor._Fields |
fieldForId(int fieldId) |
int |
getBloomFilterNbHashes() |
String |
getBloomFilterType() |
int |
getBloomFilterVectorSize() |
String |
getCompression() |
Object |
getFieldValue(ColumnDescriptor._Fields field) |
int |
getMaxVersions() |
byte[] |
getName() |
int |
getTimeToLive() |
int |
hashCode() |
boolean |
isBlockCacheEnabled() |
boolean |
isInMemory() |
boolean |
isSet(ColumnDescriptor._Fields field)
Returns true if field corresponding to fieldID 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 |
isSetBloomFilterNbHashes()
Returns true if field bloomFilterNbHashes is set (has been assigned a value) and false otherwise
|
boolean |
isSetBloomFilterType()
Returns true if field bloomFilterType is set (has been assigned a value) and false otherwise
|
boolean |
isSetBloomFilterVectorSize()
Returns true if field bloomFilterVectorSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompression()
Returns true if field compression 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 |
isSetMaxVersions()
Returns true if field maxVersions 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 |
isSetTimeToLive()
Returns true if field timeToLive is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ColumnDescriptor |
setBlockCacheEnabled(boolean blockCacheEnabled) |
void |
setBlockCacheEnabledIsSet(boolean value) |
ColumnDescriptor |
setBloomFilterNbHashes(int bloomFilterNbHashes) |
void |
setBloomFilterNbHashesIsSet(boolean value) |
ColumnDescriptor |
setBloomFilterType(String bloomFilterType) |
void |
setBloomFilterTypeIsSet(boolean value) |
ColumnDescriptor |
setBloomFilterVectorSize(int bloomFilterVectorSize) |
void |
setBloomFilterVectorSizeIsSet(boolean value) |
ColumnDescriptor |
setCompression(String compression) |
void |
setCompressionIsSet(boolean value) |
void |
setFieldValue(ColumnDescriptor._Fields field,
Object value) |
ColumnDescriptor |
setInMemory(boolean inMemory) |
void |
setInMemoryIsSet(boolean value) |
ColumnDescriptor |
setMaxVersions(int maxVersions) |
void |
setMaxVersionsIsSet(boolean value) |
ColumnDescriptor |
setName(byte[] name) |
ColumnDescriptor |
setName(ByteBuffer name) |
void |
setNameIsSet(boolean value) |
ColumnDescriptor |
setTimeToLive(int timeToLive) |
void |
setTimeToLiveIsSet(boolean value) |
String |
toString() |
void |
unsetBlockCacheEnabled() |
void |
unsetBloomFilterNbHashes() |
void |
unsetBloomFilterType() |
void |
unsetBloomFilterVectorSize() |
void |
unsetCompression() |
void |
unsetInMemory() |
void |
unsetMaxVersions() |
void |
unsetName() |
void |
unsetTimeToLive() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer name
public int maxVersions
public String compression
public boolean inMemory
public String bloomFilterType
public int bloomFilterVectorSize
public int bloomFilterNbHashes
public boolean blockCacheEnabled
public int timeToLive
public static final Map<ColumnDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ColumnDescriptor()
public ColumnDescriptor(ByteBuffer name, int maxVersions, String compression, boolean inMemory, String bloomFilterType, int bloomFilterVectorSize, int bloomFilterNbHashes, boolean blockCacheEnabled, int timeToLive)
public ColumnDescriptor(ColumnDescriptor other)
public ColumnDescriptor deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public byte[] getName()
public ByteBuffer bufferForName()
public ColumnDescriptor setName(byte[] name)
public ColumnDescriptor setName(ByteBuffer name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getMaxVersions()
public ColumnDescriptor setMaxVersions(int maxVersions)
public void unsetMaxVersions()
public boolean isSetMaxVersions()
public void setMaxVersionsIsSet(boolean value)
public String getCompression()
public ColumnDescriptor setCompression(String compression)
public void unsetCompression()
public boolean isSetCompression()
public void setCompressionIsSet(boolean value)
public boolean isInMemory()
public ColumnDescriptor setInMemory(boolean inMemory)
public void unsetInMemory()
public boolean isSetInMemory()
public void setInMemoryIsSet(boolean value)
public String getBloomFilterType()
public ColumnDescriptor setBloomFilterType(String bloomFilterType)
public void unsetBloomFilterType()
public boolean isSetBloomFilterType()
public void setBloomFilterTypeIsSet(boolean value)
public int getBloomFilterVectorSize()
public ColumnDescriptor setBloomFilterVectorSize(int bloomFilterVectorSize)
public void unsetBloomFilterVectorSize()
public boolean isSetBloomFilterVectorSize()
public void setBloomFilterVectorSizeIsSet(boolean value)
public int getBloomFilterNbHashes()
public ColumnDescriptor setBloomFilterNbHashes(int bloomFilterNbHashes)
public void unsetBloomFilterNbHashes()
public boolean isSetBloomFilterNbHashes()
public void setBloomFilterNbHashesIsSet(boolean value)
public boolean isBlockCacheEnabled()
public ColumnDescriptor setBlockCacheEnabled(boolean blockCacheEnabled)
public void unsetBlockCacheEnabled()
public boolean isSetBlockCacheEnabled()
public void setBlockCacheEnabledIsSet(boolean value)
public int getTimeToLive()
public ColumnDescriptor setTimeToLive(int timeToLive)
public void unsetTimeToLive()
public boolean isSetTimeToLive()
public void setTimeToLiveIsSet(boolean value)
public void setFieldValue(ColumnDescriptor._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public Object getFieldValue(ColumnDescriptor._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public boolean isSet(ColumnDescriptor._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public boolean equals(ColumnDescriptor that)
public int compareTo(ColumnDescriptor other)
compareTo
in interface Comparable<ColumnDescriptor>
public ColumnDescriptor._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ColumnDescriptor,ColumnDescriptor._Fields>
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.