public class CharacterCountStep extends BasePipelineStep
| Constructor and Description |
|---|
CharacterCountStep() |
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocalepublic String getDescription()
public String getName()
protected void saveCount(Metrics metrics, CharacterCounter.Counts count)
public CharacterCounter.Counts getBatchCount()
public CharacterCounter.Counts getBatchItemCount()
public CharacterCounter.Counts getDocumentCount()
public CharacterCounter.Counts getSubDocumentCount()
public CharacterCounter.Counts getGroupCount()
protected void saveToMetrics(Event event, CharacterCounter.Counts count)
protected void removeFromMetrics(IWithAnnotations res, String metricName)
protected void removeFromMetrics(TextContainer textContainer, String metricName)
protected void saveToMetrics(TextContainer textContainer, CharacterCounter.Counts count)
protected void saveToMetrics(Segment seg, CharacterCounter.Counts count)
protected Event handleStartBatch(Event event)
handleStartBatch in class BasePipelineStepprotected Event handleEndBatch(Event event)
handleEndBatch in class BasePipelineStepprotected Event handleStartBatchItem(Event event)
handleStartBatchItem in class BasePipelineStepprotected Event handleEndBatchItem(Event event)
handleEndBatchItem in class BasePipelineStepprotected Event handleStartDocument(Event event)
handleStartDocument in class BasePipelineStepprotected Event handleEndDocument(Event event)
handleEndDocument in class BasePipelineStepprotected Event handleStartSubDocument(Event event)
handleStartSubDocument in class BasePipelineStepprotected Event handleEndSubDocument(Event event)
handleEndSubDocument in class BasePipelineStepprotected Event handleStartGroup(Event event)
handleStartGroup in class BasePipelineStepprotected Event handleEndGroup(Event event)
handleEndGroup in class BasePipelineStepprotected TextContainer getSource()
protected Event handleTextUnit(Event event)
handleTextUnit in class BasePipelineStepCopyright © 2021. All rights reserved.