Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-265

Create a stage for filtering out objects based on a predicate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Nightly Builds
    • Nightly Builds
    • Pipeline
    • None
    • 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.

      Attachments

        1. filter_stage.patch
          9 kB
          Matt Sanford

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mzsanford Matt Sanford
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: