public interface SSTableFlushObserver
| Modifier and Type | Method and Description | 
|---|---|
| void | begin()Called before writing any data to the sstable. | 
| void | complete()Called when all data is written to the file and it's ready to be finished up. | 
| void | nextUnfilteredCluster(Unfiltered unfilteredCluster)Called after the unfiltered cluster is written to the sstable. | 
| void | startPartition(DecoratedKey key,
              long indexPosition)Called when a new partition in being written to the sstable,
 but before any cells are processed (see  nextUnfilteredCluster(Unfiltered)). | 
void begin()
void startPartition(DecoratedKey key, long indexPosition)
nextUnfilteredCluster(Unfiltered)).key - The key being appended to SSTable.indexPosition - The position of the key in the SSTable PRIMARY_INDEX file.void nextUnfilteredCluster(Unfiltered unfilteredCluster)
startPartition(DecoratedKey, long),
 and the cluster should be assumed to belong to that partition.unfilteredCluster - The unfiltered cluster being added to SSTable.void complete()
Copyright © 2018 The Apache Software Foundation