public static interface BuiltInMetadata.TableReferences extends Metadata
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BuiltInMetadata.TableReferences.Handler
Handler API.
|
| Modifier and Type | Field and Description |
|---|---|
static MetadataDef<BuiltInMetadata.TableReferences> |
DEF |
| Modifier and Type | Method and Description |
|---|---|
Set<RexTableInputRef.RelTableRef> |
getTableReferences()
This provider returns the tables used by a given plan.
|
static final MetadataDef<BuiltInMetadata.TableReferences> DEF
Set<RexTableInputRef.RelTableRef> getTableReferences()
In particular, the result will be a set of unique table references
(RexTableInputRef.RelTableRef) corresponding to each TableScan operator in the
plan. These table references are composed by the table qualified name
and an entity number.
Importantly, the table identifiers returned by this metadata provider
will be consistent with the unique identifiers used by the BuiltInMetadata.ExpressionLineage
provider, meaning that it is guaranteed that same table will use same unique
identifiers in both.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.