Package | Description |
---|---|
com.basho.riak.client.api.commands.search |
Commands used for Riak search.
|
Modifier and Type | Method and Description |
---|---|
Search.Builder |
Search.Builder.filter(String query)
Set a filter to use for this search.
|
Search.Builder |
Search.Builder.returnFields(Iterable<String> fields)
Set the list of fields that should be returned for each record in the result set.
|
Search.Builder |
Search.Builder.returnFields(String... fields)
Set the list of fields that should be returned for each record in the result set.
|
Search.Builder |
Search.Builder.sort(String field)
Set a field to sort the results on.
|
<T> Search.Builder |
Search.Builder.withOption(Search.Option<T> option,
T value)
Add an optional setting for this command.
|
Search.Builder |
Search.Builder.withPresort(Search.Presort presort)
Set the presort option, you may presort the results by Key or Score.
|
Search.Builder |
Search.Builder.withRows(int rows)
Set the maximum number of rows to return.
|
Search.Builder |
Search.Builder.withStart(int start)
Set the starting row to return.
|
Constructor and Description |
---|
Search(Search.Builder builder) |
Copyright © 2016. All rights reserved.