public class ApacheAvroFactory extends AvroFactory
AvroFactory
implementation that uses
codecs from Apache Avro library instead of Jackson "native"
codecs._avroGeneratorFeatures, _avroParserFeatures, _useApacheLibDecoder, FORMAT_NAME_AVRO
_byteSymbolCanonicalizer, _characterEscapes, _factoryFeatures, _generatorFeatures, _inputDecorator, _maximumNonEscapedChar, _objectCodec, _outputDecorator, _parserFeatures, _quoteChar, _rootCharSymbols, _rootValueSeparator, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS, DEFAULT_QUOTE_CHAR, DEFAULT_ROOT_VALUE_SEPARATOR, FORMAT_NAME_JSON
Modifier | Constructor and Description |
---|---|
|
ApacheAvroFactory() |
protected |
ApacheAvroFactory(AvroFactory src,
com.fasterxml.jackson.core.ObjectCodec oc) |
|
ApacheAvroFactory(com.fasterxml.jackson.core.ObjectCodec oc) |
Modifier and Type | Method and Description |
---|---|
protected AvroParser |
_createParser(byte[] data,
int offset,
int len,
com.fasterxml.jackson.core.io.IOContext ctxt) |
protected AvroParser |
_createParser(InputStream in,
com.fasterxml.jackson.core.io.IOContext ctxt)
Overridable factory method that actually instantiates desired
parser.
|
AvroFactory |
copy() |
_createGenerator, _createGenerator, _createParser, _createParser, _createWriter, _nonByteSource, _nonByteTarget, builder, builderWithApacheDecoder, builderWithNativeDecoder, canHandleBinaryNatively, canUseSchema, configure, configure, createGenerator, createGenerator, createParser, createParser, createParser, createParser, createParser, disable, disable, enable, enable, getFormatGeneratorFeatures, getFormatName, getFormatParserFeatures, hasFormat, isEnabled, isEnabled, readResolve, rebuild, requiresPropertyOrdering, version
_checkInvalidCopy, _createContentReference, _createContentReference, _createContext, _createContext, _createNonBlockingContext, _createParser, _createUTF8Generator, _decorate, _decorate, _decorate, _decorate, _decorate, _getBufferRecycler, canParseAsync, canUseCharArrays, configure, configure, configure, createGenerator, createGenerator, createGenerator, createGenerator, createJsonGenerator, createJsonGenerator, createJsonGenerator, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createJsonParser, createNonBlockingByteArrayParser, createParser, createParser, createParser, createParser, createParser, disable, disable, disable, enable, enable, enable, getCharacterEscapes, getCodec, getFormatReadFeatureType, getFormatWriteFeatureType, getGeneratorFeatures, getInputDecorator, getOutputDecorator, getParserFeatures, getRootValueSeparator, hasJSONFormat, isEnabled, isEnabled, isEnabled, isEnabled, isEnabled, requiresCustomCodec, setCharacterEscapes, setCodec, setInputDecorator, setOutputDecorator, setRootValueSeparator
public ApacheAvroFactory()
public ApacheAvroFactory(com.fasterxml.jackson.core.ObjectCodec oc)
protected ApacheAvroFactory(AvroFactory src, com.fasterxml.jackson.core.ObjectCodec oc)
public AvroFactory copy()
copy
in class AvroFactory
protected AvroParser _createParser(InputStream in, com.fasterxml.jackson.core.io.IOContext ctxt) throws IOException
AvroFactory
_createParser
in class AvroFactory
IOException
protected AvroParser _createParser(byte[] data, int offset, int len, com.fasterxml.jackson.core.io.IOContext ctxt) throws IOException
_createParser
in class AvroFactory
IOException
Copyright © 2021 FasterXML. All rights reserved.