public class ElasticsearchMetadata extends Object implements ConnectorMetadata
| Constructor and Description |
|---|
ElasticsearchMetadata(TypeManager typeManager,
ElasticsearchClient client,
ElasticsearchConfig config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddColumn, beginCreateTable, beginDelete, beginInsert, beginQuery, beginRefreshMaterializedView, beginStatisticsCollection, cleanupQuery, commitPageSinkAsync, commitPageSinkAsync, createMaterializedView, createRole, createSchema, createTable, createTemporaryTable, createView, doMetadataUpdateCleanup, dropColumn, dropMaterializedView, dropRole, dropSchema, dropTable, dropView, finishCreateTable, finishDelete, finishInsert, finishRefreshMaterializedView, finishStatisticsCollection, getAlternativeLayoutHandle, getCommonPartitioningHandle, getInfo, getInsertLayout, getMaterializedView, getMaterializedViewStatus, getMaterializedViewStatus, getMetadataUpdateResults, getNewTableLayout, getPartitioningHandleForExchange, getPreferredShuffleLayoutForInsert, getPreferredShuffleLayoutForNewTable, getReferencedMaterializedViews, getStatisticsCollectionMetadata, getStatisticsCollectionMetadataForWrite, getSystemTable, 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, truncateTable@Inject public ElasticsearchMetadata(TypeManager typeManager, ElasticsearchClient client, ElasticsearchConfig config)
public List<String> listSchemaNames(ConnectorSession session)
listSchemaNames in interface ConnectorMetadatapublic ElasticsearchTableHandle getTableHandle(ConnectorSession session, SchemaTableName tableName)
getTableHandle in interface ConnectorMetadatapublic List<ConnectorTableLayoutResult> getTableLayouts(ConnectorSession session, ConnectorTableHandle table, 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 ConnectorMetadataCopyright © 2012–2023. All rights reserved.