me.prettyprint.hector.api.ddl
Interface ColumnFamilyDefinition
- All Known Implementing Classes:
- BasicColumnFamilyDefinition, ThriftCfDef
public interface ColumnFamilyDefinition
Hector's implementation independent CfDef version.
- Author:
- Ran Tavory
getKeyspaceName
String getKeyspaceName()
setKeyspaceName
void setKeyspaceName(String keyspaceName)
getName
String getName()
setName
void setName(String name)
getColumnType
ColumnType getColumnType()
setColumnType
void setColumnType(ColumnType columnType)
getComparatorType
ComparatorType getComparatorType()
setComparatorType
void setComparatorType(ComparatorType comparitorType)
getSubComparatorType
ComparatorType getSubComparatorType()
setSubComparatorType
void setSubComparatorType(ComparatorType subComparitorType)
getComparatorTypeAlias
String getComparatorTypeAlias()
setComparatorTypeAlias
void setComparatorTypeAlias(String alias)
getSubComparatorTypeAlias
String getSubComparatorTypeAlias()
setSubComparatorTypeAlias
void setSubComparatorTypeAlias(String alias)
getComment
String getComment()
setComment
void setComment(String comment)
getRowCacheSize
double getRowCacheSize()
setRowCacheSize
void setRowCacheSize(double rowCacheSize)
getRowCacheSavePeriodInSeconds
int getRowCacheSavePeriodInSeconds()
setRowCacheSavePeriodInSeconds
void setRowCacheSavePeriodInSeconds(int rowCacheSavePeriodInSeconds)
getKeyCacheSavePeriodInSeconds
int getKeyCacheSavePeriodInSeconds()
setKeyCacheSavePeriodInSeconds
void setKeyCacheSavePeriodInSeconds(int keyCacheSavePeriodInSeconds)
getKeyCacheSize
double getKeyCacheSize()
setKeyCacheSize
void setKeyCacheSize(double keyCacheSize)
getKeyValidationClass
String getKeyValidationClass()
setKeyValidationClass
void setKeyValidationClass(String keyValidationClass)
getReadRepairChance
double getReadRepairChance()
setReadRepairChance
void setReadRepairChance(double readRepairChance)
getColumnMetadata
List<ColumnDefinition> getColumnMetadata()
addColumnDefinition
void addColumnDefinition(ColumnDefinition columnDefinition)
getGcGraceSeconds
int getGcGraceSeconds()
setGcGraceSeconds
void setGcGraceSeconds(int gcGraceSeconds)
getDefaultValidationClass
String getDefaultValidationClass()
setDefaultValidationClass
void setDefaultValidationClass(String defaultValidationClass)
getId
int getId()
setId
void setId(int id)
getMaxCompactionThreshold
int getMaxCompactionThreshold()
setMaxCompactionThreshold
void setMaxCompactionThreshold(int maxCompactionThreshold)
getMinCompactionThreshold
int getMinCompactionThreshold()
setMinCompactionThreshold
void setMinCompactionThreshold(int minCompactionThreshold)
getMemtableOperationsInMillions
double getMemtableOperationsInMillions()
setMemtableOperationsInMillions
void setMemtableOperationsInMillions(double memtableOperationsInMillions)
getMemtableThroughputInMb
int getMemtableThroughputInMb()
setMemtableThroughputInMb
void setMemtableThroughputInMb(int memtableThroughputInMb)
getMemtableFlushAfterMins
int getMemtableFlushAfterMins()
setMemtableFlushAfterMins
void setMemtableFlushAfterMins(int memtableFlushAfterMins)
isReplicateOnWrite
boolean isReplicateOnWrite()
setReplicateOnWrite
void setReplicateOnWrite(boolean replicateOnWrite)
Copyright © 2011. All Rights Reserved.