Last active
August 29, 2015 13:57
-
-
Save takabow/9901866 to your computer and use it in GitHub Desktop.
riak-vba-client sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim cluster As RiakCluster | |
Set cluster = New RiakCluster | |
Dim node1 As RiakNode | |
Set node1 = New RiakNode | |
node1.RemoteAddress = "192.168.0.1" | |
node1.Port = 10018 | |
Dim node2 As RiakNode | |
Set node2 = New RiakNode | |
node2.RemoteAddress = "192.168.0.2" | |
node2.Port = 10018 | |
cluster.AddRiakNode node1 | |
cluster.AddRiakNode node2 | |
Dim response As RiakResponse | |
Set response = cluster.Fetch("bucket1", "key1") | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment