public class NestedSortBuilder extends java.lang.Object implements Writeable, ToXContentObject
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static ParseField |
FILTER_FIELD |
static ParseField |
NESTED_FIELD |
static ParseField |
PATH_FIELD |
EMPTY_PARAMS| Constructor and Description |
|---|
NestedSortBuilder(StreamInput in) |
NestedSortBuilder(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static NestedSortBuilder |
fromXContent(XContentParser parser) |
QueryBuilder |
getFilter() |
NestedSortBuilder |
getNestedSort() |
java.lang.String |
getPath() |
int |
hashCode() |
NestedSortBuilder |
rewrite(QueryRewriteContext ctx) |
NestedSortBuilder |
setFilter(QueryBuilder filter) |
NestedSortBuilder |
setNestedSort(NestedSortBuilder nestedSortBuilder) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic static final ParseField NESTED_FIELD
public static final ParseField PATH_FIELD
public static final ParseField FILTER_FIELD
public NestedSortBuilder(java.lang.String path)
public NestedSortBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPath()
public QueryBuilder getFilter()
public NestedSortBuilder setFilter(QueryBuilder filter)
public NestedSortBuilder getNestedSort()
public NestedSortBuilder setNestedSort(NestedSortBuilder nestedSortBuilder)
public void writeTo(StreamOutput out) throws java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic static NestedSortBuilder fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic NestedSortBuilder rewrite(QueryRewriteContext ctx) throws java.io.IOException
java.io.IOException