List of usage examples for org.apache.cassandra.db ColumnFamilyStore estimateKeys
public long estimateKeys()
From source file:com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.java
License:Apache License
public BackupSinkForDeletingCompaction(ColumnFamilyStore cfs, File targetDirectory) { // TODO: Wow, this key estimate is probably grossly over-estimated... Not sure how to get a better one here. this(cfs, targetDirectory, cfs.estimateKeys() / cfs.getLiveSSTableCount()); }