Interface CellSourceIdentifier

All Known Subinterfaces:
Memtable, SSTableId
All Known Implementing Classes:
AbstractAllocatorMemtable, AbstractMemtable, AbstractMemtableWithCommitlog, AbstractShardedMemtable, SequenceBasedSSTableId, ShardedSkipListMemtable, SkipListMemtable, TrieMemtable, UUIDBasedSSTableId

public interface CellSourceIdentifier
A cell's source data object. Can be used to determine if two cells originated from the same object, e.g. memtable or sstable.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true iff this and other CellSourceIdentifier are equal, indicating that the cell are from the same source.
  • Method Details

    • isEqualSource

      default boolean isEqualSource(CellSourceIdentifier other)
      Returns true iff this and other CellSourceIdentifier are equal, indicating that the cell are from the same source.
      Parameters:
      other - the other source with which to compare
      Returns:
      true if the two sources are equal