Class CompositeValuesSource
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.CompositeValuesSource
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
- Direct Known Subclasses:
CompositeDateHistogramAggregationSource
,CompositeGeoTileGridAggregationSource
,CompositeHistogramAggregationSource
,CompositeTermsAggregationSource
public abstract class CompositeValuesSource extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
CompositeValuesSource.AbstractBuilder<BuilderT extends CompositeValuesSource.AbstractBuilder<BuilderT>>
Builder forCompositeValuesSource
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompositeValuesSource(CompositeValuesSource.AbstractBuilder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
field()
API name:field
java.lang.String
format()
API name:format
java.lang.Boolean
missingBucket()
API name:missingBucket
MissingOrder
missingOrder()
API name:missingOrder
SortOrder
order()
API name:order
Script
script()
API name:script
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <BuilderT extends CompositeValuesSource.AbstractBuilder<BuilderT>>
voidsetupCompositeValuesSourceDeserializer(ObjectDeserializer<BuilderT> op)
ValueType
valueType()
API name:date_histogram
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Constructor Detail
-
CompositeValuesSource
protected CompositeValuesSource(CompositeValuesSource.AbstractBuilder<?> builder)
-
-
Method Detail
-
field
@Nullable public final java.lang.String field()
API name:field
-
script
@Nullable public final Script script()
API name:script
-
valueType
@Nullable public final ValueType valueType()
API name:date_histogram
-
missingBucket
@Nullable public final java.lang.Boolean missingBucket()
API name:missingBucket
-
missingOrder
@Nullable public final MissingOrder missingOrder()
API name:missingOrder
-
order
@Nullable public final SortOrder order()
API name:order
-
format
@Nullable public final java.lang.String format()
API name:format
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupCompositeValuesSourceDeserializer
protected static <BuilderT extends CompositeValuesSource.AbstractBuilder<BuilderT>> void setupCompositeValuesSourceDeserializer(ObjectDeserializer<BuilderT> op)
-
-