Class DefaultRelMetadataProvider

java.lang.Object
org.apache.calcite.rel.metadata.ChainedRelMetadataProvider
org.apache.calcite.rel.metadata.DefaultRelMetadataProvider
All Implemented Interfaces:
RelMetadataProvider

public class DefaultRelMetadataProvider extends ChainedRelMetadataProvider
DefaultRelMetadataProvider supplies a default implementation of the RelMetadataProvider interface. It provides generic formulas and derivation rules for the standard logical algebra; coverage corresponds to the methods declared in RelMetadataQuery.
  • Field Details

  • Constructor Details

    • DefaultRelMetadataProvider

      protected DefaultRelMetadataProvider()
      Creates a new default provider. This provider defines "catch-all" handlers for generic RelNodes, so it should always be given lowest priority when chaining.

      Use this constructor only from a sub-class. Otherwise use the singleton instance, INSTANCE.