Writeable
, ToXContent
, ToXContentObject
public class NestedSortBuilder extends java.lang.Object implements Writeable, ToXContentObject
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static ParseField |
FILTER_FIELD |
|
static ParseField |
NESTED_FIELD |
|
static ParseField |
PATH_FIELD |
EMPTY_PARAMS
Constructor | Description |
---|---|
NestedSortBuilder(java.lang.String path) |
|
NestedSortBuilder(StreamInput in) |
Modifier and Type | Method | 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, wait
isFragment
public 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.IOException
public 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 ToXContent
java.io.IOException
public static NestedSortBuilder fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NestedSortBuilder rewrite(QueryRewriteContext ctx) throws java.io.IOException
java.io.IOException