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 Classes Modifier and Type Class Description static interfaceTermsValuesSourceBuilder.TermsCompositeSupplierNested 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
Constructors Modifier Constructor Description TermsValuesSourceBuilder(java.lang.String name)protectedTermsValuesSourceBuilder(StreamInput in) -
Method Summary
Modifier and Type Method Description protected voiddoXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)protected ValuesSourceTypegetDefaultValuesSourceType()protected CompositeValuesSourceConfiginnerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config)Actually build the values source and its associated configuration.protected voidinnerWriteTo(StreamOutput out)java.lang.Stringtype()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
public TermsValuesSourceBuilder(java.lang.String name) -
TermsValuesSourceBuilder
- Throws:
java.io.IOException
-
-
Method Details
-
innerWriteTo
- Specified by:
innerWriteToin classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>- Throws:
java.io.IOException
-
doXContentBody
protected void doXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
doXContentBodyin classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>- Throws:
java.io.IOException
-
type
public java.lang.String type() -
getDefaultValuesSourceType
- Specified by:
getDefaultValuesSourceTypein classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>
-
innerBuild
protected CompositeValuesSourceConfig innerBuild(ValuesSourceRegistry registry, ValuesSourceConfig config) throws java.io.IOExceptionDescription copied from class:CompositeValuesSourceBuilderActually build the values source and its associated configuration.- Specified by:
innerBuildin classCompositeValuesSourceBuilder<TermsValuesSourceBuilder>- Throws:
java.io.IOException
-