|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap.SimpleImmutableEntry<Key,Value> org.apache.accumulo.core.data.KeyValue
public class KeyValue
A key/value pair. The key and value may not be set after construction.
Constructor Summary | |
---|---|
KeyValue(Key key,
byte[] value)
Creates a new key/value pair. |
|
KeyValue(Key key,
ByteBuffer value)
Creates a new key/value pair. |
|
KeyValue(Key key,
Value value)
Creates a new key/value pair. |
Method Summary |
---|
Methods inherited from class java.util.AbstractMap.SimpleImmutableEntry |
---|
equals, getKey, getValue, hashCode, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyValue(Key key, byte[] value)
key
- keyvalue
- bytes of valuepublic KeyValue(Key key, ByteBuffer value)
key
- keyvalue
- buffer containing bytes of valuepublic KeyValue(Key key, Value value)
key
- keyvalue
- buffer containing bytes of value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |