public class CfDef extends java.lang.Object implements org.apache.thrift.TBase<CfDef,CfDef._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<CfDef>
Modifier and Type | Class and Description |
---|---|
static class |
CfDef._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
double |
bloom_filter_fp_chance |
java.lang.String |
caching |
java.lang.String |
cells_per_row_to_cache |
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 |
double |
dclocal_read_repair_chance |
int |
default_time_to_live |
java.lang.String |
default_validation_class |
int |
gc_grace_seconds |
int |
id |
int |
index_interval
Deprecated.
|
java.nio.ByteBuffer |
key_alias |
int |
key_cache_save_period_in_seconds
Deprecated.
|
double |
key_cache_size
Deprecated.
|
java.lang.String |
key_validation_class |
java.lang.String |
keyspace |
int |
max_compaction_threshold |
int |
max_index_interval |
int |
memtable_flush_after_mins
Deprecated.
|
int |
memtable_flush_period_in_ms |
double |
memtable_operations_in_millions
Deprecated.
|
int |
memtable_throughput_in_mb
Deprecated.
|
double |
merge_shards_chance
Deprecated.
|
static java.util.Map<CfDef._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
min_compaction_threshold |
int |
min_index_interval |
java.lang.String |
name |
boolean |
populate_io_cache_on_flush
Deprecated.
|
double |
read_repair_chance |
boolean |
replicate_on_write
Deprecated.
|
int |
row_cache_keys_to_save
Deprecated.
|
java.lang.String |
row_cache_provider
Deprecated.
|
int |
row_cache_save_period_in_seconds
Deprecated.
|
double |
row_cache_size
Deprecated.
|
java.lang.String |
speculative_retry |
java.lang.String |
subcomparator_type |
java.util.List<TriggerDef> |
triggers |
Constructor and Description |
---|
CfDef() |
CfDef(CfDef other)
Performs a deep copy on other.
|
CfDef(java.lang.String keyspace,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addToColumn_metadata(ColumnDef elem) |
void |
addToTriggers(TriggerDef 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.lang.String |
getCaching() |
java.lang.String |
getCells_per_row_to_cache() |
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() |
double |
getDclocal_read_repair_chance() |
int |
getDefault_time_to_live() |
java.lang.String |
getDefault_validation_class() |
java.lang.Object |
getFieldValue(CfDef._Fields field) |
int |
getGc_grace_seconds() |
int |
getId() |
int |
getIndex_interval()
Deprecated.
|
byte[] |
getKey_alias() |
int |
getKey_cache_save_period_in_seconds()
Deprecated.
|
double |
getKey_cache_size()
Deprecated.
|
java.lang.String |
getKey_validation_class() |
java.lang.String |
getKeyspace() |
int |
getMax_compaction_threshold() |
int |
getMax_index_interval() |
int |
getMemtable_flush_after_mins()
Deprecated.
|
int |
getMemtable_flush_period_in_ms() |
double |
getMemtable_operations_in_millions()
Deprecated.
|
int |
getMemtable_throughput_in_mb()
Deprecated.
|
double |
getMerge_shards_chance()
Deprecated.
|
int |
getMin_compaction_threshold() |
int |
getMin_index_interval() |
java.lang.String |
getName() |
double |
getRead_repair_chance() |
int |
getRow_cache_keys_to_save()
Deprecated.
|
java.lang.String |
getRow_cache_provider()
Deprecated.
|
int |
getRow_cache_save_period_in_seconds()
Deprecated.
|
double |
getRow_cache_size()
Deprecated.
|
java.lang.String |
getSpeculative_retry() |
java.lang.String |
getSubcomparator_type() |
java.util.List<TriggerDef> |
getTriggers() |
java.util.Iterator<TriggerDef> |
getTriggersIterator() |
int |
getTriggersSize() |
int |
hashCode() |
boolean |
isPopulate_io_cache_on_flush()
Deprecated.
|
boolean |
isReplicate_on_write()
Deprecated.
|
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 |
isSetCaching()
Returns true if field caching is set (has been assigned a value) and false otherwise
|
boolean |
isSetCells_per_row_to_cache()
Returns true if field cells_per_row_to_cache 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 |
isSetDclocal_read_repair_chance()
Returns true if field dclocal_read_repair_chance is set (has been assigned a value) and false otherwise
|
boolean |
isSetDefault_time_to_live()
Returns true if field default_time_to_live 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 |
isSetIndex_interval()
Returns true if field index_interval 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 |
isSetMax_index_interval()
Returns true if field max_index_interval is set (has been assigned a value) and false otherwise
|
boolean |
isSetMemtable_flush_after_mins()
Returns true if field memtable_flush_after_mins is set (has been assigned a value) and false otherwise
|
boolean |
isSetMemtable_flush_period_in_ms()
Returns true if field memtable_flush_period_in_ms is set (has been assigned a value) and false otherwise
|
boolean |
isSetMemtable_operations_in_millions()
Returns true if field memtable_operations_in_millions is set (has been assigned a value) and false otherwise
|
boolean |
isSetMemtable_throughput_in_mb()
Returns true if field memtable_throughput_in_mb 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 |
isSetMin_index_interval()
Returns true if field min_index_interval 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 |
isSetPopulate_io_cache_on_flush()
Returns true if field populate_io_cache_on_flush 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 |
isSetSpeculative_retry()
Returns true if field speculative_retry 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
|
boolean |
isSetTriggers()
Returns true if field triggers 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 |
setCaching(java.lang.String caching) |
void |
setCachingIsSet(boolean value) |
CfDef |
setCells_per_row_to_cache(java.lang.String cells_per_row_to_cache) |
void |
setCells_per_row_to_cacheIsSet(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 |
setDclocal_read_repair_chance(double dclocal_read_repair_chance) |
void |
setDclocal_read_repair_chanceIsSet(boolean value) |
CfDef |
setDefault_time_to_live(int default_time_to_live) |
void |
setDefault_time_to_liveIsSet(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 |
setIndex_interval(int index_interval)
Deprecated.
|
void |
setIndex_intervalIsSet(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)
Deprecated.
|
void |
setKey_cache_save_period_in_secondsIsSet(boolean value) |
CfDef |
setKey_cache_size(double key_cache_size)
Deprecated.
|
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 |
setMax_index_interval(int max_index_interval) |
void |
setMax_index_intervalIsSet(boolean value) |
CfDef |
setMemtable_flush_after_mins(int memtable_flush_after_mins)
Deprecated.
|
void |
setMemtable_flush_after_minsIsSet(boolean value) |
CfDef |
setMemtable_flush_period_in_ms(int memtable_flush_period_in_ms) |
void |
setMemtable_flush_period_in_msIsSet(boolean value) |
CfDef |
setMemtable_operations_in_millions(double memtable_operations_in_millions)
Deprecated.
|
void |
setMemtable_operations_in_millionsIsSet(boolean value) |
CfDef |
setMemtable_throughput_in_mb(int memtable_throughput_in_mb)
Deprecated.
|
void |
setMemtable_throughput_in_mbIsSet(boolean value) |
CfDef |
setMerge_shards_chance(double merge_shards_chance)
Deprecated.
|
void |
setMerge_shards_chanceIsSet(boolean value) |
CfDef |
setMin_compaction_threshold(int min_compaction_threshold) |
void |
setMin_compaction_thresholdIsSet(boolean value) |
CfDef |
setMin_index_interval(int min_index_interval) |
void |
setMin_index_intervalIsSet(boolean value) |
CfDef |
setName(java.lang.String name) |
void |
setNameIsSet(boolean value) |
CfDef |
setPopulate_io_cache_on_flush(boolean populate_io_cache_on_flush)
Deprecated.
|
void |
setPopulate_io_cache_on_flushIsSet(boolean value) |
CfDef |
setRead_repair_chance(double read_repair_chance) |
void |
setRead_repair_chanceIsSet(boolean value) |
CfDef |
setReplicate_on_write(boolean replicate_on_write)
Deprecated.
|
void |
setReplicate_on_writeIsSet(boolean value) |
CfDef |
setRow_cache_keys_to_save(int row_cache_keys_to_save)
Deprecated.
|
void |
setRow_cache_keys_to_saveIsSet(boolean value) |
CfDef |
setRow_cache_provider(java.lang.String row_cache_provider)
Deprecated.
|
void |
setRow_cache_providerIsSet(boolean value) |
CfDef |
setRow_cache_save_period_in_seconds(int row_cache_save_period_in_seconds)
Deprecated.
|
void |
setRow_cache_save_period_in_secondsIsSet(boolean value) |
CfDef |
setRow_cache_size(double row_cache_size)
Deprecated.
|
void |
setRow_cache_sizeIsSet(boolean value) |
CfDef |
setSpeculative_retry(java.lang.String speculative_retry) |
void |
setSpeculative_retryIsSet(boolean value) |
CfDef |
setSubcomparator_type(java.lang.String subcomparator_type) |
void |
setSubcomparator_typeIsSet(boolean value) |
CfDef |
setTriggers(java.util.List<TriggerDef> triggers) |
void |
setTriggersIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetBloom_filter_fp_chance() |
void |
unsetCaching() |
void |
unsetCells_per_row_to_cache() |
void |
unsetColumn_metadata() |
void |
unsetColumn_type() |
void |
unsetComment() |
void |
unsetCompaction_strategy_options() |
void |
unsetCompaction_strategy() |
void |
unsetComparator_type() |
void |
unsetCompression_options() |
void |
unsetDclocal_read_repair_chance() |
void |
unsetDefault_time_to_live() |
void |
unsetDefault_validation_class() |
void |
unsetGc_grace_seconds() |
void |
unsetId() |
void |
unsetIndex_interval() |
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 |
unsetMax_index_interval() |
void |
unsetMemtable_flush_after_mins() |
void |
unsetMemtable_flush_period_in_ms() |
void |
unsetMemtable_operations_in_millions() |
void |
unsetMemtable_throughput_in_mb() |
void |
unsetMerge_shards_chance() |
void |
unsetMin_compaction_threshold() |
void |
unsetMin_index_interval() |
void |
unsetName() |
void |
unsetPopulate_io_cache_on_flush() |
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 |
unsetSpeculative_retry() |
void |
unsetSubcomparator_type() |
void |
unsetTriggers() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
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 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 java.lang.String key_validation_class
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 java.util.Map<java.lang.String,java.lang.String> compression_options
public double bloom_filter_fp_chance
public java.lang.String caching
public double dclocal_read_repair_chance
public int memtable_flush_period_in_ms
public int default_time_to_live
public java.lang.String speculative_retry
public java.util.List<TriggerDef> triggers
public java.lang.String cells_per_row_to_cache
public int min_index_interval
public int max_index_interval
public double row_cache_size
public double key_cache_size
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 boolean replicate_on_write
public double merge_shards_chance
public java.lang.String row_cache_provider
public int row_cache_keys_to_save
public boolean populate_io_cache_on_flush
public int index_interval
public static final java.util.Map<CfDef._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CfDef()
public CfDef(java.lang.String keyspace, java.lang.String name)
public CfDef(CfDef other)
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 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 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 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 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 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 java.lang.String getCaching()
public CfDef setCaching(java.lang.String caching)
public void unsetCaching()
public boolean isSetCaching()
public void setCachingIsSet(boolean value)
public double getDclocal_read_repair_chance()
public CfDef setDclocal_read_repair_chance(double dclocal_read_repair_chance)
public void unsetDclocal_read_repair_chance()
public boolean isSetDclocal_read_repair_chance()
public void setDclocal_read_repair_chanceIsSet(boolean value)
public int getMemtable_flush_period_in_ms()
public CfDef setMemtable_flush_period_in_ms(int memtable_flush_period_in_ms)
public void unsetMemtable_flush_period_in_ms()
public boolean isSetMemtable_flush_period_in_ms()
public void setMemtable_flush_period_in_msIsSet(boolean value)
public int getDefault_time_to_live()
public CfDef setDefault_time_to_live(int default_time_to_live)
public void unsetDefault_time_to_live()
public boolean isSetDefault_time_to_live()
public void setDefault_time_to_liveIsSet(boolean value)
public java.lang.String getSpeculative_retry()
public CfDef setSpeculative_retry(java.lang.String speculative_retry)
public void unsetSpeculative_retry()
public boolean isSetSpeculative_retry()
public void setSpeculative_retryIsSet(boolean value)
public int getTriggersSize()
public java.util.Iterator<TriggerDef> getTriggersIterator()
public void addToTriggers(TriggerDef elem)
public java.util.List<TriggerDef> getTriggers()
public CfDef setTriggers(java.util.List<TriggerDef> triggers)
public void unsetTriggers()
public boolean isSetTriggers()
public void setTriggersIsSet(boolean value)
public java.lang.String getCells_per_row_to_cache()
public CfDef setCells_per_row_to_cache(java.lang.String cells_per_row_to_cache)
public void unsetCells_per_row_to_cache()
public boolean isSetCells_per_row_to_cache()
public void setCells_per_row_to_cacheIsSet(boolean value)
public int getMin_index_interval()
public CfDef setMin_index_interval(int min_index_interval)
public void unsetMin_index_interval()
public boolean isSetMin_index_interval()
public void setMin_index_intervalIsSet(boolean value)
public int getMax_index_interval()
public CfDef setMax_index_interval(int max_index_interval)
public void unsetMax_index_interval()
public boolean isSetMax_index_interval()
public void setMax_index_intervalIsSet(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 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 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 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 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 boolean isPopulate_io_cache_on_flush()
public CfDef setPopulate_io_cache_on_flush(boolean populate_io_cache_on_flush)
public void unsetPopulate_io_cache_on_flush()
public boolean isSetPopulate_io_cache_on_flush()
public void setPopulate_io_cache_on_flushIsSet(boolean value)
public int getIndex_interval()
public CfDef setIndex_interval(int index_interval)
public void unsetIndex_interval()
public boolean isSetIndex_interval()
public void setIndex_intervalIsSet(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
Copyright © 2015 The Apache Software Foundation