public class HudiMetadata extends Object implements ConnectorMetadata
| Constructor and Description |
|---|
HudiMetadata(ExtendedHiveMetastore metastore,
HdfsEnvironment hdfsEnvironment,
TypeManager typeManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddColumn, beginCreateTable, beginDelete, beginInsert, beginQuery, beginRefreshMaterializedView, beginStatisticsCollection, beginUpdate, cleanupQuery, commitPageSinkAsync, commitPageSinkAsync, createMaterializedView, createRole, createSchema, createTable, createTemporaryTable, createView, doMetadataUpdateCleanup, dropColumn, dropMaterializedView, dropRole, dropSchema, dropTable, dropView, finishCreateTable, finishDelete, finishInsert, finishRefreshMaterializedView, finishStatisticsCollection, finishUpdate, getAlternativeLayoutHandle, getCommonPartitioningHandle, getDeleteRowIdColumnHandle, getInfo, getInsertLayout, getMaterializedView, getMaterializedViewStatus, getMaterializedViewStatus, getMetadataUpdateResults, getNewTableLayout, getPartitioningHandleForCteMaterialization, getPartitioningHandleForExchange, getPreferredShuffleLayoutForInsert, getPreferredShuffleLayoutForNewTable, getReferencedMaterializedViews, getStatisticsCollectionMetadata, getStatisticsCollectionMetadataForWrite, getTableHandle, getTableHandleForStatisticsCollection, getTableLayoutFilterCoverage, getTableStatistics, getUpdateRowIdColumnHandle, getViews, grantRoles, grantTablePrivileges, isLegacyGetLayoutSupported, isRefinedPartitioningOver, listApplicableRoles, listEnabledRoles, listRoleGrants, listRoles, listTablePrivileges, listTables, listViews, listViews, metadataDelete, renameColumn, renameSchema, renameTable, resolveIndex, revokeRoles, revokeTablePrivileges, schemaExists, supportsMetadataDelete, toExplainIOConstraints, truncateTablepublic HudiMetadata(ExtendedHiveMetastore metastore, HdfsEnvironment hdfsEnvironment, TypeManager typeManager)
public List<String> listSchemaNames(ConnectorSession session)
listSchemaNames in interface ConnectorMetadatapublic ConnectorTableHandle getTableHandle(ConnectorSession session, SchemaTableName tableName)
getTableHandle in interface ConnectorMetadatapublic Optional<SystemTable> getSystemTable(ConnectorSession session, SchemaTableName tableName)
getSystemTable in interface ConnectorMetadatapublic List<ConnectorTableLayoutResult> getTableLayouts(ConnectorSession session, ConnectorTableHandle tableHandle, Constraint<ColumnHandle> constraint, Optional<Set<ColumnHandle>> desiredColumns)
getTableLayouts in interface ConnectorMetadatapublic ConnectorTableLayout getTableLayout(ConnectorSession session, ConnectorTableLayoutHandle handle)
getTableLayout in interface ConnectorMetadatapublic ConnectorTableMetadata getTableMetadata(ConnectorSession session, ConnectorTableHandle table)
getTableMetadata in interface ConnectorMetadatapublic List<SchemaTableName> listTables(ConnectorSession session, Optional<String> schemaName)
listTables in interface ConnectorMetadatapublic Map<String,ColumnHandle> getColumnHandles(ConnectorSession session, ConnectorTableHandle tableHandle)
getColumnHandles in interface ConnectorMetadatapublic ColumnMetadata getColumnMetadata(ConnectorSession session, ConnectorTableHandle tableHandle, ColumnHandle columnHandle)
getColumnMetadata in interface ConnectorMetadatapublic Map<SchemaTableName,List<ColumnMetadata>> listTableColumns(ConnectorSession session, SchemaTablePrefix prefix)
listTableColumns in interface ConnectorMetadatapublic ExtendedHiveMetastore getMetastore()
public static MetastoreContext toMetastoreContext(ConnectorSession session)
Copyright © 2012–2024. All rights reserved.