public final class DataTypePrecisionFixer extends Object implements DataTypeVisitor<DataType>
TypeInformation
.Constructor and Description |
---|
DataTypePrecisionFixer(LogicalType logicalType)
Creates a new instance with the given logical type.
|
Modifier and Type | Method and Description |
---|---|
DataType |
visit(AtomicDataType dataType) |
DataType |
visit(CollectionDataType collectionDataType) |
DataType |
visit(FieldsDataType fieldsDataType) |
DataType |
visit(KeyValueDataType keyValueDataType) |
public DataTypePrecisionFixer(LogicalType logicalType)
logicalType
- the logical type which carries the correct precisions.public DataType visit(AtomicDataType dataType)
visit
in interface DataTypeVisitor<DataType>
public DataType visit(CollectionDataType collectionDataType)
visit
in interface DataTypeVisitor<DataType>
public DataType visit(FieldsDataType fieldsDataType)
visit
in interface DataTypeVisitor<DataType>
public DataType visit(KeyValueDataType keyValueDataType)
visit
in interface DataTypeVisitor<DataType>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.