|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.thrift.CfDef
public class CfDef
Nested Class Summary | |
---|---|
static class |
CfDef._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
java.util.List<ColumnDef> |
column_metadata
|
java.lang.String |
column_type
|
java.lang.String |
comment
|
java.lang.String |
comparator_type
|
java.lang.String |
default_validation_class
|
int |
gc_grace_seconds
|
int |
id
|
int |
key_cache_save_period_in_seconds
|
double |
key_cache_size
|
java.lang.String |
keyspace
|
int |
max_compaction_threshold
|
int |
memtable_flush_after_mins
|
double |
memtable_operations_in_millions
|
int |
memtable_throughput_in_mb
|
static java.util.Map<CfDef._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
int |
min_compaction_threshold
|
java.lang.String |
name
|
double |
read_repair_chance
|
int |
row_cache_save_period_in_seconds
|
double |
row_cache_size
|
java.lang.String |
subcomparator_type
|
Constructor Summary | |
---|---|
CfDef()
|
|
CfDef(CfDef other)
Performs a deep copy on other. |
|
CfDef(java.lang.String keyspace,
java.lang.String name)
|
Method Summary | |
---|---|
void |
addToColumn_metadata(ColumnDef elem)
|
void |
clear()
|
int |
compareTo(CfDef other)
|
CfDef |
deepCopy()
|
boolean |
equals(CfDef that)
|
boolean |
equals(java.lang.Object that)
|
CfDef._Fields |
fieldForId(int fieldId)
|
java.util.List<ColumnDef> |
getColumn_metadata()
|
java.util.Iterator<ColumnDef> |
getColumn_metadataIterator()
|
int |
getColumn_metadataSize()
|
java.lang.String |
getColumn_type()
|
java.lang.String |
getComment()
|
java.lang.String |
getComparator_type()
|
java.lang.String |
getDefault_validation_class()
|
java.lang.Object |
getFieldValue(CfDef._Fields field)
|
int |
getGc_grace_seconds()
|
int |
getId()
|
int |
getKey_cache_save_period_in_seconds()
|
double |
getKey_cache_size()
|
java.lang.String |
getKeyspace()
|
int |
getMax_compaction_threshold()
|
int |
getMemtable_flush_after_mins()
|
double |
getMemtable_operations_in_millions()
|
int |
getMemtable_throughput_in_mb()
|
int |
getMin_compaction_threshold()
|
java.lang.String |
getName()
|
double |
getRead_repair_chance()
|
int |
getRow_cache_save_period_in_seconds()
|
double |
getRow_cache_size()
|
java.lang.String |
getSubcomparator_type()
|
int |
hashCode()
|
boolean |
isSet(CfDef._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetColumn_metadata()
Returns true if field column_metadata is set (has been asigned a value) and false otherwise |
boolean |
isSetColumn_type()
Returns true if field column_type is set (has been asigned a value) and false otherwise |
boolean |
isSetComment()
Returns true if field comment is set (has been asigned a value) and false otherwise |
boolean |
isSetComparator_type()
Returns true if field comparator_type is set (has been asigned a value) and false otherwise |
boolean |
isSetDefault_validation_class()
Returns true if field default_validation_class is set (has been asigned a value) and false otherwise |
boolean |
isSetGc_grace_seconds()
Returns true if field gc_grace_seconds is set (has been asigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been asigned a value) and false otherwise |
boolean |
isSetKey_cache_save_period_in_seconds()
Returns true if field key_cache_save_period_in_seconds is set (has been asigned a value) and false otherwise |
boolean |
isSetKey_cache_size()
Returns true if field key_cache_size is set (has been asigned a value) and false otherwise |
boolean |
isSetKeyspace()
Returns true if field keyspace is set (has been asigned a value) and false otherwise |
boolean |
isSetMax_compaction_threshold()
Returns true if field max_compaction_threshold is set (has been asigned a value) and false otherwise |
boolean |
isSetMemtable_flush_after_mins()
Returns true if field memtable_flush_after_mins is set (has been asigned a value) and false otherwise |
boolean |
isSetMemtable_operations_in_millions()
Returns true if field memtable_operations_in_millions is set (has been asigned a value) and false otherwise |
boolean |
isSetMemtable_throughput_in_mb()
Returns true if field memtable_throughput_in_mb is set (has been asigned a value) and false otherwise |
boolean |
isSetMin_compaction_threshold()
Returns true if field min_compaction_threshold is set (has been asigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been asigned a value) and false otherwise |
boolean |
isSetRead_repair_chance()
Returns true if field read_repair_chance is set (has been asigned a value) and false otherwise |
boolean |
isSetRow_cache_save_period_in_seconds()
Returns true if field row_cache_save_period_in_seconds is set (has been asigned a value) and false otherwise |
boolean |
isSetRow_cache_size()
Returns true if field row_cache_size is set (has been asigned a value) and false otherwise |
boolean |
isSetSubcomparator_type()
Returns true if field subcomparator_type is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
CfDef |
setColumn_metadata(java.util.List<ColumnDef> column_metadata)
|
void |
setColumn_metadataIsSet(boolean value)
|
CfDef |
setColumn_type(java.lang.String column_type)
|
void |
setColumn_typeIsSet(boolean value)
|
CfDef |
setComment(java.lang.String comment)
|
void |
setCommentIsSet(boolean value)
|
CfDef |
setComparator_type(java.lang.String comparator_type)
|
void |
setComparator_typeIsSet(boolean value)
|
CfDef |
setDefault_validation_class(java.lang.String default_validation_class)
|
void |
setDefault_validation_classIsSet(boolean value)
|
void |
setFieldValue(CfDef._Fields field,
java.lang.Object value)
|
CfDef |
setGc_grace_seconds(int gc_grace_seconds)
|
void |
setGc_grace_secondsIsSet(boolean value)
|
CfDef |
setId(int id)
|
void |
setIdIsSet(boolean value)
|
CfDef |
setKey_cache_save_period_in_seconds(int key_cache_save_period_in_seconds)
|
void |
setKey_cache_save_period_in_secondsIsSet(boolean value)
|
CfDef |
setKey_cache_size(double key_cache_size)
|
void |
setKey_cache_sizeIsSet(boolean value)
|
CfDef |
setKeyspace(java.lang.String keyspace)
|
void |
setKeyspaceIsSet(boolean value)
|
CfDef |
setMax_compaction_threshold(int max_compaction_threshold)
|
void |
setMax_compaction_thresholdIsSet(boolean value)
|
CfDef |
setMemtable_flush_after_mins(int memtable_flush_after_mins)
|
void |
setMemtable_flush_after_minsIsSet(boolean value)
|
CfDef |
setMemtable_operations_in_millions(double memtable_operations_in_millions)
|
void |
setMemtable_operations_in_millionsIsSet(boolean value)
|
CfDef |
setMemtable_throughput_in_mb(int memtable_throughput_in_mb)
|
void |
setMemtable_throughput_in_mbIsSet(boolean value)
|
CfDef |
setMin_compaction_threshold(int min_compaction_threshold)
|
void |
setMin_compaction_thresholdIsSet(boolean value)
|
CfDef |
setName(java.lang.String name)
|
void |
setNameIsSet(boolean value)
|
CfDef |
setRead_repair_chance(double read_repair_chance)
|
void |
setRead_repair_chanceIsSet(boolean value)
|
CfDef |
setRow_cache_save_period_in_seconds(int row_cache_save_period_in_seconds)
|
void |
setRow_cache_save_period_in_secondsIsSet(boolean value)
|
CfDef |
setRow_cache_size(double row_cache_size)
|
void |
setRow_cache_sizeIsSet(boolean value)
|
CfDef |
setSubcomparator_type(java.lang.String subcomparator_type)
|
void |
setSubcomparator_typeIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetColumn_metadata()
|
void |
unsetColumn_type()
|
void |
unsetComment()
|
void |
unsetComparator_type()
|
void |
unsetDefault_validation_class()
|
void |
unsetGc_grace_seconds()
|
void |
unsetId()
|
void |
unsetKey_cache_save_period_in_seconds()
|
void |
unsetKey_cache_size()
|
void |
unsetKeyspace()
|
void |
unsetMax_compaction_threshold()
|
void |
unsetMemtable_flush_after_mins()
|
void |
unsetMemtable_operations_in_millions()
|
void |
unsetMemtable_throughput_in_mb()
|
void |
unsetMin_compaction_threshold()
|
void |
unsetName()
|
void |
unsetRead_repair_chance()
|
void |
unsetRow_cache_save_period_in_seconds()
|
void |
unsetRow_cache_size()
|
void |
unsetSubcomparator_type()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String keyspace
public java.lang.String name
public java.lang.String column_type
public java.lang.String comparator_type
public java.lang.String subcomparator_type
public java.lang.String comment
public double row_cache_size
public double key_cache_size
public double read_repair_chance
public java.util.List<ColumnDef> column_metadata
public int gc_grace_seconds
public java.lang.String default_validation_class
public int id
public int min_compaction_threshold
public int max_compaction_threshold
public int row_cache_save_period_in_seconds
public int key_cache_save_period_in_seconds
public int memtable_flush_after_mins
public int memtable_throughput_in_mb
public double memtable_operations_in_millions
public static final java.util.Map<CfDef._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public CfDef()
public CfDef(java.lang.String keyspace, java.lang.String name)
public CfDef(CfDef other)
Method Detail |
---|
public CfDef deepCopy()
deepCopy
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public java.lang.String getKeyspace()
public CfDef setKeyspace(java.lang.String keyspace)
public void unsetKeyspace()
public boolean isSetKeyspace()
public void setKeyspaceIsSet(boolean value)
public java.lang.String getName()
public CfDef setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public java.lang.String getColumn_type()
public CfDef setColumn_type(java.lang.String column_type)
public void unsetColumn_type()
public boolean isSetColumn_type()
public void setColumn_typeIsSet(boolean value)
public java.lang.String getComparator_type()
public CfDef setComparator_type(java.lang.String comparator_type)
public void unsetComparator_type()
public boolean isSetComparator_type()
public void setComparator_typeIsSet(boolean value)
public java.lang.String getSubcomparator_type()
public CfDef setSubcomparator_type(java.lang.String subcomparator_type)
public void unsetSubcomparator_type()
public boolean isSetSubcomparator_type()
public void setSubcomparator_typeIsSet(boolean value)
public java.lang.String getComment()
public CfDef setComment(java.lang.String comment)
public void unsetComment()
public boolean isSetComment()
public void setCommentIsSet(boolean value)
public double getRow_cache_size()
public CfDef setRow_cache_size(double row_cache_size)
public void unsetRow_cache_size()
public boolean isSetRow_cache_size()
public void setRow_cache_sizeIsSet(boolean value)
public double getKey_cache_size()
public CfDef setKey_cache_size(double key_cache_size)
public void unsetKey_cache_size()
public boolean isSetKey_cache_size()
public void setKey_cache_sizeIsSet(boolean value)
public double getRead_repair_chance()
public CfDef setRead_repair_chance(double read_repair_chance)
public void unsetRead_repair_chance()
public boolean isSetRead_repair_chance()
public void setRead_repair_chanceIsSet(boolean value)
public int getColumn_metadataSize()
public java.util.Iterator<ColumnDef> getColumn_metadataIterator()
public void addToColumn_metadata(ColumnDef elem)
public java.util.List<ColumnDef> getColumn_metadata()
public CfDef setColumn_metadata(java.util.List<ColumnDef> column_metadata)
public void unsetColumn_metadata()
public boolean isSetColumn_metadata()
public void setColumn_metadataIsSet(boolean value)
public int getGc_grace_seconds()
public CfDef setGc_grace_seconds(int gc_grace_seconds)
public void unsetGc_grace_seconds()
public boolean isSetGc_grace_seconds()
public void setGc_grace_secondsIsSet(boolean value)
public java.lang.String getDefault_validation_class()
public CfDef setDefault_validation_class(java.lang.String default_validation_class)
public void unsetDefault_validation_class()
public boolean isSetDefault_validation_class()
public void setDefault_validation_classIsSet(boolean value)
public int getId()
public CfDef setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getMin_compaction_threshold()
public CfDef setMin_compaction_threshold(int min_compaction_threshold)
public void unsetMin_compaction_threshold()
public boolean isSetMin_compaction_threshold()
public void setMin_compaction_thresholdIsSet(boolean value)
public int getMax_compaction_threshold()
public CfDef setMax_compaction_threshold(int max_compaction_threshold)
public void unsetMax_compaction_threshold()
public boolean isSetMax_compaction_threshold()
public void setMax_compaction_thresholdIsSet(boolean value)
public int getRow_cache_save_period_in_seconds()
public CfDef setRow_cache_save_period_in_seconds(int row_cache_save_period_in_seconds)
public void unsetRow_cache_save_period_in_seconds()
public boolean isSetRow_cache_save_period_in_seconds()
public void setRow_cache_save_period_in_secondsIsSet(boolean value)
public int getKey_cache_save_period_in_seconds()
public CfDef setKey_cache_save_period_in_seconds(int key_cache_save_period_in_seconds)
public void unsetKey_cache_save_period_in_seconds()
public boolean isSetKey_cache_save_period_in_seconds()
public void setKey_cache_save_period_in_secondsIsSet(boolean value)
public int getMemtable_flush_after_mins()
public CfDef setMemtable_flush_after_mins(int memtable_flush_after_mins)
public void unsetMemtable_flush_after_mins()
public boolean isSetMemtable_flush_after_mins()
public void setMemtable_flush_after_minsIsSet(boolean value)
public int getMemtable_throughput_in_mb()
public CfDef setMemtable_throughput_in_mb(int memtable_throughput_in_mb)
public void unsetMemtable_throughput_in_mb()
public boolean isSetMemtable_throughput_in_mb()
public void setMemtable_throughput_in_mbIsSet(boolean value)
public double getMemtable_operations_in_millions()
public CfDef setMemtable_operations_in_millions(double memtable_operations_in_millions)
public void unsetMemtable_operations_in_millions()
public boolean isSetMemtable_operations_in_millions()
public void setMemtable_operations_in_millionsIsSet(boolean value)
public void setFieldValue(CfDef._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public java.lang.Object getFieldValue(CfDef._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public boolean isSet(CfDef._Fields field)
isSet
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(CfDef that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(CfDef other)
compareTo
in interface java.lang.Comparable<CfDef>
public CfDef._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<CfDef,CfDef._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<CfDef,CfDef._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<CfDef,CfDef._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |