Uses of Class
org.apache.avro.io.parsing.Symbol
Package
Description
Utilities for Encoding and Decoding Avro data.
Implementation of Avro schemas as LL(1) grammars.
-
Uses of Symbol in org.apache.avro.io
Modifier and TypeMethodDescriptionModifier and TypeMethodDescription -
Uses of Symbol in org.apache.avro.io.parsing
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static final class
static class
static class
static class
static class
protected static class
protected static class
static class
static class
static class
Modifier and TypeFieldDescriptionstatic final Symbol
Symbol.ARRAY_END
static final Symbol
Symbol.ARRAY_START
static final Symbol
Symbol.BOOLEAN
static final Symbol
Symbol.BYTES
static final Symbol
Symbol.DEFAULT_END_ACTION
static final Symbol
Symbol.DOUBLE
final Symbol
Symbol.Repeater.end
static final Symbol
Symbol.ENUM
static final Symbol
Symbol.FIELD_ACTION
static final Symbol
Symbol.FIELD_END
static final Symbol
Symbol.FIXED
static final Symbol
Symbol.FLOAT
static final Symbol
Symbol.INT
static final Symbol
Symbol.ITEM_END
static final Symbol
Symbol.LONG
static final Symbol
Symbol.MAP_END
static final Symbol
Symbol.MAP_KEY_MARKER
static final Symbol
Symbol.MAP_START
static final Symbol
Symbol.NULL
The terminal symbols for the grammar.final Symbol[]
Symbol.production
The production for this symbol.final Symbol
Symbol.ResolvingAction.reader
static final Symbol
Symbol.RECORD_END
static final Symbol
Symbol.RECORD_START
protected Symbol[]
Parser.stack
static final Symbol
Symbol.STRING
final Symbol[]
Symbol.Alternative.symbols
final Symbol
Symbol.UnionAdjustAction.symToParse
final Symbol
Symbol.SkipAction.symToSkip
static final Symbol
Symbol.UNION
static final Symbol
Symbol.UNION_END
final Symbol
Symbol.ResolvingAction.writer
static final Symbol
Symbol.WRITER_UNION_ACTION
Modifier and TypeMethodDescriptionfinal Symbol
Recursively replaces the symbol at the top of the stack with its production, until the top is a terminal.Handle the action symbol top when the input is sought to be taken off the stack.Symbol.flatten
(Map<Symbol.Sequence, Symbol.Sequence> map, Map<Symbol.Sequence, List<org.apache.avro.io.parsing.Symbol.Fixup>> map2) Returns the non-terminal that is the start symbol for the grammar for the grammar for the given schema sc.JsonGrammarGenerator.generate
(Schema sc, Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS, Symbol> seen) Returns the non-terminal that is the start symbol for grammar of the given schema sc.final Symbol
Resolves the writer schema writer and the reader schema reader and returns the start symbol for the grammar generated.Returns the non-terminal that is the start symbol for the grammar for the given schema sc.ValidatingGrammarGenerator.generate
(Schema sc, Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS, Symbol> seen) Returns the non-terminal that is the start symbol for the grammar for the given schema sc.Symbol.Sequence.get
(int index) Symbol.Alternative.getSymbol
(int index) Parser.popSymbol()
Pops and returns the top symbol from the stack.Parser.topSymbol()
Returns the top symbol from the stack.Modifier and TypeMethodDescriptionfinal Symbol
Recursively replaces the symbol at the top of the stack with its production, until the top is a terminal.Handle the action symbol top when the input is sought to be taken off the stack.protected static int
Symbol.flattenedSize
(Symbol[] symbols, int start) Returns the amount of space required to flatten the given sub-array of symbols.static boolean
Returns true if the Parser contains any Error symbol, indicating that it may fail for some inputs.final void
Parser.pushProduction
(Symbol sym) Pushes the production for the given symbol sym.void
Parser.pushSymbol
(Symbol sym) Pushes sym on to the stack.static Symbol.SkipAction
Symbol.skipAction
(Symbol symToSkip) final void
SkipParser.skipSymbol
(Symbol symToSkip) Pushes the given symbol on to the skip and skips it.static Symbol.UnionAdjustAction
Symbol.unionAdjustAction
(int rindex, Symbol sym) Modifier and TypeMethodDescriptionJsonGrammarGenerator.generate
(Schema sc, Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS, Symbol> seen) Returns the non-terminal that is the start symbol for grammar of the given schema sc.ValidatingGrammarGenerator.generate
(Schema sc, Map<org.apache.avro.io.parsing.ValidatingGrammarGenerator.LitS, Symbol> seen) Returns the non-terminal that is the start symbol for the grammar for the given schema sc.ModifierConstructorDescriptionParser
(Symbol root, Parser.ActionHandler symbolHandler) SkipAction
(Symbol symToSkip) Deprecated.SkipParser
(Symbol root, Parser.ActionHandler symbolHandler, SkipParser.SkipHandler skipHandler) protected
Symbol
(Symbol.Kind kind, Symbol[] production) UnionAdjustAction
(int rindex, Symbol symToParse) Deprecated.