Interface PartitionDedupMetadataManager
-
public interface PartitionDedupMetadataManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSegment(IndexSegment segment)Initializes the dedup metadata for the given immutable segment.booleancheckRecordPresentOrUpdate(PrimaryKey pk, IndexSegment indexSegment)Add the primary key to the given segment to the dedup matadata if it was absent.voidremoveSegment(IndexSegment segment)Removes the dedup metadata for the given segment.
-
-
-
Method Detail
-
addSegment
void addSegment(IndexSegment segment)
Initializes the dedup metadata for the given immutable segment.
-
removeSegment
void removeSegment(IndexSegment segment)
Removes the dedup metadata for the given segment.
-
checkRecordPresentOrUpdate
boolean checkRecordPresentOrUpdate(PrimaryKey pk, IndexSegment indexSegment)
Add the primary key to the given segment to the dedup matadata if it was absent. Returns true if the key was already present.
-
-