Class TermsValuesSourceBuilder
java.lang.Object
org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder<TermsValuesSourceBuilder>
org.elasticsearch.search.aggregations.bucket.composite.TermsValuesSourceBuilder
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
public class TermsValuesSourceBuilder
extends CompositeValuesSourceBuilder<TermsValuesSourceBuilder>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.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
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
protected ValuesSourceType
protected CompositeValuesSourceConfig
innerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config)
Actually build the values source and its associated configuration.protected void
innerWriteTo(StreamOutput out)
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, userValuetypeHint, userValuetypeHint, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
TermsValuesSourceBuilder
-
TermsValuesSourceBuilder
- Throws:
IOException
-
-
Method Details
-
innerWriteTo
- Specified by:
innerWriteTo
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Throws:
IOException
-
doXContentBody
protected void doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
doXContentBody
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Throws:
IOException
-
type
-
getDefaultValuesSourceType
- Specified by:
getDefaultValuesSourceType
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
-
innerBuild
protected CompositeValuesSourceConfig innerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config) throws IOExceptionDescription copied from class:CompositeValuesSourceBuilder
Actually build the values source and its associated configuration.- Specified by:
innerBuild
in classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
- Throws:
IOException
-