public class JsonParserFactory extends ParserFactorySupport
ParserFactory for the JSON stream format.popProperty| Constructor and Description |
|---|
JsonParserFactory()
Constructs a new JsonParserFactory.
|
createAggregation, createProperty, createRecordAggregation, createRecordParserFactory, finalizeGroup, finalizeGroup, finalizeGroupIteration, finalizeGroupMain, finalizeRecord, finalizeRecord, finalizeRecordIteration, finalizeRecordMain, finalizeSegment, finalizeSegment, finalizeStream, getBeanClass, getField, handleConstant, handleField, initializeGroup, initializeGroupIteration, initializeGroupMain, initializeRecord, initializeRecordIteration, initializeRecordMain, initializeSegment, initializeStream, isBound, isReadEnabled, isWriteEnabled, parseDefaultValue, popParser, popProperty, pushParser, pushProperty, reflectAggregationType, reflectCollectionType, reflectPropertyType, reflectRecordAggregationType, setClassLoader, setTypeHandlerFactory, updateConstructorgetParent, handleComponent, processprotected Preprocessor createPreprocessor(StreamConfig config)
ParserFactorySupportcreatePreprocessor in class ParserFactorySupportconfig - the stream configuration to pre-processPreprocessorpublic Stream createStream(StreamConfig config) throws BeanIOConfigurationException
ParserFactorySupportcreateStream in interface ParserFactorycreateStream in class ParserFactorySupportconfig - the stream configurationStreamBeanIOConfigurationException - if the configuration is invalidprotected void initializeSegmentIteration(SegmentConfig config, Property property)
ParserFactorySupportParserFactorySupport.initializeSegment(SegmentConfig) to initialize segment iteration.initializeSegmentIteration in class ParserFactorySupportconfig - the segment configurationproperty - the Property bound to the segment, or null if no bean was boundprotected void finalizeSegmentIteration(SegmentConfig config, Property property)
ParserFactorySupportParserFactorySupport.finalizeSegment(SegmentConfig) to finalize segment iteration.finalizeSegmentIteration in class ParserFactorySupportconfig - the segment configurationprotected void initializeSegmentMain(SegmentConfig config, Property property)
ParserFactorySupportParserFactorySupport.initializeSegment(SegmentConfig) to initialize the segment.initializeSegmentMain in class ParserFactorySupportconfig - the segment configurationproperty - the property bound to the segment, or null if no property was boundprotected Property finalizeSegmentMain(SegmentConfig config) throws BeanIOConfigurationException
ParserFactorySupportParserFactorySupport.finalizeSegment(SegmentConfig) to finalize the segment component.finalizeSegmentMain in class ParserFactorySupportconfig - the segment configurationBeanIOConfigurationExceptionprotected boolean isSegmentRequired(SegmentConfig config)
isSegmentRequired in class ParserFactorySupportprotected StreamFormat createStreamFormat(StreamConfig config)
ParserFactorySupportStreamFormat.createStreamFormat in class ParserFactorySupportconfig - the stream configurationStreamFormatprotected RecordFormat createRecordFormat(RecordConfig config)
ParserFactorySupportRecordFormat.createRecordFormat in class ParserFactorySupportconfig - the record configurationRecordFormatprotected FieldFormat createFieldFormat(FieldConfig config, Class<?> type)
ParserFactorySupportFieldFormat.createFieldFormat in class ParserFactorySupportconfig - the field configurationtype - the property type, or null if not bound to a propertyFieldFormatprotected RecordParserFactory getDefaultRecordParserFactory()
ParserFactorySupportRecordParserFactory.getDefaultRecordParserFactory in class ParserFactorySupportRecordParserFactory