| Modifier and Type | Field and Description |
|---|---|
| private static EncoderFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public final Symbol | |
| private Symbol | Returns: The start symbol for the resolving grammarThe resolver to be implemented action,The <Action> to symbol map of start symbols of resolving
grammars so far. seen)Takes a |
| private static byte[] | |
| private Symbol |
| factory | back to summary |
|---|---|
| private static EncoderFactory factory | |
| ResolvingGrammarGenerator | back to summary |
|---|---|
| public ResolvingGrammarGenerator() | |
| encode | back to summary |
|---|---|
| public static void encode(Encoder e, Schema s, JsonNode n) throws IOException Encodes the given Json node n on to the encoder e according to the schema s. | |
| generate | back to summary |
|---|---|
| public final Symbol generate(Schema writer, Schema reader) throws IOException Resolves the writer schema writer and the reader schema reader and returns the start symbol for the grammar generated. | |
| generate | back to summary |
|---|---|
| private Symbol generate(Resolver. Takes a | |
| getBinary | back to summary |
|---|---|
| private static byte[] getBinary(Schema s, JsonNode n) throws IOException Returns the Avro binary encoded version of n according to the schema s. | |
| simpleGen | back to summary |
|---|---|
| private Symbol simpleGen(Schema s, Map<Object, Symbol> seen) | |