@Internal public class StructuredObjectConverter<T> extends Object implements DataStructureConverter<org.apache.flink.table.data.RowData,T>
StructuredType of its implementation class.| Modifier and Type | Method and Description |
|---|---|
static StructuredObjectConverter<?> |
create(org.apache.flink.table.types.DataType dataType) |
void |
open(ClassLoader classLoader) |
T |
toExternal(org.apache.flink.table.data.RowData internal)
Converts to external data structure.
|
org.apache.flink.table.data.RowData |
toInternal(T external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisIdentityConversion, toExternalOrNull, toInternalOrNullpublic void open(ClassLoader classLoader)
open in interface DataStructureConverter<org.apache.flink.table.data.RowData,T>public org.apache.flink.table.data.RowData toInternal(T external)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toInternal in interface DataStructureConverter<org.apache.flink.table.data.RowData,T>public T toExternal(org.apache.flink.table.data.RowData internal)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toExternal in interface DataStructureConverter<org.apache.flink.table.data.RowData,T>public static StructuredObjectConverter<?> create(org.apache.flink.table.types.DataType dataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.