Example usage for org.apache.cassandra.io.sstable.format SSTableReader getScanner

List of usage examples for org.apache.cassandra.io.sstable.format SSTableReader getScanner

Introduction

In this page you can find the example usage for org.apache.cassandra.io.sstable.format SSTableReader getScanner.

Prototype

public abstract ISSTableScanner getScanner();

Source Link

Document

Direct I/O SSTableScanner over the entirety of the sstable..

Usage

From source file:com.knewton.mapreduce.SSTableRecordReader.java

License:Apache License

private void setTableScanner(SSTableReader tableReader) {
    Preconditions.checkNotNull(tableReader, "Table reader not set");
    this.tableScanner = tableReader.getScanner();
    this.estimatedKeys = tableReader.estimatedKeys();
}