Interface MetadataFactory

    • Method Detail

      • query

        <M extends Metadata> M query​(RelNode rel,
                                     RelMetadataQuery mq,
                                     java.lang.Class<M> metadataClazz)
        Returns 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.
        Type Parameters:
        M - Metadata type
        rel - Relational expression
        mq - Metadata query
        metadataClazz - Metadata class
        Metadata bound to rel and query