| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.classloader |
| Modifier and Type | Method and Description |
|---|---|
SchemaTableName |
ConnectorTableMetadata.getTable() |
SchemaTableName |
TableNotFoundException.getTableName() |
SchemaTableName |
ColumnNotFoundException.getTableName() |
SchemaTableName |
ViewNotFoundException.getViewName() |
static SchemaTableName |
SchemaTableName.valueOf(String schemaTableName) |
| Modifier and Type | Method and Description |
|---|---|
Map<SchemaTableName,String> |
ReadOnlyConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix) |
Map<SchemaTableName,String> |
ConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix)
Gets the view data for views that match the specified table prefix.
|
Map<SchemaTableName,List<ColumnMetadata>> |
ConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix)
Gets the metadata for all columns that match the specified table prefix.
|
List<SchemaTableName> |
ConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull)
List table names, possibly filtered by schema.
|
List<SchemaTableName> |
ReadOnlyConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull) |
List<SchemaTableName> |
ConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull)
List view names, possibly filtered by schema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReadOnlyConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace) |
void |
ConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace)
Create the specified view.
|
void |
ReadOnlyConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName) |
void |
ConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName)
Drop the specified view.
|
ConnectorTableHandle |
ConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName)
Returns a table handle for the specified table name, or null if the connector does not contain the table.
|
boolean |
SchemaTablePrefix.matches(SchemaTableName schemaTableName) |
void |
ReadOnlyConnectorMetadata.renameTable(ConnectorTableHandle tableHandle,
SchemaTableName newTableName) |
void |
ConnectorMetadata.renameTable(ConnectorTableHandle tableHandle,
SchemaTableName newTableName)
Rename the specified table
|
| Modifier and Type | Method and Description |
|---|---|
Map<SchemaTableName,String> |
ClassLoaderSafeConnectorMetadata.getViews(ConnectorSession session,
SchemaTablePrefix prefix) |
Map<SchemaTableName,List<ColumnMetadata>> |
ClassLoaderSafeConnectorMetadata.listTableColumns(ConnectorSession session,
SchemaTablePrefix prefix) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listTables(ConnectorSession session,
String schemaNameOrNull) |
List<SchemaTableName> |
ClassLoaderSafeConnectorMetadata.listViews(ConnectorSession session,
String schemaNameOrNull) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassLoaderSafeConnectorMetadata.createView(ConnectorSession session,
SchemaTableName viewName,
String viewData,
boolean replace) |
void |
ClassLoaderSafeConnectorMetadata.dropView(ConnectorSession session,
SchemaTableName viewName) |
ConnectorTableHandle |
ClassLoaderSafeConnectorMetadata.getTableHandle(ConnectorSession session,
SchemaTableName tableName) |
void |
ClassLoaderSafeConnectorMetadata.renameTable(ConnectorTableHandle tableHandle,
SchemaTableName newTableName) |
Copyright © 2012-2015. All Rights Reserved.