@Internal public final class DataStructureConverters extends Object
Data structure converters are used at the edges for the API for converting between internal
structures (see RowData) and external structures (see DataType.getConversionClass()).
This is useful for UDFs, sources, sinks, or exposing data in the API (e.g. via a collect()).
Note: It is NOT the responsibility of a converter to normalize the data. Thus, a converter does neither change the precision of a timestamp nor prune/expand strings to their defined length. This might be the responsibility of data classes that are called transitively.
| 构造器和说明 |
|---|
DataStructureConverters() |
public static DataStructureConverter<Object,Object> getConverter(org.apache.flink.table.types.DataType dataType)
DataType.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.