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