@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface IMetaStoreMetadataTransformer
| Modifier and Type | Method and Description |
|---|---|
Map<Table,List<String>> |
transform(List<Table> tables,
List<String> processorCapabilities,
String processorId) |
Table |
transformAlterTable(Table oldTable,
Table newTable,
List<String> processorCapabilities,
String processorId) |
Table |
transformCreateTable(Table table,
List<String> processorCapabilities,
String processorId) |
Database |
transformDatabase(Database db,
List<String> processorCapabilities,
String processorId) |
List<Partition> |
transformPartitions(List<Partition> parts,
Table table,
List<String> processorCapabilities,
String processorId) |
Map<Table,List<String>> transform(List<Table> tables, List<String> processorCapabilities, String processorId) throws MetaException
tables - A list of tables to be transformed.processorCapabilities - A array of String capabilities received from the data processorprocessorId - String ID used for logging purpose.MetaExceptionList<Partition> transformPartitions(List<Partition> parts, Table table, List<String> processorCapabilities, String processorId) throws MetaException
parts - A list of Partition objects to be transformedprocessorCapabilities - A array of String capabilities received from the data processorprocessorId - String ID used for logging purpose.MetaExceptionTable transformCreateTable(Table table, List<String> processorCapabilities, String processorId) throws MetaException
table - A table object to be transformed prior to the creation of the tableprocessorCapabilities - A array of String capabilities received from the data processorprocessorId - String ID used for logging purpose.MetaExceptionDatabase transformDatabase(Database db, List<String> processorCapabilities, String processorId) throws MetaException
db - A database object to be transformed, mainly db locationprocessorCapabilities - A array of String capabilities received from the data processorprocessorId - String ID used for logging purpose.MetaExceptionTable transformAlterTable(Table oldTable, Table newTable, List<String> processorCapabilities, String processorId) throws MetaException
oldTable - A table object to be transformed prior to the alteration of a tableprocessorCapabilities - A array of String capabilities received from the data processorprocessorId - String ID used for logging purpose.MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.