public abstract class AbstractRowKeyDistributor extends Object implements Parametrizable
| Constructor and Description |
|---|
AbstractRowKeyDistributor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(Configuration conf) |
abstract byte[][] |
getAllDistributedKeys(byte[] originalKey) |
org.apache.hadoop.hbase.util.Pair<byte[],byte[]>[] |
getDistributedIntervals(byte[] originalStartKey,
byte[] originalStopKey)
Gets all distributed intervals based on the original start & stop keys.
|
abstract byte[] |
getDistributedKey(byte[] originalKey) |
org.apache.hadoop.hbase.client.Scan[] |
getDistributedScans(org.apache.hadoop.hbase.client.Scan original) |
abstract byte[] |
getOriginalKey(byte[] adjustedKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParamsToStore, initpublic abstract byte[] getDistributedKey(byte[] originalKey)
public abstract byte[] getOriginalKey(byte[] adjustedKey)
public abstract byte[][] getAllDistributedKeys(byte[] originalKey)
public org.apache.hadoop.hbase.util.Pair<byte[],byte[]>[] getDistributedIntervals(byte[] originalStartKey, byte[] originalStopKey)
originalStartKey - start keyoriginalStopKey - stop keypublic final org.apache.hadoop.hbase.client.Scan[] getDistributedScans(org.apache.hadoop.hbase.client.Scan original) throws IOException
IOExceptionpublic void addInfo(Configuration conf)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.