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
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNested 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.ParamsNested 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
nameFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)protected ValuesSourceTypeprotected CompositeValuesSourceConfiginnerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config)Actually build the values source and its associated configuration.protected voidinnerWriteTo(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, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
TermsValuesSourceBuilder
-
TermsValuesSourceBuilder
- Throws:
IOException
-
-
Method Details
-
innerWriteTo
- Specified by:
innerWriteToin 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:
doXContentBodyin classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>- Throws:
IOException
-
type
-
getDefaultValuesSourceType
- Specified by:
getDefaultValuesSourceTypein classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
-
innerBuild
protected CompositeValuesSourceConfig innerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config) throws IOExceptionDescription copied from class:CompositeValuesSourceBuilderActually build the values source and its associated configuration.- Specified by:
innerBuildin classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>- Throws:
IOException
-