public class JsonPreprocessor extends Preprocessor
Preprocessor
for the JSON stream format.propertyRoot, stream
Constructor and Description |
---|
JsonPreprocessor(StreamConfig stream)
Constructs a new JsonPreprocessor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalizeSegment(SegmentConfig segment)
Finalizes a segment configuration after its children have been processed.
|
protected void |
handleField(FieldConfig field)
Processes a field configuration.
|
protected void |
initializeRecord(RecordConfig record)
Initializes a record configuration before its children have been processed.
|
protected void |
initializeSegment(SegmentConfig segment)
Initializes a segment configuration before its children have been processed.
|
finalizeGroup, finalizeRecord, finalizeStream, handleConstant, initializeGroup, initializeStream, validateRecordIdentifyingCriteria
getParent, handleComponent, process
public JsonPreprocessor(StreamConfig stream)
stream
- the StreamConfig
to preprocessprotected void initializeRecord(RecordConfig record) throws BeanIOConfigurationException
Preprocessor
initializeRecord
in class Preprocessor
record
- the record configuration to processBeanIOConfigurationException
protected void initializeSegment(SegmentConfig segment) throws BeanIOConfigurationException
Preprocessor
initializeSegment
in class Preprocessor
segment
- the segment configuration to processBeanIOConfigurationException
protected void finalizeSegment(SegmentConfig segment) throws BeanIOConfigurationException
Preprocessor
finalizeSegment
in class Preprocessor
segment
- the segment configuration to processBeanIOConfigurationException
protected void handleField(FieldConfig field) throws BeanIOConfigurationException
Preprocessor
handleField
in class Preprocessor
field
- the field configuration to processBeanIOConfigurationException