org.apache.accumulo.core.data
Class KeyValue

java.lang.Object
  extended by org.apache.accumulo.core.data.KeyValue
All Implemented Interfaces:
java.util.Map.Entry<Key,Value>

public class KeyValue
extends java.lang.Object
implements java.util.Map.Entry<Key,Value>


Field Summary
 Key key
           
 byte[] value
           
 
Constructor Summary
KeyValue(Key key, byte[] value)
           
 
Method Summary
 Key getKey()
           
 Value getValue()
           
 Value setValue(Value value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

key

public Key key

value

public byte[] value
Constructor Detail

KeyValue

public KeyValue(Key key,
                byte[] value)
Method Detail

getKey

public Key getKey()
Specified by:
getKey in interface java.util.Map.Entry<Key,Value>

getValue

public Value getValue()
Specified by:
getValue in interface java.util.Map.Entry<Key,Value>

setValue

public Value setValue(Value value)
Specified by:
setValue in interface java.util.Map.Entry<Key,Value>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.