voldemort.client.protocol.admin
Class AdminClient.StoreOperations

java.lang.Object
  extended by voldemort.client.protocol.admin.AdminClient.StoreOperations
Enclosing class:
AdminClient

public class AdminClient.StoreOperations
extends java.lang.Object


Constructor Summary
AdminClient.StoreOperations()
           
 
Method Summary
 java.util.List<Versioned<byte[]>> getNodeKey(java.lang.String storeName, int nodeId, ByteArray key)
          Fetch key/value tuple for given key for a specific store on specified node.
 void putNodeKeyValue(java.lang.String storeName, NodeValue<ByteArray,byte[]> nodeKeyValue)
          This method updates exactly one key/value for a specific store on a specific node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminClient.StoreOperations

public AdminClient.StoreOperations()
Method Detail

putNodeKeyValue

public void putNodeKeyValue(java.lang.String storeName,
                            NodeValue<ByteArray,byte[]> nodeKeyValue)
This method updates exactly one key/value for a specific store on a specific node.

Parameters:
storeName - Name of the store
nodeKeyValue - A specific key/value to update on a specific node.

getNodeKey

public java.util.List<Versioned<byte[]>> getNodeKey(java.lang.String storeName,
                                                    int nodeId,
                                                    ByteArray key)
Fetch key/value tuple for given key for a specific store on specified node.

Parameters:
storeName - Name of the store
nodeId - Id of the node to query from
key - for which to query
Returns:
List> of values for the specified NodeKey.


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu