Async object is used to pass required arguments to execute a Command asynchronously.
AuthOptions object contains the authentication credentials and tls config.
Client object contains your cluster object.
No description provided by the author
Cluster object contains your pool of Node objects, the NodeManager and the current stateData object of the cluster.
ClusterOptions object contains your pool of Node objects and the NodeManager If the NodeManager is not defined, the defaultNodeManager is used.
CommitHook object is used when fetching or updating pre- or post- commit hook bucket properties on Riak.
DeleteIndexCommand is used to delete a search index from Riak.
DeleteIndexCommandBuilder type is required for creating new instances of DeleteIndexCommand
command := NewDeleteIndexCommandBuilder().
DeleteValueCommand is used to delete a value from Riak KV.
DeleteValueCommandBuilder type is required for creating new instances of DeleteValueCommand
deleteValue := NewDeleteValueCommandBuilder().
FetchBucketPropsCommand is used to fetch the active / non-default properties for a bucket.
FetchBucketPropsCommandBuilder type is required for creating new instances of FetchBucketPropsCommand
command := NewFetchBucketPropsCommandBuilder().
FetchBucketPropsResponse contains the response data for both FetchBucketPropsCommand and FetchBucketTypePropsCommand.
FetchBucketTypePropsCommand is used to fetch the active / non-default properties for a bucket type.
FetchBucketTypePropsCommandBuilder type is required for creating new instances of FetchBucketTypePropsCommand
command := NewFetchBucketTypePropsCommandBuilder().
FetchCounterCommand fetches a counter CRDT from Riak.
FetchCounterCommandBuilder type is required for creating new instances of FetchCounterCommand
command := NewFetchCounterCommandBuilder().
FetchCounterResponse contains the response data for a FetchCounterCommand.
FetchIndexCommand is used to fetch a search index from Riak.
FetchIndexCommandBuilder type is required for creating new instances of FetchIndexCommand
command := NewFetchIndexCommandBuilder().
FetchMapCommand fetches a map CRDT from Riak.
FetchMapCommandBuilder type is required for creating new instances of FetchMapCommand
command := NewFetchMapCommandBuilder().
FetchMapResponse contains the response data for a FetchMapCommand.
FetchPreflistCommand is used to fetch the preference list for a key from Riak KV.
FetchPreflistCommandBuilder type is required for creating new instances of FetchPreflistCommand
preflist := NewFetchPreflistCommandBuilder().
FetchPreflistResponse contains the response data for a FetchPreflistCommand.
FetchSchemaCommand is used to GET a search schema from Riak.
FetchSchemaCommandBuilder type is required for creating new instances of FetchSchemaCommand
command := NewFetchSchemaCommandBuilder().
FetchSetCommand fetches a set CRDT from Riak.
FetchSetCommandBuilder type is required for creating new instances of FetchSetCommand
command := NewFetchSetCommandBuilder().
FetchSetResponse contains the response data for a FetchSetCommand.
FetchValueCommand is used to fetch / get a value from Riak KV.
FetchValueCommandBuilder type is required for creating new instances of FetchValueCommand
command := NewFetchValueCommandBuilder().
FetchValueResponse contains the response data for a FetchValueCommand.
GetServerInfoCommand is used to get Riak server information.
GetServerInfoResponse contains the response data for Riak server information.
Link is used to represent a Riak KV object link, which is a one way link to another object within Riak.
ListBucketsCommand is used to list buckets in a bucket type.
ListBucketsCommandBuilder type is required for creating new instances of ListBucketsCommand
cb := func(buckets []string) error { // Do something with the result return nil } cmd := NewListBucketsCommandBuilder().
ListBucketsResponse contains the response data for a ListBucketsCommand.
ListKeysCommand is used to fetch a list of keys within a bucket from Riak KV.
ListKeysCommandBuilder type is required for creating new instances of ListKeysCommand
cb := func(buckets []string) error { // Do something with the result return nil } cmd := NewListKeysCommandBuilder().
ListKeysResponse contains the response data for a ListKeysCommand.
Map object represents the Riak Map object and is returned within the Response objects for both UpdateMapCommand and FetchMapCommand.
MapOperation contains the instructions to send to Riak what updates to the Map you want to complete.
MapReduceCommand is used to fetch keys or data from Riak KV using the MapReduce technique.
MapReduceCommandBuilder type is required for creating new instances of MapReduceCommand
command := NewMapReduceCommandBuilder().
ModFun is used when fetching or updating LinkFun or ChashKeyfun bucket properties on Riak.
Options for creating a new Client.
Node is a struct that contains all of the information needed to connect and maintain connections with a Riak KV instance.
NodeOptions defines the RemoteAddress and operational configuration for connections to a Riak KV instance.
Object structure used for representing a KV Riak object.
Pair is used to store user defined meta data with a key and value.
PingCommand is used to verify Riak is online and reachable.
PingCommandBuilder is the command builder required for PingCommand.
PreflistItem represents an individual result from the FetchPreflistResponse result set.
PingCommand is used to verify Riak is online and reachable.
ResetBucketCommandBuilder is the command builder for ResetBucketCommand.
No description provided by the author
Schema object representing the solr schema that is returned from Riak.
SearchCommand is used to search Riak for values using search indexes & schemas.
SearchCommandBuilder type is required for creating new instances of SearchCommand
command := NewSearchCommandBuilder().
SearchDoc object representing solr document returned from Riak.
SearchIndex object representing the solr index that is returned from Riak.
SearchResponse contains the response data for a SearchCommand.
SecondaryIndexQueryCommand is used to query for keys from Riak KV using secondary indexes.
SecondaryIndexQueryCommandBuilder type is required for creating new instances of SecondaryIndexQueryCommand
command := NewSecondaryIndexQueryCommandBuilder().
SecondaryIndexQueryResponse contains the response data for a SecondaryIndexQueryCommand.
SecondaryIndexQueryResult represents an individual result of the SecondaryIndexQueryResponse result set.
StoreBucketPropsCommand is used to store changes to a buckets properties.
StoreBucketPropsCommandBuilder type is required for creating new instances of StoreBucketPropsCommand
command := NewStoreBucketPropsCommandBuilder().
StoreBucketTypePropsCommand is used to store changes to a bucket type's properties.
StoreBucketTypePropsCommandBuilder type is required for creating new instances of StoreBucketTypePropsCommand
command := NewStoreBucketTypePropsCommandBuilder().
StoreIndexCommand is sused to store a new search index on Riak.
StoreIndexCommandBuilder type is required for creating new instances of StoreIndexCommand
command := NewStoreIndexCommandBuilder().
StoreSchemaCommand is used to store / update a search schema in Riak.
StoreSchemaCommandBuilder type is required for creating new instances of StoreSchemaCommand
command := NewStoreSchemaCommandBuilder().
StoreValueCommand used to store a value from Riak KV.
StoreValueCommandBuilder type is required for creating new instances of StoreValueCommand
command := NewStoreValueCommandBuilder().
StoreValueResponse contains the response data for a StoreValueCommand.
TsCell represents a cell value within a time series row.
TsColumnDescription describes a Time Series column.
TsDeleteRowCommand is used to delete a value from Riak TS.
TsDeleteRowCommandBuilder type is required for creating new instances of TsDeleteRowCommand
cmd, err := NewTsDeleteRowCommandBuilder().
TsFetchRowCommand is used to fetch / get a value from Riak KV.
TsFetchRowCommandBuilder type is required for creating new instances of TsFetchRowCommand
key := make([]riak.TsCell, 3) key[0] = NewStringTsCell("South Atlantic") key[1] = NewStringTsCell("South Carolina") key[2] = NewTimestampTsCell(1420113600)
cmd, err := NewTsFetchRowCommandBuilder().
TsFetchRowResponse contains the response data for a TsFetchRowCommand.
TsListKeysCommand is used to fetch values from a table in Riak TS.
TsListKeysCommandBuilder type is required for creating new instances of TsListKeysCommand
cmd, err := NewTsListKeysCommandBuilder().
TsListKeysResponse contains the response data for a TsListKeysCommand.
TsQueryCommand is used to fetch / get a value from Riak TS.
TsQueryCommandBuilder type is required for creating new instances of TsQueryCommand
cmd, err := NewTsQueryCommandBuilder().
TsQueryResponse contains the response data for a TsQueryCommand.
TsStoreRowsCommand is sused to store a new row/s in Riak TS.
TsStoreRowsCommandBuilder type is required for creating new instances of StoreIndexCommand
cmd, err := NewTsStoreRowsCommandBuilder().
UpdateCounterCommand is used to increment or decrement a counter data type in Riak KV.
UpdateCounterCommandBuilder type is required for creating new instances of UpdateCounterCommand
command := NewUpdateCounterCommandBuilder().
UpdateCounterResponse is the object containing the response.
UpdateMapCommand updates a map CRDT in Riak.
UpdateMapCommandBuilder type is required for creating new instances of UpdateMapCommand
mapOp := &MapOperation{} mapOp.SetRegister("register_1", []byte("register_value_1"))
command := NewUpdateMapCommandBuilder().
UpdateMapResponse contains the response data for a UpdateMapCommand.
UpdateSetCommand stores or updates a set CRDT in Riak.
UpdateSetCommandBuilder type is required for creating new instances of UpdateSetCommand
adds := [][]byte{ []byte("a1"), []byte("a2"), []byte("a3"), []byte("a4"), }
command := NewUpdateSetCommandBuilder().
UpdateSetResponse contains the response data for a UpdateSetCommand.