public class MetaToolTaskMetadataSummary extends Object
| Constructor and Description |
|---|
MetaToolTaskMetadataSummary() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportInCsv(List<MetadataTableSummary> metadataTableSummaryList,
String filename)
Exporting the MetadataSummary in JSON format.
|
void |
exportInJson(List<MetadataTableSummary> tableSummaryList,
String filename)
Exporting the MetadataSummary in JSON format.
|
protected org.apache.hadoop.hive.metastore.tools.metatool.HiveMetaToolCommandLine |
getCl() |
protected ObjectStore |
getObjectStore() |
void |
printToConsole(List<MetadataTableSummary> tableSummariesList)
Exporting the MetadataSummary in CONSOLE.
|
public void exportInJson(List<MetadataTableSummary> tableSummaryList, String filename) throws IOException
tableSummaryList - filename - fully qualified path of the output fileIOExceptionpublic void printToConsole(List<MetadataTableSummary> tableSummariesList)
tableSummariesList - public void exportInCsv(List<MetadataTableSummary> metadataTableSummaryList, String filename) throws IOException
metadataTableSummaryList - List of Summary Objects to be printedfilename - Fully qualified name of the output fileIOExceptionprotected ObjectStore getObjectStore()
protected org.apache.hadoop.hive.metastore.tools.metatool.HiveMetaToolCommandLine getCl()
Copyright © 2024 The Apache Software Foundation. All rights reserved.