Package com.streambase.sb
Class SchemaUtil.SchemaTraversal<T extends Exception>
java.lang.Object
com.streambase.sb.SchemaUtil.SchemaTraversal<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(CompleteDataType cdt, String path) Run traversalvoid
Run the schema visitorvoid
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 tuplesvoid
visitSchema
(Schema schema, String fieldPath) This method will be called for each and every schema
-
Constructor Details
-
SchemaTraversal
public SchemaTraversal()
-
-
Method Details
-
visitSchema
-
visitField
This method will be called for each and every field in the schema, including nested fields and fields in lists of tuples- Parameters:
field
- fieldfieldPath
- field path- Throws:
T
- exception type
-
run
Run traversal- Parameters:
cdt
- complete data typepath
- schema path- Throws:
T
- exception type
-
run
-