Example usage for org.apache.cassandra.db ColumnFamilyStore getColumnFamilyName

List of usage examples for org.apache.cassandra.db ColumnFamilyStore getColumnFamilyName

Introduction

In this page you can find the example usage for org.apache.cassandra.db ColumnFamilyStore getColumnFamilyName.

Prototype

@Deprecated
    public String getColumnFamilyName() 

Source Link

Usage

From source file:com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.java

License:Apache License

public BackupSinkForDeletingCompaction(ColumnFamilyStore cfs, File targetDirectory, long keyEstimate) {
    this.cfs = cfs;
    this.targetDirectory = targetDirectory;
    this.keysPerSSTable = keyEstimate;

    // Right now we're just doing one sink per compacted sstable, so they'll be pre-sorted, meaning
    // we don't need to bother resorting the data.
    columnFamily = ArrayBackedSortedColumns.factory.create(cfs.keyspace.getName(), cfs.getColumnFamilyName());
}