| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.connector | |
| com.facebook.presto.spi.connector.classloader |
| Modifier and Type | Method and Description |
|---|---|
ConnectorTableLayoutHandle |
ConnectorTableLayout.getHandle() |
| Modifier and Type | Method and Description |
|---|---|
Optional<ConnectorTableLayoutHandle> |
TableHandle.getLayout() |
Class<? extends ConnectorTableLayoutHandle> |
ConnectorHandleResolver.getTableLayoutHandleClass() |
| Constructor and Description |
|---|
ConnectorTableLayout(ConnectorTableLayoutHandle handle) |
ConnectorTableLayout(ConnectorTableLayoutHandle handle,
Optional<List<ColumnHandle>> columns,
TupleDomain<ColumnHandle> predicate,
Optional<ConnectorTablePartitioning> tablePartitioning,
Optional<Set<ColumnHandle>> streamPartitioningColumns,
Optional<DiscretePredicates> discretePredicates,
List<LocalProperty<ColumnHandle>> localProperties) |
ConnectorTableLayout(ConnectorTableLayoutHandle handle,
Optional<List<ColumnHandle>> columns,
TupleDomain<ColumnHandle> predicate,
Optional<ConnectorTablePartitioning> tablePartitioning,
Optional<Set<ColumnHandle>> streamPartitioningColumns,
Optional<DiscretePredicates> discretePredicates,
List<LocalProperty<ColumnHandle>> localProperties,
Optional<RowExpression> remainingPredicate) |
| Constructor and Description |
|---|
TableHandle(ConnectorId connectorId,
ConnectorTableHandle connectorHandle,
ConnectorTransactionHandle transaction,
Optional<ConnectorTableLayoutHandle> layout) |
TableHandle(ConnectorId connectorId,
ConnectorTableHandle connectorHandle,
ConnectorTransactionHandle transaction,
Optional<ConnectorTableLayoutHandle> layout,
Optional<Supplier<TupleDomain<ColumnHandle>>> dynamicFilter) |
| Modifier and Type | Method and Description |
|---|---|
default ConnectorTableLayoutHandle |
ConnectorMetadata.getAlternativeLayoutHandle(ConnectorSession session,
ConnectorTableLayoutHandle tableLayoutHandle,
ConnectorPartitioningHandle partitioningHandle)
Return a table layout handle whose partitioning is converted to the provided partitioning handle,
but otherwise identical to the provided table layout handle.
|
| Modifier and Type | Method and Description |
|---|---|
default ConnectorPageSource |
ConnectorPageSourceProvider.createPageSource(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorSplit split,
ConnectorTableLayoutHandle layout,
List<ColumnHandle> columns,
SplitContext splitContext) |
default ConnectorTableLayoutHandle |
ConnectorMetadata.getAlternativeLayoutHandle(ConnectorSession session,
ConnectorTableLayoutHandle tableLayoutHandle,
ConnectorPartitioningHandle partitioningHandle)
Return a table layout handle whose partitioning is converted to the provided partitioning handle,
but otherwise identical to the provided table layout handle.
|
default Optional<Object> |
ConnectorMetadata.getInfo(ConnectorTableLayoutHandle layoutHandle)
Return the connector-specific metadata for the specified table layout.
|
ConnectorSplitSource |
ConnectorSplitManager.getSplits(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorTableLayoutHandle layout,
ConnectorSplitManager.SplitSchedulingContext splitSchedulingContext) |
ConnectorTableLayout |
ConnectorMetadata.getTableLayout(ConnectorSession session,
ConnectorTableLayoutHandle handle) |
default TableLayoutFilterCoverage |
ConnectorMetadata.getTableLayoutFilterCoverage(ConnectorTableLayoutHandle tableHandle,
Set<String> relevantPartitionColumns) |
default OptionalLong |
ConnectorMetadata.metadataDelete(ConnectorSession session,
ConnectorTableHandle tableHandle,
ConnectorTableLayoutHandle tableLayoutHandle)
Delete the provided table layout
|
| Modifier and Type | Method and Description |
|---|---|
default TableStatistics |
ConnectorMetadata.getTableStatistics(ConnectorSession session,
ConnectorTableHandle tableHandle,
Optional<ConnectorTableLayoutHandle> tableLayoutHandle,
List<ColumnHandle> columnHandles,
Constraint<ColumnHandle> constraint)
Get statistics for table for given columns and filtering constraint.
|
default boolean |
ConnectorMetadata.supportsMetadataDelete(ConnectorSession session,
ConnectorTableHandle tableHandle,
Optional<ConnectorTableLayoutHandle> tableLayoutHandle) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorTableLayoutHandle |
ClassLoaderSafeConnectorMetadata.getAlternativeLayoutHandle(ConnectorSession session,
ConnectorTableLayoutHandle tableLayoutHandle,
ConnectorPartitioningHandle partitioningHandle) |
| Modifier and Type | Method and Description |
|---|---|
TableStatistics |
ClassLoaderSafeConnectorMetadata.getTableStatistics(ConnectorSession session,
ConnectorTableHandle tableHandle,
Optional<ConnectorTableLayoutHandle> tableLayoutHandle,
List<ColumnHandle> columnHandles,
Constraint<ColumnHandle> constraint) |
boolean |
ClassLoaderSafeConnectorMetadata.supportsMetadataDelete(ConnectorSession session,
ConnectorTableHandle tableHandle,
Optional<ConnectorTableLayoutHandle> tableLayoutHandle) |
Copyright © 2012–2022. All rights reserved.