Interface FilterEngine

All Known Implementing Classes:
FilterEngineFromSysFunction, FilterEngineJava

public interface FilterEngine
An engine is a factory for executions that process input to output. Note that executions are lazy - no processing takes place until the result is requested.
Author:
raven
  • Method Details

    • forInput

      FilterConfig forInput(FilterConfig in)
      Pipe data from a prior filter into this one
    • forInput

      FilterConfig forInput(Path in)
    • forInput

    • forInput

      FilterConfig forInput(Destination destination)
    • forInput

      FilterConfig forInput(io.reactivex.rxjava3.core.Single<Path> futurePath)
      Create an input from a file that is currently written to. If the engine needs the file, it can wait for it to become ready. otherwise, it can obtain a live-stream with the data
      Parameters:
      futurePath -
      Returns:
    • forInput

      default FilterConfig forInput(InputStream in)
      Ideally input should be source-like: sources are idle entities (do not need to be closed by the engine) that allow for creation of as many input streams as desired. But wrapping an existing input stream as a source seems useful
      Parameters:
      in -
      Returns: