| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.connector | |
| com.facebook.presto.spi.connector.classloader | |
| com.facebook.presto.spi.statistics |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ColumnHandle> |
ConnectorHandleResolver.getColumnHandleClass() |
List<ColumnHandle> |
DiscretePredicates.getColumns() |
Optional<List<ColumnHandle>> |
ConnectorTableLayout.getColumns()
The columns from the original table provided by this layout.
|
List<LocalProperty<ColumnHandle>> |
ConnectorTableLayout.getLocalProperties()
Properties describing the layout of the data (grouping/sorting) within each partition
|
List<ColumnHandle> |
ConnectorTablePartitioning.getPartitioningColumns()
The columns used to partition the table across the worker nodes.
|
TupleDomain<ColumnHandle> |
ConnectorTableLayout.getPredicate()
A TupleDomain that represents a predicate that every row this TableScan node
produces is guaranteed to satisfy.
|
Iterable<TupleDomain<ColumnHandle>> |
DiscretePredicates.getPredicates() |
Optional<Set<ColumnHandle>> |
ConnectorTableLayout.getStreamPartitioningColumns()
The partitioning for the table streams.
|
TupleDomain<ColumnHandle> |
ConnectorTableLayoutResult.getUnenforcedConstraint() |
TupleDomain<ColumnHandle> |
ConnectorResolvedIndex.getUnresolvedTupleDomain() |
| Modifier and Type | Method and Description |
|---|---|
default ColumnHandle |
ConnectorMetadata.getUpdateRowIdColumnHandle(ConnectorSession session,
ConnectorTableHandle tableHandle)
Get the column handle that will generate row IDs for the delete operation.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ColumnHandle> |
ConnectorMetadata.getColumnHandles(ConnectorSession session,
ConnectorTableHandle tableHandle)
Gets all of the columns on the specified table, or an empty map if the columns can not be enumerated.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ConnectorMetadata.dropColumn(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle column)
Drop the specified column
|
ColumnMetadata |
ConnectorMetadata.getColumnMetadata(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle columnHandle)
Gets the metadata for the specified table column.
|
default void |
ConnectorMetadata.renameColumn(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle source,
String target)
Rename the specified column
|
| Modifier and Type | Method and Description |
|---|---|
ConnectorPageSource |
ConnectorPageSourceProvider.createPageSource(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorSplit split,
List<ColumnHandle> columns) |
ConnectorIndex |
ConnectorIndexProvider.getIndex(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorIndexHandle indexHandle,
List<ColumnHandle> lookupSchema,
List<ColumnHandle> outputSchema) |
ConnectorIndex |
ConnectorIndexProvider.getIndex(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorIndexHandle indexHandle,
List<ColumnHandle> lookupSchema,
List<ColumnHandle> outputSchema) |
RecordSet |
ConnectorRecordSetProvider.getRecordSet(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorSplit split,
List<? extends ColumnHandle> columns) |
List<ConnectorTableLayoutResult> |
ConnectorMetadata.getTableLayouts(ConnectorSession session,
ConnectorTableHandle table,
Constraint<ColumnHandle> constraint,
Optional<Set<ColumnHandle>> desiredColumns)
Return a list of table layouts that satisfy the given constraint.
|
List<ConnectorTableLayoutResult> |
ConnectorMetadata.getTableLayouts(ConnectorSession session,
ConnectorTableHandle table,
Constraint<ColumnHandle> constraint,
Optional<Set<ColumnHandle>> desiredColumns)
Return a list of table layouts that satisfy the given constraint.
|
default TableStatistics |
ConnectorMetadata.getTableStatistics(ConnectorSession session,
ConnectorTableHandle tableHandle,
Constraint<ColumnHandle> constraint)
Get statistics for table for given filtering constraint.
|
default Optional<ConnectorResolvedIndex> |
ConnectorMetadata.resolveIndex(ConnectorSession session,
ConnectorTableHandle tableHandle,
Set<ColumnHandle> indexableColumns,
Set<ColumnHandle> outputColumns,
TupleDomain<ColumnHandle> tupleDomain)
Try to locate a table index that can lookup results by indexableColumns and provide the requested outputColumns.
|
default Optional<ConnectorResolvedIndex> |
ConnectorMetadata.resolveIndex(ConnectorSession session,
ConnectorTableHandle tableHandle,
Set<ColumnHandle> indexableColumns,
Set<ColumnHandle> outputColumns,
TupleDomain<ColumnHandle> tupleDomain)
Try to locate a table index that can lookup results by indexableColumns and provide the requested outputColumns.
|
default Optional<ConnectorResolvedIndex> |
ConnectorMetadata.resolveIndex(ConnectorSession session,
ConnectorTableHandle tableHandle,
Set<ColumnHandle> indexableColumns,
Set<ColumnHandle> outputColumns,
TupleDomain<ColumnHandle> tupleDomain)
Try to locate a table index that can lookup results by indexableColumns and provide the requested outputColumns.
|
| Modifier and Type | Method and Description |
|---|---|
ColumnHandle |
ClassLoaderSafeConnectorMetadata.getUpdateRowIdColumnHandle(ConnectorSession session,
ConnectorTableHandle tableHandle) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ColumnHandle> |
ClassLoaderSafeConnectorMetadata.getColumnHandles(ConnectorSession session,
ConnectorTableHandle tableHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassLoaderSafeConnectorMetadata.dropColumn(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle column) |
ColumnMetadata |
ClassLoaderSafeConnectorMetadata.getColumnMetadata(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle columnHandle) |
void |
ClassLoaderSafeConnectorMetadata.renameColumn(ConnectorSession session,
ConnectorTableHandle tableHandle,
ColumnHandle source,
String target) |
| Modifier and Type | Method and Description |
|---|---|
Map<ColumnHandle,ColumnStatistics> |
TableStatistics.getColumnStatistics() |
| Modifier and Type | Method and Description |
|---|---|
TableStatistics.Builder |
TableStatistics.Builder.setColumnStatistics(ColumnHandle columnHandle,
ColumnStatistics columnStatistics) |
| Constructor and Description |
|---|
TableStatistics(Estimate rowCount,
Map<ColumnHandle,ColumnStatistics> columnStatistics) |
Copyright © 2012–2019. All rights reserved.