public class CollectStorage extends Object implements PipelineStep
MasterStorage
is a column oriented storage of potentially missing elements.Constructor and Description |
---|
CollectStorage() |
Modifier and Type | Method and Description |
---|---|
static void |
addToLinenote(LinenoteBuilder<PipelineStep> linenoteBuilder)
Append linenote spec.
|
void |
addToPipeline(PipelineContext pipeline)
Wire step into the pipeline.
|
void |
close()
Close the step.
|
void |
init()
Initialize the step.
|
void |
mms(boolean b) |
void |
mmsImportOpts(String o) |
void |
setMasterStorageCounsumer(Consumer<MasterStorage> msc) |
void |
setProgressiveSerialization(ProgressiveSerialization p) |
String |
toString() |
void |
type(String t) |
public void type(String t)
public void mms(boolean b)
public void mmsImportOpts(String o)
public void setProgressiveSerialization(ProgressiveSerialization p)
public void setMasterStorageCounsumer(Consumer<MasterStorage> msc)
public void addToPipeline(PipelineContext pipeline)
PipelineStep
PipelineContext.addStep(com.chemaxon.overlap.cli.util.pipeline.PipelineStep)
PipelineStep.init()
.PipelineStep.init()
.PipelineContext
reference this method is side effect freeaddToPipeline
in interface PipelineStep
pipeline
- Target pipeline.public void init() throws Exception
PipelineStep
PipelineStep.addToPipeline(com.chemaxon.overlap.cli.util.pipeline.PipelineContext)
will be invoked before
this method.PipelineStep.close()
is expected to be invoked sometimes later, regardless of possible error(s) thrown.init
in interface PipelineStep
Exception
- In case of initialization failurepublic void close() throws Exception
PipelineStep
PipelineStep.init()
is guaranteed to
be invoked before. Note that it is possible that PipelineStep.init()
and PipelineStep.close()
methods are not invoked
during the life cycle of an implementing instance.close
in interface PipelineStep
Exception
- might be propagated from underlying IOpublic static void addToLinenote(LinenoteBuilder<PipelineStep> linenoteBuilder)
linenoteBuilder
- Target builder