public class ObserverEnabler extends Object
| Constructor and Description |
|---|
ObserverEnabler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableCoprocessorIfBeneficial(org.apache.kylin.cube.CubeInstance cube,
Collection<org.apache.kylin.metadata.model.TblColRef> groupBy,
Collection<RowValueDecoder> rowValueDecoders,
org.apache.kylin.storage.StorageContext context) |
static void |
forceCoprocessorOff() |
static void |
forceCoprocessorOn() |
static void |
forceCoprocessorUnset() |
static Map<String,Boolean> |
getCubeOverrides() |
static String |
getForceCoprocessor() |
static org.apache.hadoop.hbase.client.ResultScanner |
scanWithCoprocessorIfBeneficial(org.apache.kylin.cube.CubeSegment segment,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
org.apache.kylin.metadata.filter.TupleFilter tupleFiler,
Collection<org.apache.kylin.metadata.model.TblColRef> groupBy,
Collection<RowValueDecoder> rowValueDecoders,
org.apache.kylin.storage.StorageContext context,
org.apache.hadoop.hbase.client.HTableInterface table,
org.apache.hadoop.hbase.client.Scan scan) |
static void |
updateCubeOverride(String cubeName,
String force) |
public static org.apache.hadoop.hbase.client.ResultScanner scanWithCoprocessorIfBeneficial(org.apache.kylin.cube.CubeSegment segment,
org.apache.kylin.cube.cuboid.Cuboid cuboid,
org.apache.kylin.metadata.filter.TupleFilter tupleFiler,
Collection<org.apache.kylin.metadata.model.TblColRef> groupBy,
Collection<RowValueDecoder> rowValueDecoders,
org.apache.kylin.storage.StorageContext context,
org.apache.hadoop.hbase.client.HTableInterface table,
org.apache.hadoop.hbase.client.Scan scan)
throws IOException
IOExceptionpublic static void enableCoprocessorIfBeneficial(org.apache.kylin.cube.CubeInstance cube,
Collection<org.apache.kylin.metadata.model.TblColRef> groupBy,
Collection<RowValueDecoder> rowValueDecoders,
org.apache.kylin.storage.StorageContext context)
public static void forceCoprocessorOn()
public static void forceCoprocessorOff()
public static String getForceCoprocessor()
public static void forceCoprocessorUnset()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.