public class MetadataFactoryImpl extends Object implements MetadataFactory
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.
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<RelNode,Metadata> |
DUMMY |
| Constructor and Description |
|---|
MetadataFactoryImpl(RelMetadataProvider provider) |
public MetadataFactoryImpl(RelMetadataProvider provider)
public <T extends Metadata> T query(RelNode rel, Class<T> clazz)
MetadataFactoryquery in interface MetadataFactoryCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.