| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.connector | |
| com.facebook.presto.spi.connector.classloader |
| Modifier and Type | Method and Description |
|---|---|
ConnectorTableMetadata |
SystemTable.getTableMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static InMemoryRecordSet.Builder |
InMemoryRecordSet.builder(ConnectorTableMetadata tableMetadata) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorTableMetadata |
ConnectorMetadata.getTableMetadata(ConnectorSession session,
ConnectorTableHandle table)
Return the metadata for the specified table handle.
|
| Modifier and Type | Method and Description |
|---|---|
default ConnectorOutputTableHandle |
ConnectorMetadata.beginCreateTable(ConnectorSession session,
ConnectorTableMetadata tableMetadata,
Optional<ConnectorNewTableLayout> layout)
Begin the atomic creation of a table with data.
|
default void |
ConnectorMetadata.createMaterializedView(ConnectorSession session,
ConnectorTableMetadata viewMetadata,
ConnectorMaterializedViewDefinition viewDefinition,
boolean ignoreExisting)
Create the specified materialized view.
|
default void |
ConnectorMetadata.createTable(ConnectorSession session,
ConnectorTableMetadata tableMetadata,
boolean ignoreExisting)
Creates a table using the specified table metadata.
|
default void |
ConnectorMetadata.createView(ConnectorSession session,
ConnectorTableMetadata viewMetadata,
String viewData,
boolean replace)
Create the specified view.
|
default Optional<ConnectorNewTableLayout> |
ConnectorMetadata.getNewTableLayout(ConnectorSession session,
ConnectorTableMetadata tableMetadata)
Get the physical layout for a new table.
|
default Optional<ConnectorNewTableLayout> |
ConnectorMetadata.getPreferredShuffleLayoutForNewTable(ConnectorSession session,
ConnectorTableMetadata tableMetadata)
A connector can have preferred shuffle layout for table write.
|
default TableStatisticsMetadata |
ConnectorMetadata.getStatisticsCollectionMetadata(ConnectorSession session,
ConnectorTableMetadata tableMetadata)
Describe statistics that must be collected during a statistics collection
|
default TableStatisticsMetadata |
ConnectorMetadata.getStatisticsCollectionMetadataForWrite(ConnectorSession session,
ConnectorTableMetadata tableMetadata)
Describes statistics that must be collected during a write.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectorTableMetadata |
ClassLoaderSafeConnectorMetadata.getTableMetadata(ConnectorSession session,
ConnectorTableHandle table) |
Copyright © 2012–2022. All rights reserved.