@Beta @ParametersAreNonnullByDefault public interface SchemaVisitor<T>
Modifier and Type | Method and Description |
---|---|
SchemaVisitorAction |
afterVisitNonTerminal(org.apache.avro.Schema nonTerminal)
Invoked for schemas with children after its children have been visited.
|
default T |
get()
Invoked when visiting is complete.
|
SchemaVisitorAction |
visitNonTerminal(org.apache.avro.Schema nonTerminal)
Invoked for schema with children before proceeding to visit the children.
|
SchemaVisitorAction |
visitTerminal(org.apache.avro.Schema terminal)
Invoked for schemas that do not have "child" schemas or for a previously encountered schema with children
which will be treated as a terminal.
|
@Nonnull @CheckReturnValue SchemaVisitorAction visitTerminal(org.apache.avro.Schema terminal)
terminal
- @Nonnull @CheckReturnValue SchemaVisitorAction visitNonTerminal(org.apache.avro.Schema nonTerminal)
nonTerminal
- @Nonnull @CheckReturnValue SchemaVisitorAction afterVisitNonTerminal(org.apache.avro.Schema nonTerminal)
nonTerminal
- Copyright © 2018 SPF4J. All rights reserved.