| Package | Description |
|---|---|
| co.cask.cdap.data2.transaction.stream.hbase |
This package contains class for stream consumer implementation that uses HBase as state store.
|
| co.cask.cdap.data2.util.hbase | |
| co.cask.cdap.hbase.wd |
Classes in this package implement row salting approach to distribute writes with monotonically increasing keys to
multiple regions.
|
| Constructor and Description |
|---|
HBaseStreamFileConsumer(CConfiguration cConf,
StreamConfig streamConfig,
ConsumerConfig consumerConfig,
HBaseTableUtil tableUtil,
org.apache.hadoop.hbase.client.HTable hTable,
FileReader<StreamEventOffset,Iterable<StreamFileOffset>> reader,
StreamConsumerStateStore stateStore,
StreamConsumerState beginConsumerState,
ReadFilter extraFilter,
AbstractRowKeyDistributor keyDistributor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[][] |
HBaseTableUtil.getSplitKeys(int splits,
int buckets,
AbstractRowKeyDistributor keyDistributor) |
| Modifier and Type | Class and Description |
|---|---|
class |
RowKeyDistributorByHashPrefix
Provides handy methods to distribute
|
class |
RowKeyDistributorByOneBytePrefix
Provides handy methods to distribute
|
| Modifier and Type | Method and Description |
|---|---|
static DistributedScanner |
DistributedScanner.create(org.apache.hadoop.hbase.client.HTableInterface hTable,
org.apache.hadoop.hbase.client.Scan originalScan,
AbstractRowKeyDistributor keyDistributor,
ExecutorService scansExecutor) |
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.