public class RowKeyDistributorByOneBytePrefix extends AbstractRowKeyDistributor
| Constructor and Description |
|---|
RowKeyDistributorByOneBytePrefix()
Constructor reflection.
|
RowKeyDistributorByOneBytePrefix(byte bucketsCount) |
| Modifier and Type | Method and Description |
|---|---|
byte[][] |
getAllDistributedKeys(byte[] originalKey) |
byte[] |
getDistributedKey(byte[] originalKey) |
byte[] |
getOriginalKey(byte[] adjustedKey) |
String |
getParamsToStore() |
void |
init(String params) |
addInfo, getDistributedIntervals, getDistributedScanspublic RowKeyDistributorByOneBytePrefix()
public RowKeyDistributorByOneBytePrefix(byte bucketsCount)
public byte[] getDistributedKey(byte[] originalKey)
getDistributedKey in class AbstractRowKeyDistributorpublic byte[] getOriginalKey(byte[] adjustedKey)
getOriginalKey in class AbstractRowKeyDistributorpublic byte[][] getAllDistributedKeys(byte[] originalKey)
getAllDistributedKeys in class AbstractRowKeyDistributorpublic String getParamsToStore()
public void init(String params)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.