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

The following examples show how to use org.apache.hadoop.hbase.regionserver.IndexKeyValueSkipListSet. These examples are extracted from open source projects. 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 Project: phoenix   Source File: IndexMemStore.java    License: 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 Project: phoenix   Source File: IndexMemStore.java    License: 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
/**
 * 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);
}