Class CloningVisitor

java.lang.Object
org.apache.avro.compiler.schema.CloningVisitor
All Implemented Interfaces:
SchemaVisitor<Schema>

public final class CloningVisitor extends Object implements SchemaVisitor<Schema>
this visitor will create a clone of the original Schema with docs and other nonessential fields stripped by default. what attributes are copied is customizable.