Class PostGISPipelineOutputStore

java.lang.Object
nz.org.riskscape.postgis.PostGISPipelineOutputStore
All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.output.PipelineOutputStore

public class PostGISPipelineOutputStore extends Object implements nz.org.riskscape.engine.output.PipelineOutputStore

A PipelineOutputStore that will write results to a PostGIS database.

  • Field Summary

    Fields inherited from interface nz.org.riskscape.engine.output.PipelineOutputStore

    PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_NA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.output.PipelineOutputContainer>
    create(URI outputLocation, nz.org.riskscape.engine.pipeline.RealizedPipeline pipeline, nz.org.riskscape.engine.output.PipelineOutputOptions options)
     
     
    int
    isApplicable(@NonNull URI outputLocation)
     
    static nz.org.riskscape.problem.Problem
    toConnectionFailure(URI location, Exception cause)
    Convenience to get PostGISProblems.connectionFailure(java.net.URI, java.lang.String) along with the child problem tips to help the user resolve the connection failure.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.Identified

    getIdentifiedClass

    Methods inherited from interface nz.org.riskscape.engine.output.PipelineOutputStore

    newOutputOptions
  • Constructor Details

    • PostGISPipelineOutputStore

      public PostGISPipelineOutputStore()
  • Method Details

    • toConnectionFailure

      public static nz.org.riskscape.problem.Problem toConnectionFailure(URI location, Exception cause)

      Convenience to get PostGISProblems.connectionFailure(java.net.URI, java.lang.String) along with the child problem tips to help the user resolve the connection failure.

    • isApplicable

      public int isApplicable(@NonNull @NonNull URI outputLocation)
      Specified by:
      isApplicable in interface nz.org.riskscape.engine.output.PipelineOutputStore
    • create

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.output.PipelineOutputContainer> create(URI outputLocation, nz.org.riskscape.engine.pipeline.RealizedPipeline pipeline, nz.org.riskscape.engine.output.PipelineOutputOptions options)
      Specified by:
      create in interface nz.org.riskscape.engine.output.PipelineOutputStore
    • getId

      public String getId()
      Specified by:
      getId in interface nz.org.riskscape.engine.Identified