public abstract static class SchemaUtil.SchemaTraversal<T extends Exception> extends Object
Constructor and Description |
---|
SchemaTraversal() |
Modifier and Type | Method and Description |
---|---|
void |
run(CompleteDataType cdt,
String path) |
void |
run(Schema schema,
String path)
run the schema visitor
|
void |
visitField(Schema.Field field,
String fieldPath)
This method will be called for each and every field in the schema, including
nested fields and fields in lists of tuples
|
void |
visitSchema(Schema schema,
String fieldPath)
This method will be called for each and every schema
|
public void visitSchema(Schema schema, String fieldPath) throws T extends Exception
public void visitField(Schema.Field field, String fieldPath) throws T extends Exception
public void run(CompleteDataType cdt, String path) throws T extends Exception