public abstract class SortBuilder extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
SortBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract SortBuilder |
missing(Object missing)
Sets the value when a field is missing in a doc.
|
abstract SortBuilder |
order(SortOrder order)
The order of sorting.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoXContentpublic abstract SortBuilder order(SortOrder order)
SortOrder.ASC.public abstract SortBuilder missing(Object missing)
Copyright © 2009–2017. All rights reserved.