@Internal public class RawByteArrayConverter<T> extends Object implements DataStructureConverter<RawValueData<T>,byte[]>
RawType
of byte[]
external type.Modifier and Type | Method and Description |
---|---|
static RawByteArrayConverter<?> |
create(DataType dataType) |
byte[] |
toExternal(RawValueData<T> internal)
Converts to external data structure.
|
RawValueData<T> |
toInternal(byte[] 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(byte[] external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<RawValueData<T>,byte[]>
public byte[] toExternal(RawValueData<T> internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<RawValueData<T>,byte[]>
public static RawByteArrayConverter<?> create(DataType dataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.