Class QueryableRelBuilder<T>

  • Type Parameters:
    T - Element type
    All Implemented Interfaces:

    class QueryableRelBuilder<T>
    extends java.lang.Object
    implements QueryableFactory<T>
    Implementation of QueryableFactory that builds a tree of RelNode planner nodes. Used by LixToRelTranslator.

    Each of the methods that implements a Replayer method creates a tree of RelNodes equivalent to the arguments, and calls setRel(org.apache.calcite.rel.RelNode) to assign the root of that tree to the rel member variable.

    To comply with the QueryableFactory interface, which is after all a factory, each method returns a dummy result such as null or 0. The caller will not use the result. The real effect of the method is to call setRel(org.apache.calcite.rel.RelNode) with a RelNode.

    NOTE: Many methods currently throw UnsupportedOperationException. These method need to be implemented.