|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
double |
bloom_filter_fp_chance
|
java.util.List<ColumnDef> |
column_metadata
|
java.lang.String |
column_type
|
java.lang.String |
comment
|
java.lang.String |
compaction_strategy
|
java.util.Map<java.lang.String,java.lang.String> |
compaction_strategy_options
|
java.lang.String |
comparator_type
|
java.util.Map<java.lang.String,java.lang.String> |
compression_options
|
java.lang.String |
default_validation_class
|
int |
gc_grace_seconds
|
int |
id
|
java.nio.ByteBuffer |
key_alias
|
int |
key_cache_save_period_in_seconds
|
double |
key_cache_size
|
java.lang.String |
key_validation_class
|
java.lang.String |
keyspace
|
int |
max_compaction_threshold
|
double |
merge_shards_chance
|
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
|
boolean |
replicate_on_write
|
int |
row_cache_keys_to_save
|
java.lang.String |
row_cache_provider
|
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)
|
java.nio.ByteBuffer |
bufferForKey_alias()
|
void |
clear()
|
int |
compareTo(CfDef other)
|
CfDef |
deepCopy()
|
boolean |
equals(CfDef that)
|
boolean |
equals(java.lang.Object that)
|
CfDef._Fields |
fieldForId(int fieldId)
|
double |
getBloom_filter_fp_chance()
|
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.util.Map<java.lang.String,java.lang.String> |
getCompaction_strategy_options()
|
int |
getCompaction_strategy_optionsSize()
|
java.lang.String |
getCompaction_strategy()
|
java.lang.String |
getComparator_type()
|
java.util.Map<java.lang.String,java.lang.String> |
getCompression_options()
|
int |
getCompression_optionsSize()
|
java.lang.String |
getDefault_validation_class()
|
java.lang.Object |
getFieldValue(CfDef._Fields field)
|
int |
getGc_grace_seconds()
|
int |
getId()
|
byte[] |
getKey_alias()
|
int |
getKey_cache_save_period_in_seconds()
|
double |
getKey_cache_size()
|
java.lang.String |
getKey_validation_class()
|
java.lang.String |
getKeyspace()
|
int |
getMax_compaction_threshold()
|
double |
getMerge_shards_chance()
|
int |
getMin_compaction_threshold()
|
java.lang.String |
getName()
|
double |
getRead_repair_chance()
|
int |
getRow_cache_keys_to_save()
|
java.lang.String |
getRow_cache_provider()
|
int |
getRow_cache_save_period_in_seconds()
|
double |
getRow_cache_size()
|
java.lang.String |
getSubcomparator_type()
|
int |
hashCode()
|
boolean |
isReplicate_on_write()
|
boolean |
isSet(CfDef._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetBloom_filter_fp_chance()
Returns true if field bloom_filter_fp_chance is set (has been assigned a value) and false otherwise |
boolean |
isSetColumn_metadata()
Returns true if field column_metadata is set (has been assigned a value) and false otherwise |
boolean |
isSetColumn_type()
Returns true if field column_type is set (has been assigned a value) and false otherwise |
boolean |
isSetComment()
Returns true if field comment is set (has been assigned a value) and false otherwise |
boolean |
isSetCompaction_strategy_options()
Returns true if field compaction_strategy_options is set (has been assigned a value) and false otherwise |
boolean |
isSetCompaction_strategy()
Returns true if field compaction_strategy is set (has been assigned a value) and false otherwise |
boolean |
isSetComparator_type()
Returns true if field comparator_type is set (has been assigned a value) and false otherwise |
boolean |
isSetCompression_options()
Returns true if field compression_options is set (has been assigned a value) and false otherwise |
boolean |
isSetDefault_validation_class()
Returns true if field default_validation_class is set (has been assigned a value) and false otherwise |
boolean |
isSetGc_grace_seconds()
Returns true if field gc_grace_seconds is set (has been assigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise |
boolean |
isSetKey_alias()
Returns true if field key_alias is set (has been assigned 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 assigned a value) and false otherwise |
boolean |
isSetKey_cache_size()
Returns true if field key_cache_size is set (has been assigned a value) and false otherwise |
boolean |
isSetKey_validation_class()
Returns true if field key_validation_class is set (has been assigned a value) and false otherwise |
boolean |
isSetKeyspace()
Returns true if field keyspace is set (has been assigned a value) and false otherwise |
boolean |
isSetMax_compaction_threshold()
Returns true if field max_compaction_threshold is set (has been assigned a value) and false otherwise |
boolean |
isSetMerge_shards_chance()
Returns true if field merge_shards_chance is set (has been assigned a value) and false otherwise |
boolean |
isSetMin_compaction_threshold()
Returns true if field min_compaction_threshold 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 |
isSetRead_repair_chance()
Returns true if field read_repair_chance is set (has been assigned a value) and false otherwise |
boolean |
isSetReplicate_on_write()
Returns true if field replicate_on_write is set (has been assigned a value) and false otherwise |
boolean |
isSetRow_cache_keys_to_save()
Returns true if field row_cache_keys_to_save is set (has been assigned a value) and false otherwise |
boolean |
isSetRow_cache_provider()
Returns true if field row_cache_provider is set (has been assigned 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 assigned a value) and false otherwise |
boolean |
isSetRow_cache_size()
Returns true if field row_cache_size is set (has been assigned a value) and false otherwise |
boolean |
isSetSubcomparator_type()
Returns true if field subcomparator_type is set (has been assigned a value) and false otherwise |
void |
putToCompaction_strategy_options(java.lang.String key,
java.lang.String val)
|
void |
putToCompression_options(java.lang.String key,
java.lang.String val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
CfDef |
setBloom_filter_fp_chance(double bloom_filter_fp_chance)
|
void |
setBloom_filter_fp_chanceIsSet(boolean value)
|
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 |
setCompaction_strategy_options(java.util.Map<java.lang.String,java.lang.String> compaction_strategy_options)
|
void |
setCompaction_strategy_optionsIsSet(boolean value)
|
CfDef |
setCompaction_strategy(java.lang.String compaction_strategy)
|
void |
setCompaction_strategyIsSet(boolean value)
|
CfDef |
setComparator_type(java.lang.String comparator_type)
|
void |
setComparator_typeIsSet(boolean value)
|
CfDef |
setCompression_options(java.util.Map<java.lang.String,java.lang.String> compression_options)
|
void |
setCompression_optionsIsSet(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_alias(byte[] key_alias)
|
CfDef |
setKey_alias(java.nio.ByteBuffer key_alias)
|
void |
setKey_aliasIsSet(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 |
setKey_validation_class(java.lang.String key_validation_class)
|
void |
setKey_validation_classIsSet(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 |
setMerge_shards_chance(double merge_shards_chance)
|
void |
setMerge_shards_chanceIsSet(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 |
setReplicate_on_write(boolean replicate_on_write)
|
void |
setReplicate_on_writeIsSet(boolean value)
|
CfDef |
setRow_cache_keys_to_save(int row_cache_keys_to_save)
|
void |
setRow_cache_keys_to_saveIsSet(boolean value)
|
CfDef |
setRow_cache_provider(java.lang.String row_cache_provider)
|
void |
setRow_cache_providerIsSet(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 |
unsetBloom_filter_fp_chance()
|
void |
unsetColumn_metadata()
|
void |
unsetColumn_type()
|
void |
unsetComment()
|
void |
unsetCompaction_strategy_options()
|
void |
unsetCompaction_strategy()
|
void |
unsetComparator_type()
|
void |
unsetCompression_options()
|
void |
unsetDefault_validation_class()
|
void |
unsetGc_grace_seconds()
|
void |
unsetId()
|
void |
unsetKey_alias()
|
void |
unsetKey_cache_save_period_in_seconds()
|
void |
unsetKey_cache_size()
|
void |
unsetKey_validation_class()
|
void |
unsetKeyspace()
|
void |
unsetMax_compaction_threshold()
|
void |
unsetMerge_shards_chance()
|
void |
unsetMin_compaction_threshold()
|
void |
unsetName()
|
void |
unsetRead_repair_chance()
|
void |
unsetReplicate_on_write()
|
void |
unsetRow_cache_keys_to_save()
|
void |
unsetRow_cache_provider()
|
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 boolean replicate_on_write
public double merge_shards_chance
public java.lang.String key_validation_class
public java.lang.String row_cache_provider
public java.nio.ByteBuffer key_alias
public java.lang.String compaction_strategy
public java.util.Map<java.lang.String,java.lang.String> compaction_strategy_options
public int row_cache_keys_to_save
public java.util.Map<java.lang.String,java.lang.String> compression_options
public double bloom_filter_fp_chance
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 boolean isReplicate_on_write()
public CfDef setReplicate_on_write(boolean replicate_on_write)
public void unsetReplicate_on_write()
public boolean isSetReplicate_on_write()
public void setReplicate_on_writeIsSet(boolean value)
public double getMerge_shards_chance()
public CfDef setMerge_shards_chance(double merge_shards_chance)
public void unsetMerge_shards_chance()
public boolean isSetMerge_shards_chance()
public void setMerge_shards_chanceIsSet(boolean value)
public java.lang.String getKey_validation_class()
public CfDef setKey_validation_class(java.lang.String key_validation_class)
public void unsetKey_validation_class()
public boolean isSetKey_validation_class()
public void setKey_validation_classIsSet(boolean value)
public java.lang.String getRow_cache_provider()
public CfDef setRow_cache_provider(java.lang.String row_cache_provider)
public void unsetRow_cache_provider()
public boolean isSetRow_cache_provider()
public void setRow_cache_providerIsSet(boolean value)
public byte[] getKey_alias()
public java.nio.ByteBuffer bufferForKey_alias()
public CfDef setKey_alias(byte[] key_alias)
public CfDef setKey_alias(java.nio.ByteBuffer key_alias)
public void unsetKey_alias()
public boolean isSetKey_alias()
public void setKey_aliasIsSet(boolean value)
public java.lang.String getCompaction_strategy()
public CfDef setCompaction_strategy(java.lang.String compaction_strategy)
public void unsetCompaction_strategy()
public boolean isSetCompaction_strategy()
public void setCompaction_strategyIsSet(boolean value)
public int getCompaction_strategy_optionsSize()
public void putToCompaction_strategy_options(java.lang.String key, java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getCompaction_strategy_options()
public CfDef setCompaction_strategy_options(java.util.Map<java.lang.String,java.lang.String> compaction_strategy_options)
public void unsetCompaction_strategy_options()
public boolean isSetCompaction_strategy_options()
public void setCompaction_strategy_optionsIsSet(boolean value)
public int getRow_cache_keys_to_save()
public CfDef setRow_cache_keys_to_save(int row_cache_keys_to_save)
public void unsetRow_cache_keys_to_save()
public boolean isSetRow_cache_keys_to_save()
public void setRow_cache_keys_to_saveIsSet(boolean value)
public int getCompression_optionsSize()
public void putToCompression_options(java.lang.String key, java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getCompression_options()
public CfDef setCompression_options(java.util.Map<java.lang.String,java.lang.String> compression_options)
public void unsetCompression_options()
public boolean isSetCompression_options()
public void setCompression_optionsIsSet(boolean value)
public double getBloom_filter_fp_chance()
public CfDef setBloom_filter_fp_chance(double bloom_filter_fp_chance)
public void unsetBloom_filter_fp_chance()
public boolean isSetBloom_filter_fp_chance()
public void setBloom_filter_fp_chanceIsSet(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 |