@Internal public abstract class DataTypeDefaultVisitor<R> extends Object implements DataTypeVisitor<R>
DataTypeVisitor
that redirects all calls to defaultMethod(DataType)
.Constructor and Description |
---|
DataTypeDefaultVisitor() |
Modifier and Type | Method and Description |
---|---|
protected abstract R |
defaultMethod(DataType dataType) |
R |
visit(AtomicDataType atomicDataType) |
R |
visit(CollectionDataType collectionDataType) |
R |
visit(FieldsDataType fieldsDataType) |
R |
visit(KeyValueDataType keyValueDataType) |
public R visit(AtomicDataType atomicDataType)
visit
in interface DataTypeVisitor<R>
public R visit(CollectionDataType collectionDataType)
visit
in interface DataTypeVisitor<R>
public R visit(FieldsDataType fieldsDataType)
visit
in interface DataTypeVisitor<R>
public R visit(KeyValueDataType keyValueDataType)
visit
in interface DataTypeVisitor<R>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.