Package io.trino.connector.system
Interface SystemTablesProvider
-
- All Known Implementing Classes:
CoordinatorSystemTablesProvider,StaticSystemTablesProvider
public interface SystemTablesProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<SystemTable>getSystemTable(ConnectorSession session, SchemaTableName tableName)Resolves table name.Set<SystemTable>listSystemTables(ConnectorSession session)
-
-
-
Method Detail
-
listSystemTables
Set<SystemTable> listSystemTables(ConnectorSession session)
-
getSystemTable
Optional<SystemTable> getSystemTable(ConnectorSession session, SchemaTableName tableName)
Resolves table name. ReturnsOptional.empty()if table is not found. Some tables which are not part of set returned bylistSystemTables(ConnectorSession)can still be validly resolved.
-
-