Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2832

Create RuleOperandBuilder for building RelOptRule operands

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.18.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Current operand / operandJ work, however it is non-trivial to pick the right one, and it does not scale as features grow.

      It would be great to have a builder there.

      He's a relevant post: https://bsideup.github.io/posts/builders_vs_java/
      TL;DR (see "Real solution'): non-fluent builders enable to write extensible and concise code.

      Some thoughts can be found in CALCITE-1166

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: