| Constructor and Description |
|---|
Builder(String tableName,
Iterable<Cell> keyValues)
Construct a Builder for a Time Series Fetch command.
|
| Modifier and Type | Method and Description |
|---|---|
Fetch |
build()
Construct a Time Series Fetch object.
|
Fetch.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
public Builder(String tableName, Iterable<Cell> keyValues)
tableName - Required. The name of the table to fetch from.keyValues - Required. The cells that make up the key that identifies which row to fetch.
Must be in the same order as the table definition.public Fetch.Builder withTimeout(int timeout)
By default, Riak has a 60s timeout for operations. Setting this value will override that default for this operation.
timeout - the timeout in milliseconds to be sent to riak.public Fetch build()
Copyright © 2016. All rights reserved.