public interface SSTableReadsListener
Modifier and Type | Interface and Description |
---|---|
static class |
SSTableReadsListener.SelectionReason
The reasons for selecting an SSTable
|
static class |
SSTableReadsListener.SkippingReason
The reasons for skipping an SSTable
|
Modifier and Type | Field and Description |
---|---|
static SSTableReadsListener |
NOOP_LISTENER
Listener 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 © 2019 The Apache Software Foundation