public class FixedLengthParserFactory extends FlatParserFactory
ParserFactory
for the fixed length stream format.popProperty
Constructor and Description |
---|
FixedLengthParserFactory()
Constructs a new FixedLengthParserFactory.
|
Modifier and Type | Method and Description |
---|---|
FieldFormat |
createFieldFormat(FieldConfig config,
Class<?> type)
Creates a format specific
FieldFormat . |
protected Preprocessor |
createPreprocessor(StreamConfig config)
Creates a stream configuration pre-processor.
|
RecordFormat |
createRecordFormat(RecordConfig config)
Creates a format specific
RecordFormat . |
StreamFormat |
createStreamFormat(StreamConfig config)
Creates a format specific
StreamFormat . |
protected RecordParserFactory |
getDefaultRecordParserFactory()
Returns the default
RecordParserFactory . |
finalizeRecord
createAggregation, createProperty, createRecordAggregation, createRecordParserFactory, createStream, finalizeGroup, finalizeGroup, finalizeGroupIteration, finalizeGroupMain, finalizeRecord, finalizeRecordIteration, finalizeRecordMain, finalizeSegment, finalizeSegment, finalizeSegmentIteration, finalizeSegmentMain, finalizeStream, getBeanClass, getField, handleConstant, handleField, initializeGroup, initializeGroupIteration, initializeGroupMain, initializeRecord, initializeRecordIteration, initializeRecordMain, initializeSegment, initializeSegmentIteration, initializeSegmentMain, initializeStream, isBound, isReadEnabled, isSegmentRequired, isWriteEnabled, parseDefaultValue, popParser, popProperty, pushParser, pushProperty, reflectAggregationType, reflectCollectionType, reflectPropertyType, reflectRecordAggregationType, setClassLoader, setTypeHandlerFactory, updateConstructor
getParent, handleComponent, process
public FixedLengthParserFactory()
protected Preprocessor createPreprocessor(StreamConfig config)
ParserFactorySupport
createPreprocessor
in class FlatParserFactory
config
- the stream configuration to pre-processPreprocessor
public StreamFormat createStreamFormat(StreamConfig config)
ParserFactorySupport
StreamFormat
.createStreamFormat
in class ParserFactorySupport
config
- the stream configurationStreamFormat
public RecordFormat createRecordFormat(RecordConfig config)
ParserFactorySupport
RecordFormat
.createRecordFormat
in class ParserFactorySupport
config
- the record configurationRecordFormat
public FieldFormat createFieldFormat(FieldConfig config, Class<?> type)
ParserFactorySupport
FieldFormat
.createFieldFormat
in class ParserFactorySupport
config
- the field configurationtype
- the property type, or null if not bound to a propertyFieldFormat
protected RecordParserFactory getDefaultRecordParserFactory()
ParserFactorySupport
RecordParserFactory
.getDefaultRecordParserFactory
in class ParserFactorySupport
RecordParserFactory