public abstract class CubeHBaseRPC extends Object implements org.apache.kylin.gridtable.IGTStorage
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.kylin.cube.CubeSegment |
cubeSeg |
protected org.apache.kylin.cube.cuboid.Cuboid |
cuboid |
protected org.apache.kylin.gridtable.GTInfo |
fullGTInfo |
static org.slf4j.Logger |
logger |
protected org.apache.kylin.common.QueryContext |
queryContext |
protected org.apache.kylin.storage.StorageContext |
storageContext |
| Constructor and Description |
|---|
CubeHBaseRPC(org.apache.kylin.metadata.model.ISegment segment,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
org.apache.kylin.gridtable.GTInfo fullGTInfo,
org.apache.kylin.storage.StorageContext context) |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyFuzzyFilter(org.apache.hadoop.hbase.client.Scan scan,
List<org.apache.kylin.common.util.Pair<byte[],byte[]>> fuzzyKeys) |
static void |
applyHBaseColums(org.apache.hadoop.hbase.client.Scan scan,
List<org.apache.kylin.common.util.Pair<byte[],byte[]>> hbaseColumns) |
static org.apache.hadoop.hbase.client.Scan |
buildScan(RawScan rawScan) |
protected int |
getCoprocessorTimeoutMillis() |
protected List<List<Integer>> |
getHBaseColumnsGTMapping(org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks)
for each selected hbase column, it might contain values of multiple GT columns.
|
protected void |
logScan(RawScan rawScan,
String tableName) |
protected List<org.apache.kylin.common.util.Pair<byte[],byte[]>> |
makeHBaseColumns(org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks)
prune untouched hbase columns
|
protected List<RawScan> |
preparedHBaseScans(List<org.apache.kylin.gridtable.GTScanRange> ranges,
org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks) |
public static final org.slf4j.Logger logger
protected final org.apache.kylin.cube.CubeSegment cubeSeg
protected final org.apache.kylin.cube.cuboid.Cuboid cuboid
protected final org.apache.kylin.gridtable.GTInfo fullGTInfo
protected final org.apache.kylin.common.QueryContext queryContext
protected final org.apache.kylin.storage.StorageContext storageContext
public CubeHBaseRPC(org.apache.kylin.metadata.model.ISegment segment,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
org.apache.kylin.gridtable.GTInfo fullGTInfo,
org.apache.kylin.storage.StorageContext context)
public static org.apache.hadoop.hbase.client.Scan buildScan(RawScan rawScan)
protected List<RawScan> preparedHBaseScans(List<org.apache.kylin.gridtable.GTScanRange> ranges, org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks)
protected List<org.apache.kylin.common.util.Pair<byte[],byte[]>> makeHBaseColumns(org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks)
protected List<List<Integer>> getHBaseColumnsGTMapping(org.apache.kylin.common.util.ImmutableBitSet selectedColBlocks)
public static void applyHBaseColums(org.apache.hadoop.hbase.client.Scan scan,
List<org.apache.kylin.common.util.Pair<byte[],byte[]>> hbaseColumns)
public static void applyFuzzyFilter(org.apache.hadoop.hbase.client.Scan scan,
List<org.apache.kylin.common.util.Pair<byte[],byte[]>> fuzzyKeys)
protected int getCoprocessorTimeoutMillis()
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.