OPERATOR / VERSION 1.0

piflow_route

PiFlow · Filtering

Route by SQLite condition. Outputs: result (all rows), matched, unmatched (including SQL null predicates). Fixed ports replace dynamic PiFlow routing.

View manifest JSON ↗

Use this operator

operator: piflow_route@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • sourceInputrecords

    Name and type of the source stream: records. The accompanying fixture contains station_id, temperature, quality.

    Formats: Any compatible format
  • resultOutputrecords

    All input records.

  • matchedOutputrecords

    Records where the configured condition is true.

  • unmatchedOutputrecords

    Records where the condition is false or null.

Output structure and samples are provided by operator inference.

Parameters

  • conditionstringRequired

    condition parameter. Route by SQLite condition. Outputs: result (all rows), matched, unmatched (including SQL null predicates). Fixed ports replace dynamic PiFlow routing.

    How to fill
    condition parameter. Route by SQLite condition. Outputs: result (all rows), matched, unmatched (including SQL null predicates). Fixed ports replace dynamic PiFlow routing.
    Example value
    temperature >= 12

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: piflow_route@1.0
inputs:
  source: read_source
params:
  condition: temperature >= 12

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/fba48ba2cf00228b64eb4faf22a52adcdcb825722062249c5435f34a66465aac/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4/LICENSE.txt'
sha256sum -- 'LICENSE.txt'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
https://github.com/cas-bigdatalab/piflow
Source revision
84de10436a0d382e0d8d2ce1ab3a82f71ebafc29
License (publisher declared)
Apache-2.0
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Compile the adapter under src/ using the registered python-arrow builder. See spec.json and the upstream source manifest.

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.