Package org.apache.calcite.rel.metadata
Class MetadataFactoryImpl
java.lang.Object
org.apache.calcite.rel.metadata.MetadataFactoryImpl
- All Implemented Interfaces:
MetadataFactory
Deprecated.
Implementation of
MetadataFactory
that gets providers from a
RelMetadataProvider
and stores them in a cache.
The cache does not store metadata. It remembers which providers can provide which kinds of metadata, for which kinds of relational expressions.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<@Nullable M extends @Nullable Metadata>
Mquery
(RelNode rel, RelMetadataQuery mq, Class<@Nullable M> metadataClazz) Deprecated.Returns a metadata interface to get a particular kind of metadata from a particular relational expression.
-
Field Details
-
DUMMY
Deprecated.
-
-
Constructor Details
-
MetadataFactoryImpl
Deprecated.
-
-
Method Details
-
query
public <@Nullable M extends @Nullable Metadata> M query(RelNode rel, RelMetadataQuery mq, Class<@Nullable M> metadataClazz) Deprecated.Description copied from interface:MetadataFactory
Returns a metadata interface to get a particular kind of metadata from a particular relational expression. Returns null if that kind of metadata is not available.- Specified by:
query
in interfaceMetadataFactory
- Type Parameters:
M
- Metadata type- Parameters:
rel
- Relational expressionmq
- Metadata querymetadataClazz
- Metadata class- Returns:
- Metadata bound to
rel
andquery
-
RelMetadataQuery
.