public final class HiveMaterializedViewsRegistry extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.plan.RelOptMaterialization |
addMaterializedView(Table materializedViewTable)
Adds the materialized view to the cache.
|
void |
dropMaterializedView(Table materializedViewTable)
Removes the materialized view from the cache.
|
static HiveMaterializedViewsRegistry |
get()
Get instance of HiveMaterializedViewsRegistry.
|
void |
init(Hive db)
Initialize the registry for the given database.
|
public static HiveMaterializedViewsRegistry get()
public void init(Hive db)
public org.apache.calcite.plan.RelOptMaterialization addMaterializedView(Table materializedViewTable)
materializedViewTable
- the materialized viewpublic void dropMaterializedView(Table materializedViewTable)
materializedViewTable
- the materialized view to removeCopyright © 2021 The Apache Software Foundation. All rights reserved.