public interface SSTableReadsListener
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | SSTableReadsListener.SelectionReasonThe reasons for selecting an SSTable | 
| static class  | SSTableReadsListener.SkippingReasonThe reasons for skipping an SSTable | 
| Modifier and Type | Field and Description | 
|---|---|
| static SSTableReadsListener | NOOP_LISTENERListener that does nothing. | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | onScanningStarted(SSTableReader sstable)Handles notification that the specified SSTable is being scanned during a partition range query. | 
| default void | onSSTableSelected(SSTableReader sstable,
                 RowIndexEntry<?> indexEntry,
                 SSTableReadsListener.SelectionReason reason)Handles notification that the specified SSTable has been selected during a single partition query. | 
| default void | onSSTableSkipped(SSTableReader sstable,
                SSTableReadsListener.SkippingReason reason)Handles notification that the specified SSTable has been skipped during a single partition query. | 
static final SSTableReadsListener NOOP_LISTENER
default void onSSTableSkipped(SSTableReader sstable, SSTableReadsListener.SkippingReason reason)
sstable - the SSTable readerreason - the reason for which the SSTable has been skippeddefault void onSSTableSelected(SSTableReader sstable, RowIndexEntry<?> indexEntry, SSTableReadsListener.SelectionReason reason)
sstable - the SSTable readerindexEntry - the index entryreason - the reason for which the SSTable has been selecteddefault void onScanningStarted(SSTableReader sstable)
sstable - the SSTable reader of the SSTable being scanned.Copyright © 2018 The Apache Software Foundation