public final class SortOptions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SortOptions.Builder
A builder that constructs
SortOptionss. |
| Modifier and Type | Method and Description |
|---|---|
int |
getLimit() |
MatchScorer |
getMatchScorer() |
java.util.List<SortExpression> |
getSortExpressions() |
static SortOptions.Builder |
newBuilder()
Creates and returns a SortOptions Builder.
|
java.lang.String |
toString() |
public java.util.List<SortExpression> getSortExpressions()
public MatchScorer getMatchScorer()
MatchScorer used to score the documentspublic int getLimit()
public static SortOptions.Builder newBuilder()
SortOptions.Builder. Set the parameters for
SortOptions on the Builder, and use the SortOptions.Builder.build() method
to create a concrete instance of SortOptionspublic java.lang.String toString()
toString in class java.lang.Object