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

Method Summary
 void addColumnDefinition(ColumnDefinition columnDefinition)
           
 List<ColumnDefinition> getColumnMetadata()
           
 ColumnType getColumnType()
           
 String getComment()
           
 ComparatorType getComparatorType()
           
 String getComparatorTypeAlias()
           
 String getDefaultValidationClass()
           
 int getGcGraceSeconds()
           
 int getId()
           
 int getKeyCacheSavePeriodInSeconds()
           
 double getKeyCacheSize()
           
 String getKeyspaceName()
           
 String getKeyValidationClass()
           
 int getMaxCompactionThreshold()
           
 int getMemtableFlushAfterMins()
           
 double getMemtableOperationsInMillions()
           
 int getMemtableThroughputInMb()
           
 int getMinCompactionThreshold()
           
 String getName()
           
 double getReadRepairChance()
           
 int getRowCacheSavePeriodInSeconds()
           
 double getRowCacheSize()
           
 ComparatorType getSubComparatorType()
           
 String getSubComparatorTypeAlias()
           
 boolean isReplicateOnWrite()
           
 void setColumnType(ColumnType columnType)
           
 void setComment(String comment)
           
 void setComparatorType(ComparatorType comparitorType)
           
 void setComparatorTypeAlias(String alias)
           
 void setDefaultValidationClass(String defaultValidationClass)
           
 void setGcGraceSeconds(int gcGraceSeconds)
           
 void setId(int id)
           
 void setKeyCacheSavePeriodInSeconds(int keyCacheSavePeriodInSeconds)
           
 void setKeyCacheSize(double keyCacheSize)
           
 void setKeyspaceName(String keyspaceName)
           
 void setKeyValidationClass(String keyValidationClass)
           
 void setMaxCompactionThreshold(int maxCompactionThreshold)
           
 void setMemtableFlushAfterMins(int memtableFlushAfterMins)
           
 void setMemtableOperationsInMillions(double memtableOperationsInMillions)
           
 void setMemtableThroughputInMb(int memtableThroughputInMb)
           
 void setMinCompactionThreshold(int minCompactionThreshold)
           
 void setName(String name)
           
 void setReadRepairChance(double readRepairChance)
           
 void setReplicateOnWrite(boolean replicateOnWrite)
           
 void setRowCacheSavePeriodInSeconds(int rowCacheSavePeriodInSeconds)
           
 void setRowCacheSize(double rowCacheSize)
           
 void setSubComparatorType(ComparatorType subComparitorType)
           
 void setSubComparatorTypeAlias(String alias)
           
 

Method Detail

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.