public class TermsValuesSourceBuilder extends CompositeValuesSourceBuilder<TermsValuesSourceBuilder>
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsnameEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
TermsValuesSourceBuilder(StreamInput in) |
|
TermsValuesSourceBuilder(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig |
innerBuild(SearchContext context,
ValuesSourceConfig<?> config,
int pos,
int numPos,
org.apache.lucene.search.SortField sortField)
Creates a
CompositeValuesSourceConfig for this source. |
protected boolean |
innerEquals(TermsValuesSourceBuilder builder) |
protected int |
innerHashCode() |
protected void |
innerWriteTo(StreamOutput out) |
java.lang.String |
type() |
build, checkCanEarlyTerminate, equals, field, field, hashCode, missing, missing, name, order, order, order, script, script, toXContent, valueType, valueType, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic TermsValuesSourceBuilder(java.lang.String name)
protected TermsValuesSourceBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void innerWriteTo(StreamOutput out) throws java.io.IOException
innerWriteTo in class CompositeValuesSourceBuilder<TermsValuesSourceBuilder>java.io.IOExceptionprotected void doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class CompositeValuesSourceBuilder<TermsValuesSourceBuilder>java.io.IOExceptionprotected int innerHashCode()
innerHashCode in class CompositeValuesSourceBuilder<TermsValuesSourceBuilder>protected boolean innerEquals(TermsValuesSourceBuilder builder)
innerEquals in class CompositeValuesSourceBuilder<TermsValuesSourceBuilder>public java.lang.String type()
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig innerBuild(SearchContext context, ValuesSourceConfig<?> config, int pos, int numPos, org.apache.lucene.search.SortField sortField) throws java.io.IOException
CompositeValuesSourceBuilderCompositeValuesSourceConfig for this source.innerBuild in class CompositeValuesSourceBuilder<TermsValuesSourceBuilder>context - The search context for this source.config - The ValuesSourceConfig for this source.pos - The position of this source in the composite key.numPos - The total number of positions in the composite key.sortField - The SortField of the index sort at this position or null if not present.java.io.IOException