public abstract class SortBuilder extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, wait
toXContent
public abstract SortBuilder order(SortOrder order)
SortOrder.ASC
.public abstract SortBuilder missing(Object missing)
Copyright © 2009–2016. All rights reserved.