public class JaninoRelMetadataProvider extends Object implements org.apache.calcite.rel.metadata.RelMetadataProvider
Modifier and Type | Class and Description |
---|---|
static class |
JaninoRelMetadataProvider.NoHandler
Exception that indicates there there should be a handler for this class but there is not.
|
Modifier and Type | Field and Description |
---|---|
static JaninoRelMetadataProvider |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
<M extends org.apache.calcite.rel.metadata.Metadata> |
apply(Class<? extends org.apache.calcite.rel.RelNode> relClass,
Class<? extends M> metadataClass)
Deprecated.
|
boolean |
equals(@Nullable Object obj) |
List<org.apache.calcite.rel.metadata.MetadataHandler<?>> |
handlers(Class<? extends org.apache.calcite.rel.metadata.MetadataHandler<?>> handlerClass) |
<M extends org.apache.calcite.rel.metadata.Metadata> |
handlers(org.apache.calcite.rel.metadata.MetadataDef<M> def)
Deprecated.
|
int |
hashCode() |
static JaninoRelMetadataProvider |
of(org.apache.calcite.rel.metadata.RelMetadataProvider provider)
Creates a JaninoRelMetadataProvider.
|
void |
register(Iterable<Class<? extends org.apache.calcite.rel.RelNode>> classes)
Deprecated.
|
public static final JaninoRelMetadataProvider DEFAULT
public static JaninoRelMetadataProvider of(org.apache.calcite.rel.metadata.RelMetadataProvider provider)
provider
- Underlying provider@Deprecated public <M extends org.apache.calcite.rel.metadata.Metadata> org.apache.calcite.rel.metadata.UnboundMetadata<M> apply(Class<? extends org.apache.calcite.rel.RelNode> relClass, Class<? extends M> metadataClass)
apply
in interface org.apache.calcite.rel.metadata.RelMetadataProvider
@Deprecated public <M extends org.apache.calcite.rel.metadata.Metadata> com.google.common.collect.Multimap<Method,org.apache.calcite.rel.metadata.MetadataHandler<M>> handlers(org.apache.calcite.rel.metadata.MetadataDef<M> def)
handlers
in interface org.apache.calcite.rel.metadata.RelMetadataProvider
public List<org.apache.calcite.rel.metadata.MetadataHandler<?>> handlers(Class<? extends org.apache.calcite.rel.metadata.MetadataHandler<?>> handlerClass)
handlers
in interface org.apache.calcite.rel.metadata.RelMetadataProvider
@Deprecated public void register(Iterable<Class<? extends org.apache.calcite.rel.RelNode>> classes)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.