org.apache.accumulo.core.data
Class KeyValue
java.lang.Object
org.apache.accumulo.core.data.KeyValue
- All Implemented Interfaces:
- Map.Entry<Key,Value>
public class KeyValue
- extends Object
- implements Map.Entry<Key,Value>
key
public Key key
value
public byte[] value
KeyValue
public KeyValue(Key key,
byte[] value)
KeyValue
public KeyValue(Key key,
ByteBuffer value)
getKey
public Key getKey()
- Specified by:
getKey
in interface Map.Entry<Key,Value>
getValue
public Value getValue()
- Specified by:
getValue
in interface Map.Entry<Key,Value>
setValue
public Value setValue(Value value)
- Specified by:
setValue
in interface Map.Entry<Key,Value>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.