Class CassandraToEnumerableConverter

    • Method Detail

      • copy

        public RelNode copy​(RelTraitSet traitSet,
                            java.util.List<RelNode> inputs)
        Description copied from interface: RelNode
        Creates a copy of this relational expression, perhaps changing traits and inputs.

        Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.

        Specified by:
        copy in interface RelNode
        copy in class AbstractRelNode
        traitSet - Trait set
        inputs - Inputs
        Copy of this relational expression, substituting traits and inputs
      • constantArrayList

        private static <T> MethodCallExpression constantArrayList​(java.util.List<T> values,
                                                                  java.lang.Class clazz)
        E.g. constantArrayList("x", "y") returns "Arrays.asList('x', 'y')".
      • constantList

        private static <T> java.util.List<Expression> constantList​(java.util.List<T> values)
        E.g. constantList("x", "y") returns {ConstantExpression("x"), ConstantExpression("y")}.