下面列出了怎么用org.apache.hadoop.hbase.regionserver.IndexKeyValueSkipListSet的API类实例代码及写法,或者点击链接到github查看源代码。
/**
* Create a store with the given comparator. This comparator is used to determine both sort order
* <b>as well as equality of {@link KeyValue}s</b>.
* <p>
* Exposed for subclassing/testing.
* @param comparator to use
*/
IndexMemStore(Comparator<KeyValue> comparator) {
this.comparator = comparator;
this.kvset = IndexKeyValueSkipListSet.create(comparator);
}
/**
* Create a store with the given comparator. This comparator is used to determine both sort order
* <b>as well as equality of {@link KeyValue}s</b>.
* <p>
* Exposed for subclassing/testing.
* @param comparator to use
*/
IndexMemStore(CellComparator comparator) {
this.comparator = comparator;
this.kvset = IndexKeyValueSkipListSet.create(comparator);
}
/**
* Create a store with the given comparator. This comparator is used to determine both sort order
* <b>as well as equality of {@link KeyValue}s</b>.
* <p>
* Exposed for subclassing/testing.
* @param comparator to use
*/
IndexMemStore(Comparator<KeyValue> comparator) {
this.comparator = comparator;
this.kvset = IndexKeyValueSkipListSet.create(comparator);
}