org.apache.avro.io.parsing
Class Symbol.Sequence
java.lang.Object
org.apache.avro.io.parsing.Symbol
org.apache.avro.io.parsing.Symbol.Sequence
- All Implemented Interfaces:
- Iterable<Symbol>
- Enclosing class:
- Symbol
protected static class Symbol.Sequence
- extends Symbol
- implements Iterable<Symbol>
Nested classes/interfaces inherited from class org.apache.avro.io.parsing.Symbol |
Symbol.Alternative, Symbol.DefaultStartAction, Symbol.EnumAdjustAction, Symbol.EnumLabelsAction, Symbol.ErrorAction, Symbol.FieldAdjustAction, Symbol.FieldOrderAction, Symbol.ImplicitAction, Symbol.IntCheckAction, Symbol.Kind, Symbol.Repeater, Symbol.ResolvingAction, Symbol.Root, Symbol.Sequence, Symbol.SkipAction, Symbol.UnionAdjustAction, Symbol.WriterUnionAction |
Fields inherited from class org.apache.avro.io.parsing.Symbol |
ARRAY_END, ARRAY_START, BOOLEAN, BYTES, DEFAULT_END_ACTION, DOUBLE, ENUM, FIELD_ACTION, FIXED, FLOAT, INT, ITEM_END, kind, LONG, MAP_END, MAP_KEY_MARKER, MAP_START, NULL, production, RECORD_END, RECORD_START, STRING, UNION, UNION_END |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public Symbol get(int index)
size
public int size()
iterator
public Iterator<Symbol> iterator()
- Specified by:
iterator
in interface Iterable<Symbol>
flatten
public Symbol.Sequence flatten(Map<Symbol.Sequence,Symbol.Sequence> map,
Map<Symbol.Sequence,List<org.apache.avro.io.parsing.Symbol.Fixup>> map2)
- Overrides:
flatten
in class Symbol
flattenedSize
public final int flattenedSize()
- Overrides:
flattenedSize
in class Symbol
Copyright © 2010 The Apache Software Foundation