public final class HiveMaterializedViewsRegistry extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.plan.RelOptMaterialization |
createMaterializedView(HiveConf conf,
Table materializedViewTable)
Adds a newly created materialized view to the cache.
|
void |
dropMaterializedView(String dbName,
String tableName)
Removes the materialized view from the cache.
|
void |
dropMaterializedView(Table materializedViewTable)
Removes the materialized view from the cache.
|
static HiveMaterializedViewsRegistry |
get()
Get instance of HiveMaterializedViewsRegistry.
|
void |
init()
Initialize the registry for the given database.
|
void |
init(Hive db) |
boolean |
isInitialized() |
public static HiveMaterializedViewsRegistry get()
public void init()
public void init(Hive db)
public boolean isInitialized()
public org.apache.calcite.plan.RelOptMaterialization createMaterializedView(HiveConf conf, Table materializedViewTable)
materializedViewTable
- the materialized viewpublic void dropMaterializedView(Table materializedViewTable)
materializedViewTable
- the materialized view to removeCopyright © 2022 The Apache Software Foundation. All rights reserved.