Class DestinationFilter

java.lang.Object
org.aksw.jena_sparql_api.io.endpoint.DestinationFilter
All Implemented Interfaces:
Destination

public class DestinationFilter extends Object implements Destination
  • Field Details

  • Constructor Details

    • DestinationFilter

      public DestinationFilter(FilterConfig filter)
  • Method Details

    • getFilter

      public FilterConfig getFilter()
    • prepareStream

      public io.reactivex.rxjava3.core.Single<InputStreamSupplier> prepareStream()
      Description copied from interface: Destination
      This method requests a supplier for inputstreams. For basic destinations, such as FileDestination, this process does not involve any overhead. However, if the destination represents a workflow, prepareStream may trigger a complex execution. The execution may generate a file from which streams can be obtained, or nothing gets executed at this point, and execution only occur when opening an input stream.
      Specified by:
      prepareStream in interface Destination
      Returns:
    • transferTo

      public FilterConfig transferTo(FilterEngine engine)
      Specified by:
      transferTo in interface Destination
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • materialize

      public io.reactivex.rxjava3.core.Single<DestinationFromFile> materialize(Supplier<Path> preferredPathCallback)
      Description copied from interface: Destination
      Materialize the destination to a given file. If the destination is already a file it waits until it has been completed. For non-file destinations, the callback is invoked to obtain a preferred file name
      Specified by:
      materialize in interface Destination
      Returns:
    • getCreationStatus

      public String getCreationStatus()
      Description copied from interface: Destination
      Get a description of the creation status.
      Specified by:
      getCreationStatus in interface Destination
      Returns: