Class StoreFileComparators
java.lang.Object
org.apache.hadoop.hbase.regionserver.StoreFileComparators
Useful comparators for comparing store files.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator<HStoreFile>
Comparator that compares based on the Sequence Ids of the the store files.static final Comparator<HStoreFile>
Comparator for time-aware compaction. -
Constructor Summary
-
Method Summary
-
Field Details
-
SEQ_ID
Comparator that compares based on the Sequence Ids of the the store files. Bulk loads that did not request a seq ID are given a seq id of -1; thus, they are placed before all non- bulk loads, and bulk loads with sequence Id. Among these files, the size is used to determine the ordering, then bulkLoadTime. If there are ties, the path name is used as a tie-breaker. -
SEQ_ID_MAX_TIMESTAMP
Comparator for time-aware compaction. SeqId is still the first ordering criterion to maintain MVCC.
-
-
Constructor Details
-
StoreFileComparators
-