AvroFactory implementation that uses
codecs from Apache Avro library instead of Jackson "native"
codecs.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected AvroParser | _createParser(InputStream
InputStream to use for reading content to parse in, IOContext I/O context to use for parsing ctxt)Overrides com. Overridable factory method that actually instantiates desired parser. |
| protected AvroParser | _createParser(byte[]
Buffer that contains content to parse data, int Offset to the first character of data to parse offset, int Number of characters within buffer to parse len, IOContext I/O context to use for parsing ctxt)Overrides com. Overridable factory method that actually instantiates parser
using given |
| public AvroFactory | copy()
Overrides com. Method for constructing a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| ApacheAvroFactory | back to summary |
|---|---|
| public ApacheAvroFactory() | |
| ApacheAvroFactory | back to summary |
|---|---|
| public ApacheAvroFactory(ObjectCodec oc) | |
| ApacheAvroFactory | back to summary |
|---|---|
| protected ApacheAvroFactory(AvroFactory src, ObjectCodec oc) | |
| _createParser | back to summary |
|---|---|
| protected AvroParser _createParser(InputStream in, IOContext ctxt) throws IOException Overrides com. Doc from com. Overridable factory method that actually instantiates desired parser.
| |
| _createParser | back to summary |
|---|---|
| protected AvroParser _createParser(byte[] data, int offset, int len, IOContext ctxt) throws IOException Overrides com. Doc from com. Overridable factory method that actually instantiates parser
using given This method is specifically designed to remain compatible between minor versions so that sub-classes can count on it being called as expected. That is, it is part of official interface from sub-class perspective, although not a public method available to users of factory implementations.
| |
| copy | back to summary |
|---|---|
| public AvroFactory copy() Overrides com. Doc from com. Method for constructing a new
| |