@Internal public class ArrayObjectArrayConverter<E> extends Object implements DataStructureConverter<ArrayData,E[]>
ArrayType
of nested primitive or object arrays external types.Modifier and Type | Method and Description |
---|---|
static ArrayObjectArrayConverter<?> |
create(DataType dataType) |
static <E> ArrayObjectArrayConverter<E> |
createForElement(DataType elementDataType) |
void |
open(ClassLoader classLoader) |
E[] |
toExternal(ArrayData internal)
Converts to external data structure.
|
ArrayData |
toInternal(E[] 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<ArrayData,E[]>
public ArrayData toInternal(E[] external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<ArrayData,E[]>
public E[] toExternal(ArrayData internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<ArrayData,E[]>
public static ArrayObjectArrayConverter<?> create(DataType dataType)
public static <E> ArrayObjectArrayConverter<E> createForElement(DataType elementDataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.