Package org.apache.calcite.rel.metadata
Class ProxyingMetadataHandlerProvider
java.lang.Object
org.apache.calcite.rel.metadata.ProxyingMetadataHandlerProvider
- All Implemented Interfaces:
MetadataHandlerProvider
A MetadataHandlerProvider built on a RelMetadataProvider.
Uses proxies to call the underlying metadata provider.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.rel.metadata.MetadataHandlerProvider
MetadataHandlerProvider.NoHandler
-
Constructor Summary
ConstructorDescriptionCreate a proxying handler provider. -
Method Summary
Modifier and TypeMethodDescription<MH extends MetadataHandler<?>>
MHProvide a handler for the requested metadata class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.calcite.rel.metadata.MetadataHandlerProvider
revise
-
Constructor Details
-
ProxyingMetadataHandlerProvider
Create a proxying handler provider.- Parameters:
provider
- The provider this will operate against.
-
-
Method Details
-
handler
Description copied from interface:MetadataHandlerProvider
Provide a handler for the requested metadata class.- Specified by:
handler
in interfaceMetadataHandlerProvider
- Type Parameters:
MH
- The metadata type the handler relates to.- Parameters:
handlerClass
- The handler interface expected- Returns:
- The handler implementation.
-