Decodes the content of the supplied ValueState
as an array of Objects. Usually this array has one element containing the single object value encoded in the ValueState
. However, if multiple items were written to the original Value
from which the ValueState
was derived in Stream Mode, this method returns all of the encoded objects.
If the valueState
represents an undefined value, this method returns an array of length zero. If the valueState
encodes a value of null
, then this method returns an array containing one element which is null
.
@param valueState Representation of an encoded {@link Value}.
@param context Object passed to any {@link com.persistit.encoding.ValueCoder}used in decoding the value. May be
null
.
@return Array of zero or more decoded objects
@throws RemoteException