Package | Description |
---|---|
org.apache.lens.cube.metadata | |
org.apache.lens.server.metastore |
Modifier and Type | Method and Description |
---|---|
void |
CubeMetastoreClient.addStorage(CubeDimensionTable dim,
String storage,
UpdatePeriod dumpPeriod,
StorageTableDesc storageTableDesc)
Adds storage to dimension and creates corresponding storage table
|
void |
CubeMetastoreClient.addStorage(CubeFactTable fact,
String storage,
Set<UpdatePeriod> updatePeriods,
StorageTableDesc storageTableDesc)
Adds storage to fact and creates corresponding storage table
|
org.apache.hadoop.hive.ql.metadata.Table |
Storage.getStorageTable(org.apache.hadoop.hive.ql.metadata.Hive client,
org.apache.hadoop.hive.ql.metadata.Table parent,
StorageTableDesc crtTbl)
Get the storage table descriptor for the given parent table.
|
Modifier and Type | Method and Description |
---|---|
void |
CubeMetastoreClient.alterCubeDimensionTable(String dimTableName,
CubeDimensionTable cubeDimensionTable,
Map<String,StorageTableDesc> storageTableDescs)
Alter dimension table with new dimension definition and underlying storage tables as well
|
void |
CubeMetastoreClient.alterCubeFactTable(String factTableName,
CubeFactTable cubeFactTable,
Map<String,StorageTableDesc> storageTableDescs)
Alter a cubefact with new definition and alter underlying storage tables as well.
|
void |
CubeMetastoreClient.createCubeDimensionTable(String dimName,
String dimTblName,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns,
double weight,
Map<String,UpdatePeriod> dumpPeriods,
Map<String,String> properties,
Map<String,StorageTableDesc> storageTableDescs)
Create a cube dimension table
|
void |
CubeMetastoreClient.createCubeDimensionTable(String dimName,
String dimTblName,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns,
double weight,
Set<String> storageNames,
Map<String,String> properties,
Map<String,StorageTableDesc> storageTableDescs)
Create a cube dimension table
|
void |
CubeMetastoreClient.createCubeFactTable(String cubeName,
String factName,
List<org.apache.hadoop.hive.metastore.api.FieldSchema> columns,
Map<String,Set<UpdatePeriod>> storageAggregatePeriods,
double weight,
Map<String,String> properties,
Map<String,StorageTableDesc> storageTableDescs)
Create a cube fact table
|
void |
CubeMetastoreClient.createCubeTable(AbstractCubeTable cubeTable,
Map<String,StorageTableDesc> storageTableDescs)
Create cube table defined and create all the corresponding storage tables
|
Modifier and Type | Method and Description |
---|---|
static StorageTableDesc |
JAXBUtils.storageTableDescFromXStorageTableDesc(XStorageTableDesc xtableDesc) |
static StorageTableDesc |
JAXBUtils.storageTableDescFromXStorageTableElement(XStorageTableElement storageTableElement) |
Modifier and Type | Method and Description |
---|---|
static Map<String,StorageTableDesc> |
JAXBUtils.storageTableMapFromXStorageTables(XStorageTables storageTables) |
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.