Class TermsValuesSourceBuilder
java.lang.Object
org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder<TermsValuesSourceBuilder>
org.elasticsearch.search.aggregations.bucket.composite.TermsValuesSourceBuilder
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentFragment
public class TermsValuesSourceBuilder extends CompositeValuesSourceBuilder<TermsValuesSourceBuilder>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
name
-
Constructor Summary
Constructors Modifier Constructor Description TermsValuesSourceBuilder(java.lang.String name)
protected
TermsValuesSourceBuilder(StreamInput in)
-
Method Summary
Modifier and Type Method Description protected void
doXContentBody(XContentBuilder builder, ToXContent.Params params)
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig
innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)
Creates aCompositeValuesSourceConfig
for this source.protected void
innerWriteTo(StreamOutput out)
java.lang.String
type()
Methods inherited from class org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
build, equals, field, field, format, format, hashCode, missingBucket, missingBucket, name, order, order, order, script, script, timeZone, toXContent, valueType, valueType, writeTo
-
Constructor Details
-
TermsValuesSourceBuilder
public TermsValuesSourceBuilder(java.lang.String name) -
TermsValuesSourceBuilder
- Throws:
java.io.IOException
-
-
Method Details
-
innerWriteTo
- Specified by:
innerWriteTo
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Throws:
java.io.IOException
-
doXContentBody
protected void doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
doXContentBody
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Throws:
java.io.IOException
-
type
public java.lang.String type() -
innerBuild
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config) throws java.io.IOExceptionDescription copied from class:CompositeValuesSourceBuilder
Creates aCompositeValuesSourceConfig
for this source.- Specified by:
innerBuild
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Parameters:
queryShardContext
- The shard context for this source.config
- TheValuesSourceConfig
for this source.- Throws:
java.io.IOException
-