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 TypeMethodDescriptionvoidrun(CompleteDataType cdt, String path) Run traversalvoidRun the schema visitorvoidvisitField(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 tuplesvoidvisitSchema(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
-