public static class DumbDataFactory.DumbData extends Object implements IData
DataBucket
s.Constructor and Description |
---|
DumbDataFactory.DumbData(long pDataKey,
byte[] pValue)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDataKey()
Gets unique
IData key. |
com.google.common.hash.Funnel<IData> |
getFunnel()
Getting a Funnel for computing guava-based hashes.
|
int |
hashCode() |
void |
serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
setDataKey(long pKey)
Setting a data key to this dumb data.
|
String |
toString() |
public DumbDataFactory.DumbData(long pDataKey, byte[] pValue)
pDataKey
- to be setpValue
- to be setpublic void serialize(DataOutput pOutput) throws TTIOException
serialize
in interface IData
pOutput
- to serialize toTTIOException
public long getDataKey()
IData
key.
This key should be set over the IBucketWriteTrx.incrementDataKey
for getting the correct
offset
within retrievals.getDataKey
in interface IData
public void setDataKey(long pKey)
pKey
- to be setCopyright © 2013. All Rights Reserved.