|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cube.metadata.CubeMetastoreClient
public class CubeMetastoreClient
Wrapper class around Hive metastore to do cube metastore operations.
Method Summary | |
---|---|
void |
addPartition(StoragePartitionDesc partSpec,
String storageName)
Add a partition specified by the storage partition desc on the storage passed. |
void |
addPartitions(List<StoragePartitionDesc> storagePartitionDescs,
String storageName)
|
void |
addStorage(CubeDimensionTable dim,
String storage,
UpdatePeriod dumpPeriod,
StorageTableDesc storageTableDesc)
Adds storage to dimension and creates corresponding storage table |
void |
addStorage(CubeFactTable fact,
String storage,
Set<UpdatePeriod> updatePeriods,
StorageTableDesc storageTableDesc)
Adds storage to fact and creates corresponding storage table |
void |
alterCube(String cubeName,
CubeInterface cube)
Alter cube specified by the name to new definition |
void |
alterCubeDimensionTable(String dimTableName,
CubeDimensionTable cubeDimensionTable)
Alter dimension table with new dimension definition |
void |
alterCubeFactTable(String factTableName,
CubeFactTable cubeFactTable)
Alter a cubefact with new definition |
void |
alterDimension(String dimName,
Dimension newDim)
Alter dimension specified by the dimension name to new definition |
void |
alterStorage(String storageName,
Storage storage)
Alter storage specified by the name to new definition |
static void |
close()
Close the current metastore client |
void |
createCube(CubeInterface cube)
Create cube in metastore defined by Cube or DerivedCube object |
void |
createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions)
Create cube defined by measures and dimensions |
void |
createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties |
void |
createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Set<ExprColumn> expressions,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties |
void |
createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Set<ExprColumn> expressions,
Set<JoinChain> chains,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties |
void |
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 |
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 |
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 |
createCubeTable(AbstractCubeTable cubeTable,
Map<String,StorageTableDesc> storageTableDescs)
Create cube table defined and create all the corresponding storage tables |
void |
createDerivedCube(String parent,
String name,
Set<String> measures,
Set<String> dimensions,
Map<String,String> properties,
double weight)
Create derived cube defined by measures, dimensions and properties |
void |
createDimension(Dimension dim)
Create dimension in metastore defined by Dimension object |
void |
createDimension(String name,
Set<CubeDimAttribute> attributes,
Map<String,String> properties,
double weight)
Create dimension defined by attributes and properties |
void |
createStorage(Storage storage)
|
void |
dropCube(String cubeName)
Drop a cube |
void |
dropDimension(String dimName)
Drop a dimension |
void |
dropDimensionTable(String dimTblName,
boolean cascade)
Drop the dimension table |
void |
dropFact(String factName,
boolean cascade)
Drop a fact with cascade flag |
void |
dropHiveTable(String table)
|
void |
dropPartition(String cubeTableName,
String storageName,
Map<String,Date> timePartSpec,
Map<String,String> nonTimePartSpec,
UpdatePeriod updatePeriod)
Add a partition specified by the storage partition desc on the storage passed. |
void |
dropStorage(String storageName)
Drop a storage |
void |
dropStorageFromDim(String dimTblName,
String storage)
Drop a storage from dimension |
void |
dropStorageFromFact(String factName,
String storage)
Drop a storage from fact |
List<CubeInterface> |
getAllCubes()
Get all cubes in metastore |
List<DerivedCube> |
getAllDerivedCubes(CubeInterface cube)
Get all derived cubes of the cube. |
List<DerivedCube> |
getAllDerivedQueryableCubes(CubeInterface cube)
Get all derived cubes of the cube, that have all fields queryable together |
List<Dimension> |
getAllDimensions()
Get all cubes in metastore |
List<CubeDimensionTable> |
getAllDimensionTables()
Get all dimension tables in metastore |
List<CubeDimensionTable> |
getAllDimensionTables(Dimension dim)
Get all dimension tables of the dimension. |
List<CubeFactTable> |
getAllFacts()
Get all facts in metastore |
List<CubeFactTable> |
getAllFactTables(CubeInterface cube)
Get all fact tables of the cube. |
List<org.apache.hadoop.hive.ql.metadata.Partition> |
getAllParts(String storageTableName)
|
List<Storage> |
getAllStorages()
Get all storages in metastore |
org.apache.hadoop.hive.conf.HiveConf |
getConf()
Get cube metastore client conf |
CubeInterface |
getCube(String tableName)
Get Cube object corresponding to the name |
CubeFactTable |
getCubeFact(String tableName)
Get Cube object corresponding to the name |
Dimension |
getDimension(String tableName)
Get Cube object corresponding to the name |
CubeDimensionTable |
getDimensionTable(String tableName)
Get CubeDimensionTable object corresponding to the name |
CubeFactTable |
getFactTable(String tableName)
Get CubeFactTable object corresponding to the name |
org.apache.hadoop.hive.ql.metadata.Table |
getHiveTable(String tableName)
Get the hive Table corresponding to the name |
static CubeMetastoreClient |
getInstance(org.apache.hadoop.hive.conf.HiveConf conf)
Get the instance of CubeMetastoreClient corresponding to HiveConf |
Date |
getLatestTimeStamp(org.apache.hadoop.hive.ql.metadata.Partition part,
String partCol)
|
int |
getNumPartitionsByFilter(String storageTableName,
String filter)
|
List<String> |
getPartColNames(String tableName)
|
List<org.apache.hadoop.hive.ql.metadata.Partition> |
getPartitionsByFilter(String storageTableName,
String filter)
|
SchemaGraph |
getSchemaGraph()
|
Storage |
getStorage(String storageName)
Get Storage object corresponding to the name |
boolean |
isCube(String tableName)
Is the table name passed a cube? |
boolean |
isDimension(String tableName)
Is the table name passed a dimension? |
boolean |
isDimensionTable(String tableName)
Is the table name passed a dimension table? |
boolean |
isFactTable(String tableName)
Is the table name passed a fact table? |
boolean |
isStorage(String tableName)
Is the table name passed a storage? |
boolean |
partColExists(String tableName,
String partCol)
|
boolean |
partitionExists(String storageTableName,
UpdatePeriod updatePeriod,
Map<String,Date> partitionTimestamps)
|
boolean |
partitionExistsByFilter(String storageTableName,
String filter)
|
boolean |
tableExists(String cubeName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CubeMetastoreClient getInstance(org.apache.hadoop.hive.conf.HiveConf conf) throws org.apache.hadoop.hive.ql.metadata.HiveException
CubeMetastoreClient
corresponding to HiveConf
conf
-
org.apache.hadoop.hive.ql.metadata.HiveException
public org.apache.hadoop.hive.conf.HiveConf getConf()
public static void close()
public void createStorage(Storage storage) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCube(CubeInterface cube) throws org.apache.hadoop.hive.ql.metadata.HiveException
Cube
or DerivedCube
object
cube
- the Cube
object.
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCube(String name, Set<CubeMeasure> measures, Set<CubeDimAttribute> dimensions) throws org.apache.hadoop.hive.ql.metadata.HiveException
name
- Name of the cubemeasures
- Measures of the cubedimensions
- Dimensions of the cube
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCube(String name, Set<CubeMeasure> measures, Set<CubeDimAttribute> dimensions, Map<String,String> properties) throws org.apache.hadoop.hive.ql.metadata.HiveException
name
- Name of the cubemeasures
- Measures of the cubedimensions
- Dimensions of the cubeproperties
- Properties of the cube
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCube(String name, Set<CubeMeasure> measures, Set<CubeDimAttribute> dimensions, Set<ExprColumn> expressions, Map<String,String> properties) throws org.apache.hadoop.hive.ql.metadata.HiveException
name
- Name of the cubemeasures
- Measures of the cubedimensions
- Dimensions of the cubeproperties
- Properties of the cube
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCube(String name, Set<CubeMeasure> measures, Set<CubeDimAttribute> dimensions, Set<ExprColumn> expressions, Set<JoinChain> chains, Map<String,String> properties) throws org.apache.hadoop.hive.ql.metadata.HiveException
name
- Name of the cubemeasures
- Measures of the cubedimensions
- Dimensions of the cubeexpressions
- Expressions of the cubechains
- JoinChains of the cubeproperties
- Properties of the cube
org.apache.hadoop.hive.ql.metadata.HiveException
public void createDimension(String name, Set<CubeDimAttribute> attributes, Map<String,String> properties, double weight) throws org.apache.hadoop.hive.ql.metadata.HiveException
name
- Name of the dimensionattributes
- Attributes of the dimensionproperties
- Properties of the dimensionweight
- Weight of the dimension
org.apache.hadoop.hive.ql.metadata.HiveException
public void createDimension(Dimension dim) throws org.apache.hadoop.hive.ql.metadata.HiveException
Dimension
object
dim
- the Dimension
object.
org.apache.hadoop.hive.ql.metadata.HiveException
public void createDerivedCube(String parent, String name, Set<String> measures, Set<String> dimensions, Map<String,String> properties, double weight) throws org.apache.hadoop.hive.ql.metadata.HiveException
parent
- Name of the parent cubename
- Name of the derived cubemeasures
- Measures of the derived cubedimensions
- Dimensions of the derived cubeproperties
- Properties of the derived cubeweight
- Weight of the derived cube
org.apache.hadoop.hive.ql.metadata.HiveException
public void 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) throws org.apache.hadoop.hive.ql.metadata.HiveException
cubeName
- The cube name to which fact belongs to.factName
- The fact namecolumns
- The columns of fact tablestorageAggregatePeriods
- Aggregate periods for the storagesweight
- Weight of the cubeproperties
- Properties of fact tablestorageTableDescs
- Map of storage to its storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void 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) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimName
- The dimension name to which the dim-table belongs todimTblName
- dimension table namecolumns
- Columns of the dimension tableweight
- Weight of the dimension tablestorageNames
- Storages on which dimension is available without any dumpsproperties
- Properties of dimension tablestorageTableDescs
- Map of storage to its storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void 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) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimName
- The dimension name to which the dim-table belongs todimTblName
- dimension table namecolumns
- Columns of the dimension tableweight
- Weight of the dimension tabledumpPeriods
- Storage names and their dump periods on which dimension is availableproperties
- properties of dimension tablestorageTableDescs
- Map of storage to its storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void createCubeTable(AbstractCubeTable cubeTable, Map<String,StorageTableDesc> storageTableDescs) throws org.apache.hadoop.hive.ql.metadata.HiveException
cubeTable
- Can be fact or dimension tablestorageTableDescs
- Map of storage to its storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void addStorage(CubeFactTable fact, String storage, Set<UpdatePeriod> updatePeriods, StorageTableDesc storageTableDesc) throws org.apache.hadoop.hive.ql.metadata.HiveException
fact
- The CubeFactTablestorage
- The storageupdatePeriods
- Update periods of the fact on the storagestorageTableDesc
- The storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void addStorage(CubeDimensionTable dim, String storage, UpdatePeriod dumpPeriod, StorageTableDesc storageTableDesc) throws org.apache.hadoop.hive.ql.metadata.HiveException
dim
- The CubeDimensionTablestorage
- The storagedumpPeriod
- The dumpPeriod if any, null otherwisestorageTableDesc
- The storage table description
org.apache.hadoop.hive.ql.metadata.HiveException
public void addPartition(StoragePartitionDesc partSpec, String storageName) throws org.apache.hadoop.hive.ql.metadata.HiveException
partSpec
- The storage partition descriptionstorageName
- The storage object
org.apache.hadoop.hive.ql.metadata.HiveException
public void addPartitions(List<StoragePartitionDesc> storagePartitionDescs, String storageName) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public Date getLatestTimeStamp(org.apache.hadoop.hive.ql.metadata.Partition part, String partCol) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropPartition(String cubeTableName, String storageName, Map<String,Date> timePartSpec, Map<String,String> nonTimePartSpec, UpdatePeriod updatePeriod) throws org.apache.hadoop.hive.ql.metadata.HiveException
cubeTableName
- cube fact/dimension table namestorageName
- storage nametimePartSpec
- time partitionsnonTimePartSpec
- non time partitionsupdatePeriod
- update period of the partition
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean tableExists(String cubeName) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean partitionExists(String storageTableName, UpdatePeriod updatePeriod, Map<String,Date> partitionTimestamps) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean partitionExistsByFilter(String storageTableName, String filter) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<org.apache.hadoop.hive.ql.metadata.Partition> getAllParts(String storageTableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<org.apache.hadoop.hive.ql.metadata.Partition> getPartitionsByFilter(String storageTableName, String filter) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public int getNumPartitionsByFilter(String storageTableName, String filter) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException, org.apache.hadoop.hive.ql.metadata.HiveException, org.apache.thrift.TException
org.apache.hadoop.hive.metastore.api.MetaException
org.apache.hadoop.hive.metastore.api.NoSuchObjectException
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.thrift.TException
public org.apache.hadoop.hive.ql.metadata.Table getHiveTable(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
Table
corresponding to the name
tableName
-
Table
object
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropHiveTable(String table) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean isFactTable(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
tableName
- table name
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean isDimensionTable(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
tableName
- table name
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean isCube(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
tableName
- table name
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean isDimension(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
tableName
- table name
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean isStorage(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
tableName
- table name
org.apache.hadoop.hive.ql.metadata.HiveException
public CubeFactTable getFactTable(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
CubeFactTable
object corresponding to the name
tableName
- The cube fact name
org.apache.hadoop.hive.ql.metadata.HiveException
public CubeDimensionTable getDimensionTable(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
CubeDimensionTable
object corresponding to the name
tableName
- The cube dimension name
org.apache.hadoop.hive.ql.metadata.HiveException
public Storage getStorage(String storageName) throws org.apache.hadoop.hive.ql.metadata.HiveException
Storage
object corresponding to the name
storageName
- The storage name
org.apache.hadoop.hive.ql.metadata.HiveException
public CubeInterface getCube(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
Cube
object corresponding to the name
tableName
- The cube name
org.apache.hadoop.hive.ql.metadata.HiveException
public Dimension getDimension(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
Cube
object corresponding to the name
tableName
- The cube name
org.apache.hadoop.hive.ql.metadata.HiveException
public CubeFactTable getCubeFact(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
Cube
object corresponding to the name
tableName
- The cube name
org.apache.hadoop.hive.ql.metadata.HiveException
public List<CubeDimensionTable> getAllDimensionTables() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<Storage> getAllStorages() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<CubeInterface> getAllCubes() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<Dimension> getAllDimensions() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<CubeFactTable> getAllFacts() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public List<CubeFactTable> getAllFactTables(CubeInterface cube) throws org.apache.hadoop.hive.ql.metadata.HiveException
cube
- Cube object
org.apache.hadoop.hive.ql.metadata.HiveException
public List<DerivedCube> getAllDerivedCubes(CubeInterface cube) throws org.apache.hadoop.hive.ql.metadata.HiveException
cube
- Cube object
org.apache.hadoop.hive.ql.metadata.HiveException
public List<DerivedCube> getAllDerivedQueryableCubes(CubeInterface cube) throws org.apache.hadoop.hive.ql.metadata.HiveException
cube
- Cube object
org.apache.hadoop.hive.ql.metadata.HiveException
public List<CubeDimensionTable> getAllDimensionTables(Dimension dim) throws org.apache.hadoop.hive.ql.metadata.HiveException
dim
- Dimension object
org.apache.hadoop.hive.ql.metadata.HiveException
public List<String> getPartColNames(String tableName) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public boolean partColExists(String tableName, String partCol) throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public SchemaGraph getSchemaGraph() throws org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.metadata.HiveException
public void alterCube(String cubeName, CubeInterface cube) throws org.apache.hadoop.hive.ql.metadata.HiveException
cubeName
- The cube name to be alteredcube
- The new cube definition Cube
or DerivedCube
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
public void alterDimension(String dimName, Dimension newDim) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimName
- The cube name to be alterednewDim
- The new dimension definition
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
public void alterStorage(String storageName, Storage storage) throws org.apache.hadoop.hive.ql.metadata.HiveException
storageName
- The storage name to be alteredstorage
- The new storage definition
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
public void dropStorage(String storageName) throws org.apache.hadoop.hive.ql.metadata.HiveException
storageName
-
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropCube(String cubeName) throws org.apache.hadoop.hive.ql.metadata.HiveException
cubeName
-
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropDimension(String dimName) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimName
- dimension name to be dropped
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropFact(String factName, boolean cascade) throws org.apache.hadoop.hive.ql.metadata.HiveException
factName
- cascade
- If true, will drop all the storages of the fact
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropStorageFromFact(String factName, String storage) throws org.apache.hadoop.hive.ql.metadata.HiveException
factName
- storage
-
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
public void dropStorageFromDim(String dimTblName, String storage) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimTblName
- storage
-
org.apache.hadoop.hive.ql.metadata.HiveException
public void dropDimensionTable(String dimTblName, boolean cascade) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimTblName
- cascade
- If true, will drop all the dimension storages
org.apache.hadoop.hive.ql.metadata.HiveException
public void alterCubeFactTable(String factTableName, CubeFactTable cubeFactTable) throws org.apache.hadoop.hive.ql.metadata.HiveException
factTableName
- cubeFactTable
-
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
public void alterCubeDimensionTable(String dimTableName, CubeDimensionTable cubeDimensionTable) throws org.apache.hadoop.hive.ql.metadata.HiveException
dimTableName
- cubeDimensionTable
-
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.metastore.api.InvalidOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |