Class CorpusBatch
- java.lang.Object
-
- io.outofprintmagazine.corpus.batch.CorpusBatch
-
public class CorpusBatch extends Object
-
-
Constructor Summary
Constructors Constructor Description CorpusBatch()
-
Method Summary
-
-
-
Method Detail
-
getData
public CorpusBatchModel getData()
-
setData
public void setData(CorpusBatchModel data)
-
getScratchStorage
public IScratchStorage getScratchStorage() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
-
setScratchStorage
public void setScratchStorage(IScratchStorage storage)
-
getBatchStorage
public IBatchStorage getBatchStorage() throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
-
setBatchStorage
public void setBatchStorage(IBatchStorage batchStorage)
-
getParameterStore
public io.outofprintmagazine.util.IParameterStore getParameterStore() throws IOException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ClassNotFoundException
-
setBatchStorage
public void setBatchStorage(io.outofprintmagazine.util.IParameterStore parameterStore)
-
buildFromTemplate
public static CorpusBatch buildFromTemplate(String templateLocation) throws IOException
- Throws:
IOException
-
appendAnalyzeStep
public void appendAnalyzeStep() throws IOException
- Throws:
IOException
-
appendAggregateStep
public void appendAggregateStep() throws IOException
- Throws:
IOException
-
buildFromStagingBatch
public static CorpusBatch buildFromStagingBatch(String corpusName, String batchName) throws Exception
- Throws:
Exception
-
buildFromStagingBatch
public static CorpusBatch buildFromStagingBatch(String corpusName, String batchName, String batchStorageClass) throws Exception
- Throws:
Exception
-
buildFromFile
public static CorpusBatch buildFromFile(String fileName) throws Exception
- Throws:
Exception
-
buildFromJson
public static CorpusBatch buildFromJson(String corpusName, com.fasterxml.jackson.databind.JsonNode data) throws Exception
- Throws:
Exception
-
buildFromString
public static CorpusBatch buildFromString(String corpusName, String data) throws Exception
- Throws:
Exception
-
-