org.apache.hadoop.hbase.regionserver.IndexKeyValueSkipListSet Java Examples

The following examples show how to use org.apache.hadoop.hbase.regionserver.IndexKeyValueSkipListSet. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IndexMemStore.java    From phoenix with Apache License 2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #2
Source File: IndexMemStore.java    From phoenix with Apache License 2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #3
Source File: IndexMemStore.java    From phoenix with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * 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);
}