Package nz.org.riskscape.postgis
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
-
Method Summary
Modifier and TypeMethodDescriptionnz.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) getId()
int
isApplicable
(@NonNull URI outputLocation) static nz.org.riskscape.problem.Problem
toConnectionFailure
(URI location, Exception cause) Convenience to getPostGISProblems.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
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
- Specified by:
isApplicable
in interfacenz.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 interfacenz.org.riskscape.engine.output.PipelineOutputStore
-
getId
- Specified by:
getId
in interfacenz.org.riskscape.engine.Identified
-