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