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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
DUMMYDeprecated.
 
- 
- 
Constructor Details- 
MetadataFactoryImplDeprecated.
 
- 
- 
Method Details- 
querypublic <@Nullable M extends @Nullable Metadata> M query(RelNode rel, RelMetadataQuery mq, Class<@Nullable M> metadataClazz) Deprecated.Description copied from interface:MetadataFactoryReturns 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:
- queryin interface- MetadataFactory
- Type Parameters:
- M- Metadata type
- Parameters:
- rel- Relational expression
- mq- Metadata query
- metadataClazz- Metadata class
- Returns:
- Metadata bound to relandquery
 
 
- 
RelMetadataQuery.