public class LongArrayByteBufferConverter extends Object implements TypeConverter<long[],ByteBuffer>
Constructor and Description |
---|
LongArrayByteBufferConverter() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
toDatastoreType(long[] memberValue)
Method to convert the passed member value to the datastore type.
|
long[] |
toMemberType(ByteBuffer datastoreValue)
Method to convert the passed datastore value to the member type.
|
public ByteBuffer toDatastoreType(long[] memberValue)
TypeConverter
toDatastoreType
in interface TypeConverter<long[],ByteBuffer>
memberValue
- Value from the memberpublic long[] toMemberType(ByteBuffer datastoreValue)
TypeConverter
toMemberType
in interface TypeConverter<long[],ByteBuffer>
datastoreValue
- Value from the datastoreCopyright © 2018. All rights reserved.