public class MaterializedViewMetadata extends Object
| Constructor and Description |
|---|
MaterializedViewMetadata(String catalogName,
String dbName,
String mvName,
Set<org.apache.hadoop.hive.metastore.api.SourceTable> sourceTables,
MaterializationSnapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaterializationTime() |
MaterializationSnapshot |
getSnapshot()
Get the snapshot data of the materialized view source tables stored in HMS.
|
Set<String> |
getSourceTableFullNames() |
Set<TableName> |
getSourceTableNames() |
Collection<org.apache.hadoop.hive.metastore.api.SourceTable> |
getSourceTables() |
MaterializedViewMetadata |
reset(MaterializationSnapshot snapshot) |
public MaterializedViewMetadata(String catalogName, String dbName, String mvName, Set<org.apache.hadoop.hive.metastore.api.SourceTable> sourceTables, MaterializationSnapshot snapshot)
public Collection<org.apache.hadoop.hive.metastore.api.SourceTable> getSourceTables()
public MaterializationSnapshot getSnapshot()
MaterializationSnapshot object or null if the wrapped CreationMetadata object
does not contain snapshot datapublic long getMaterializationTime()
public MaterializedViewMetadata reset(MaterializationSnapshot snapshot)
Copyright © 2022 The Apache Software Foundation. All rights reserved.