Class Bindables.BindableMatch

    • Constructor Detail

      • BindableMatch

        BindableMatch​(RelOptCluster cluster,
                      RelTraitSet traitSet,
                      RelNode input,
                      RelDataType rowType,
                      RexNode pattern,
                      boolean strictStart,
                      boolean strictEnd,
                      java.util.Map<java.lang.String,​RexNode> patternDefinitions,
                      java.util.Map<java.lang.String,​RexNode> measures,
                      RexNode after,
                      java.util.Map<java.lang.String,​? extends java.util.SortedSet<java.lang.String>> subsets,
                      boolean allRows,
                      ImmutableBitSet partitionKeys,
                      RelCollation orderKeys,
                      RexNode interval)
        Creates a BindableMatch.
    • 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
      • getElementType

        public java.lang.Class<java.lang.Object[]> getElementType()
        Description copied from interface: Typed
        Gets the type of the element(s) that are returned in this collection.
        Specified by:
        getElementType in interface ArrayBindable
        Specified by:
        getElementType in interface Typed
      • bind

        public Enumerable<java.lang.Object[]> bind​(DataContext dataContext)
        Description copied from interface: Bindable
        Executes this statement and returns an enumerable which will yield rows. The environment parameter provides the values in the root of the environment (usually schemas).
        Specified by:
        bind in interface Bindable<java.lang.Object[]>
        dataContext - Environment that provides tables
        Enumerable over rows