public class CubeHTableUtil extends Object
| Constructor and Description |
|---|
CubeHTableUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createBenchmarkHTable(org.apache.hadoop.hbase.TableName tableName,
String cfName)
create a HTable that has the same performance settings as normal cube table, for benchmark purpose
|
static org.apache.hadoop.hbase.HColumnDescriptor |
createColumnFamily(org.apache.kylin.common.KylinConfig kylinConfig,
String cfName,
boolean isMemoryHungry) |
static void |
createHTable(org.apache.kylin.cube.CubeSegment cubeSegment,
byte[][] splitKeys) |
static void |
deleteHTable(org.apache.hadoop.hbase.TableName tableName) |
public static void createHTable(org.apache.kylin.cube.CubeSegment cubeSegment,
byte[][] splitKeys)
throws IOException
IOExceptionpublic static void deleteHTable(org.apache.hadoop.hbase.TableName tableName)
throws IOException
IOExceptionpublic static void createBenchmarkHTable(org.apache.hadoop.hbase.TableName tableName,
String cfName)
throws IOException
IOExceptionpublic static org.apache.hadoop.hbase.HColumnDescriptor createColumnFamily(org.apache.kylin.common.KylinConfig kylinConfig,
String cfName,
boolean isMemoryHungry)
Copyright © 2014–2017 Apache Software Foundation. All rights reserved.