Package org.apache.avro.io
Class ParsingDecoder
java.lang.Object
org.apache.avro.io.Decoder
org.apache.avro.io.ParsingDecoder
- All Implemented Interfaces:
Parser.ActionHandler
,SkipParser.SkipHandler
- Direct Known Subclasses:
JsonDecoder
,ValidatingDecoder
public abstract class ParsingDecoder
extends Decoder
implements Parser.ActionHandler, SkipParser.SkipHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Skips the action at the top of the stack.protected abstract void
void
Skips the symbol at the top of the stack.Methods inherited from class org.apache.avro.io.Decoder
arrayNext, mapNext, readArrayStart, readBoolean, readBytes, readDouble, readEnum, readFixed, readFixed, readFloat, readIndex, readInt, readLong, readMapStart, readNull, readString, readString, skipArray, skipBytes, skipFixed, skipMap, skipString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.avro.io.parsing.Parser.ActionHandler
doAction
-
Field Details
-
parser
-
-
Constructor Details
-
ParsingDecoder
- Throws:
IOException
-
-
Method Details
-
skipFixed
- Throws:
IOException
-
skipAction
Description copied from interface:SkipParser.SkipHandler
Skips the action at the top of the stack.- Specified by:
skipAction
in interfaceSkipParser.SkipHandler
- Throws:
IOException
-
skipTopSymbol
Description copied from interface:SkipParser.SkipHandler
Skips the symbol at the top of the stack.- Specified by:
skipTopSymbol
in interfaceSkipParser.SkipHandler
- Throws:
IOException
-