public class GridIndexingEntityAdapter<T> extends Object implements GridIndexingEntity<T>
GridIndexingEntity.| Constructor and Description |
|---|
GridIndexingEntityAdapter(T val,
byte[] bytes) |
public GridIndexingEntityAdapter(T val, @Nullable byte[] bytes)
val - Value.bytes - Value marshalled by GridMarshaller.public T value()
null only
if actual value is null. Otherwise, it will unmarshal
the GridIndexingEntity.bytes() and return the actual value.value in interface GridIndexingEntity<T>public byte[] bytes()
bytes in interface GridIndexingEntity<T>public boolean hasValue()
hasValue in interface GridIndexingEntity<T>True if entity contains unmarshalled value, false
otherwise.Copyright © 2014. All rights reserved.