Example usage for org.apache.cassandra.db.compaction AbstractCompactionStrategy getScanners

List of usage examples for org.apache.cassandra.db.compaction AbstractCompactionStrategy getScanners

Introduction

In this page you can find the example usage for org.apache.cassandra.db.compaction AbstractCompactionStrategy getScanners.

Prototype

public ScannerList getScanners(Collection<SSTableReader> toCompact) 

Source Link

Usage

From source file:com.cloudian.support.SSTableCompactedRowIterable.java

License:Apache License

private List<ICompactionScanner> getScanners(Collection<SSTableReader> sstables) throws IOException {
    AbstractCompactionStrategy strategy = SSTableGarbageChecker.cfStore.getCompactionStrategy();

    return strategy.getScanners(sstables);
}