| Package | Description |
|---|---|
| io.prestosql.metadata | |
| io.prestosql.operator | |
| io.prestosql.split | |
| io.prestosql.sql.analyzer | |
| io.prestosql.sql.planner.plan | |
| io.prestosql.testing |
| Modifier and Type | Method and Description |
|---|---|
TableHandle |
Metadata.beginDelete(Session session,
TableHandle tableHandle)
Begin delete query
|
TableHandle |
MetadataManager.beginDelete(Session session,
TableHandle tableHandle) |
TableHandle |
TableLayoutResult.getNewTableHandle()
Deprecated.
|
TableHandle |
AnalyzeMetadata.getTableHandle() |
TableHandle |
Metadata.makeCompatiblePartitioning(Session session,
TableHandle table,
PartitioningHandle partitioningHandle)
Return a table handle whose partitioning is converted to the provided partitioning handle,
but otherwise identical to the provided table handle.
|
TableHandle |
MetadataManager.makeCompatiblePartitioning(Session session,
TableHandle tableHandle,
PartitioningHandle partitioningHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
Metadata.addColumn(Session session,
TableHandle tableHandle,
ColumnMetadata column)
Add the specified column to the table.
|
void |
MetadataManager.addColumn(Session session,
TableHandle tableHandle,
ColumnMetadata column) |
Optional<ConstraintApplicationResult<TableHandle>> |
Metadata.applyFilter(Session session,
TableHandle table,
Constraint constraint) |
Optional<ConstraintApplicationResult<TableHandle>> |
MetadataManager.applyFilter(Session session,
TableHandle table,
Constraint constraint) |
Optional<LimitApplicationResult<TableHandle>> |
Metadata.applyLimit(Session session,
TableHandle table,
long limit) |
Optional<LimitApplicationResult<TableHandle>> |
MetadataManager.applyLimit(Session session,
TableHandle table,
long limit) |
Optional<TableHandle> |
Metadata.applySample(Session session,
TableHandle table,
SampleType sampleType,
double sampleRatio) |
Optional<TableHandle> |
MetadataManager.applySample(Session session,
TableHandle table,
SampleType sampleType,
double sampleRatio) |
TableHandle |
Metadata.beginDelete(Session session,
TableHandle tableHandle)
Begin delete query
|
TableHandle |
MetadataManager.beginDelete(Session session,
TableHandle tableHandle) |
InsertTableHandle |
Metadata.beginInsert(Session session,
TableHandle tableHandle)
Begin insert query
|
InsertTableHandle |
MetadataManager.beginInsert(Session session,
TableHandle tableHandle) |
AnalyzeTableHandle |
Metadata.beginStatisticsCollection(Session session,
TableHandle tableHandle)
Begin statistics collection
|
AnalyzeTableHandle |
MetadataManager.beginStatisticsCollection(Session session,
TableHandle tableHandle) |
void |
Metadata.dropColumn(Session session,
TableHandle tableHandle,
ColumnHandle column)
Drop the specified column.
|
void |
MetadataManager.dropColumn(Session session,
TableHandle tableHandle,
ColumnHandle column) |
void |
Metadata.dropTable(Session session,
TableHandle tableHandle)
Drops the specified table
|
void |
MetadataManager.dropTable(Session session,
TableHandle tableHandle) |
void |
Metadata.finishDelete(Session session,
TableHandle tableHandle,
Collection<io.airlift.slice.Slice> fragments)
Finish delete query
|
void |
MetadataManager.finishDelete(Session session,
TableHandle tableHandle,
Collection<io.airlift.slice.Slice> fragments) |
Map<String,ColumnHandle> |
Metadata.getColumnHandles(Session session,
TableHandle tableHandle)
Gets all of the columns on the specified table, or an empty map if the columns can not be enumerated.
|
Map<String,ColumnHandle> |
MetadataManager.getColumnHandles(Session session,
TableHandle tableHandle) |
ColumnMetadata |
Metadata.getColumnMetadata(Session session,
TableHandle tableHandle,
ColumnHandle columnHandle)
Gets the metadata for the specified table column.
|
ColumnMetadata |
MetadataManager.getColumnMetadata(Session session,
TableHandle tableHandle,
ColumnHandle columnHandle) |
Optional<Object> |
Metadata.getInfo(Session session,
TableHandle handle) |
Optional<Object> |
MetadataManager.getInfo(Session session,
TableHandle handle) |
Optional<NewTableLayout> |
Metadata.getInsertLayout(Session session,
TableHandle target) |
Optional<NewTableLayout> |
MetadataManager.getInsertLayout(Session session,
TableHandle table) |
Optional<TableLayoutResult> |
Metadata.getLayout(Session session,
TableHandle tableHandle,
Constraint constraint,
Optional<Set<ColumnHandle>> desiredColumns)
Deprecated.
|
Optional<TableLayoutResult> |
MetadataManager.getLayout(Session session,
TableHandle table,
Constraint constraint,
Optional<Set<ColumnHandle>> desiredColumns) |
TableMetadata |
Metadata.getTableMetadata(Session session,
TableHandle tableHandle)
Return the metadata for the specified table handle.
|
TableMetadata |
MetadataManager.getTableMetadata(Session session,
TableHandle tableHandle) |
TableProperties |
Metadata.getTableProperties(Session session,
TableHandle handle) |
TableProperties |
MetadataManager.getTableProperties(Session session,
TableHandle handle) |
TableStatistics |
Metadata.getTableStatistics(Session session,
TableHandle tableHandle,
Constraint constraint)
Return statistics for specified table for given filtering contraint.
|
TableStatistics |
MetadataManager.getTableStatistics(Session session,
TableHandle tableHandle,
Constraint constraint) |
ColumnHandle |
Metadata.getUpdateRowIdColumnHandle(Session session,
TableHandle tableHandle)
Get the row ID column handle used with UpdatablePageSource.
|
ColumnHandle |
MetadataManager.getUpdateRowIdColumnHandle(Session session,
TableHandle tableHandle) |
TableHandle |
Metadata.makeCompatiblePartitioning(Session session,
TableHandle table,
PartitioningHandle partitioningHandle)
Return a table handle whose partitioning is converted to the provided partitioning handle,
but otherwise identical to the provided table handle.
|
TableHandle |
MetadataManager.makeCompatiblePartitioning(Session session,
TableHandle tableHandle,
PartitioningHandle partitioningHandle) |
OptionalLong |
Metadata.metadataDelete(Session session,
TableHandle tableHandle)
Delete the provide table layout
|
OptionalLong |
MetadataManager.metadataDelete(Session session,
TableHandle tableHandle) |
void |
Metadata.renameColumn(Session session,
TableHandle tableHandle,
ColumnHandle source,
String target)
Rename the specified column.
|
void |
MetadataManager.renameColumn(Session session,
TableHandle tableHandle,
ColumnHandle source,
String target) |
void |
Metadata.renameTable(Session session,
TableHandle tableHandle,
QualifiedObjectName newTableName)
Rename the specified table.
|
void |
MetadataManager.renameTable(Session session,
TableHandle tableHandle,
QualifiedObjectName newTableName) |
Optional<ResolvedIndex> |
Metadata.resolveIndex(Session session,
TableHandle 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.
|
Optional<ResolvedIndex> |
MetadataManager.resolveIndex(Session session,
TableHandle tableHandle,
Set<ColumnHandle> indexableColumns,
Set<ColumnHandle> outputColumns,
TupleDomain<ColumnHandle> tupleDomain) |
void |
Metadata.setTableComment(Session session,
TableHandle tableHandle,
Optional<String> comment)
Comments to the specified table.
|
void |
MetadataManager.setTableComment(Session session,
TableHandle tableHandle,
Optional<String> comment) |
boolean |
Metadata.supportsMetadataDelete(Session session,
TableHandle tableHandle) |
boolean |
MetadataManager.supportsMetadataDelete(Session session,
TableHandle tableHandle) |
boolean |
Metadata.usesLegacyTableLayouts(Session session,
TableHandle table)
Deprecated.
|
boolean |
MetadataManager.usesLegacyTableLayouts(Session session,
TableHandle table) |
| Constructor and Description |
|---|
AnalyzeMetadata(TableStatisticsMetadata statisticsMetadata,
TableHandle tableHandle) |
TableLayoutResult(TableHandle newTable,
TableProperties layout,
TupleDomain<ColumnHandle> unenforcedConstraint)
Deprecated.
|
| Constructor and Description |
|---|
MetadataDeleteOperator(OperatorContext operatorContext,
Metadata metadata,
Session session,
TableHandle tableHandle) |
MetadataDeleteOperatorFactory(int operatorId,
PlanNodeId planNodeId,
Metadata metadata,
Session session,
TableHandle tableHandle) |
ScanFilterAndProjectOperatorFactory(int operatorId,
PlanNodeId planNodeId,
PlanNodeId sourceId,
PageSourceProvider pageSourceProvider,
Supplier<CursorProcessor> cursorProcessor,
Supplier<PageProcessor> pageProcessor,
TableHandle table,
Iterable<ColumnHandle> columns,
List<Type> types,
io.airlift.units.DataSize minOutputPageSize,
int minOutputPageRowCount) |
TableScanOperator(OperatorContext operatorContext,
PlanNodeId planNodeId,
PageSourceProvider pageSourceProvider,
TableHandle table,
Iterable<ColumnHandle> columns) |
TableScanOperatorFactory(int operatorId,
PlanNodeId sourceId,
PageSourceProvider pageSourceProvider,
TableHandle table,
Iterable<ColumnHandle> columns) |
TableScanWorkProcessorOperator(Session session,
MemoryTrackingContext memoryTrackingContext,
WorkProcessor<Split> splits,
PageSourceProvider pageSourceProvider,
TableHandle table,
Iterable<ColumnHandle> columns) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorPageSource |
PageSourceManager.createPageSource(Session session,
Split split,
TableHandle table,
List<ColumnHandle> columns) |
ConnectorPageSource |
PageSourceProvider.createPageSource(Session session,
Split split,
TableHandle table,
List<ColumnHandle> columns) |
SplitSource |
SplitManager.getSplits(Session session,
TableHandle table,
ConnectorSplitManager.SplitSchedulingStrategy splitSchedulingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
TableHandle |
Analysis.getTableHandle(Table table) |
TableHandle |
Analysis.Insert.getTarget() |
| Modifier and Type | Method and Description |
|---|---|
Optional<TableHandle> |
Analysis.getAnalyzeTarget() |
Collection<TableHandle> |
Analysis.getTables() |
| Modifier and Type | Method and Description |
|---|---|
void |
Analysis.registerTable(Table table,
TableHandle handle) |
void |
Analysis.setAnalyzeTarget(TableHandle analyzeTarget) |
| Constructor and Description |
|---|
Insert(TableHandle target,
List<ColumnHandle> columns) |
| Modifier and Type | Method and Description |
|---|---|
TableHandle |
TableWriterNode.InsertReference.getHandle() |
TableHandle |
TableWriterNode.DeleteHandle.getHandle() |
TableHandle |
StatisticsWriterNode.WriteStatisticsReference.getHandle() |
TableHandle |
TableScanNode.getTable() |
TableHandle |
IndexSourceNode.getTableHandle() |
| Modifier and Type | Method and Description |
|---|---|
static TableScanNode |
TableScanNode.newInstance(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments) |
| Constructor and Description |
|---|
DeleteHandle(TableHandle handle,
SchemaTableName schemaTableName) |
IndexSourceNode(PlanNodeId id,
IndexHandle indexHandle,
TableHandle tableHandle,
Set<Symbol> lookupSymbols,
List<Symbol> outputSymbols,
Map<Symbol,ColumnHandle> assignments,
TupleDomain<ColumnHandle> currentConstraint) |
InsertReference(TableHandle handle) |
TableScanNode(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments) |
TableScanNode(PlanNodeId id,
TableHandle table,
List<Symbol> outputs,
Map<Symbol,ColumnHandle> assignments,
TupleDomain<ColumnHandle> enforcedConstraint) |
WriteStatisticsReference(TableHandle handle) |
| Modifier and Type | Field and Description |
|---|---|
static TableHandle |
TestingHandles.TEST_TABLE_HANDLE |
Copyright © 2012–2019. All rights reserved.