Interface BaseJdbcOutputStore.LocalProblems
- All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory
- Enclosing class:
- BaseJdbcOutputStore
public static interface BaseJdbcOutputStore.LocalProblems
extends nz.org.riskscape.engine.problem.ProblemFactory
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.Problem
A hint to add as a child tocannotAppendTableStructureMismatch(String, String, String)
nz.org.riskscape.problem.Problem
cannotAppendTableStructureMismatch
(String tableName, String requiredTable, String existingTable) Use when appending to an existing table is not possible because the existing table has a different schema than required.nz.org.riskscape.problem.Problem
failedWhen
(String when, URI output) Problem to give some context to other problems that can occur.
-
Method Details
-
failedWhen
Problem to give some context to other problems that can occur.
- Parameters:
when
- when the problem occurred. Expected to be either 'create' or 'write'output
- URI representing the output store- Returns:
-
cannotAppendTableStructureMismatch
nz.org.riskscape.problem.Problem cannotAppendTableStructureMismatch(String tableName, String requiredTable, String existingTable) Use when appending to an existing table is not possible because the existing table has a different schema than required.
-
cannotAppendTableHint
nz.org.riskscape.problem.Problem cannotAppendTableHint()A hint to add as a child to
cannotAppendTableStructureMismatch(String, String, String)
-