Commons Sandbox
  1. Commons Sandbox
  2. SANDBOX-265

Create a stage for filtering out objects based on a predicate

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Nightly Builds
    • Fix Version/s: Nightly Builds
    • Component/s: Pipeline
    • Labels:
      None
    • Environment:

      All

      Description

      Pipeline stage to filter out objects based on some criteria. This can be done today by writing a stage class with a conditional emit call. As with functors and other predicate classes this new stage aims to simplify the coding of simple filters. I will be attaching the classes and tests after I submit this. The only filter included is generic and provided as an example. We have been using this filter mechanism with custom filter classes to make fairly complex object flows via configuration alone allowing for great flexibility and no need to build any new code or jars.

        Issue Links

          Activity

          Gavin made changes -
          Link This issue depends upon SANDBOX-261 [ SANDBOX-261 ]
          Gavin made changes -
          Link This issue depends on SANDBOX-261 [ SANDBOX-261 ]
          Matt Sanford made changes -
          Attachment filter_stage.patch [ 12391826 ]
          Matt Sanford made changes -
          Attachment filter_stage.patch [ 12391827 ]
          Matt Sanford made changes -
          Attachment filter_stage.patch [ 12391647 ]
          Matt Sanford made changes -
          Attachment filter_stage.patch [ 12391826 ]
          Matt Sanford made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Matt Sanford made changes -
          Link This issue depends on SANDBOX-261 [ SANDBOX-261 ]
          Matt Sanford made changes -
          Field Original Value New Value
          Attachment filter_stage.patch [ 12391647 ]
          Matt Sanford created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Matt Sanford
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development