Class GeoLineAggregation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.GeoLineAggregation
-
- All Implemented Interfaces:
JsonpSerializable,AggregationVariant
@JsonpDeserializable public class GeoLineAggregation extends java.lang.Object implements AggregationVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoLineAggregation.BuilderBuilder forGeoLineAggregation.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoLineAggregation>_DESERIALIZERJson deserializer forGeoLineAggregation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Aggregation.Kind_aggregationKind()Aggregation variant kind.java.lang.BooleanincludeSort()API name:include_sortstatic GeoLineAggregationof(java.util.function.Function<GeoLineAggregation.Builder,ObjectBuilder<GeoLineAggregation>> fn)GeoLinePointpoint()Required - API name:pointvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGeoLineAggregationDeserializer(ObjectDeserializer<GeoLineAggregation.Builder> op)java.lang.Integersize()API name:sizeGeoLineSortsort()Required - API name:sortSortOrdersortOrder()API name:sort_order-
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.opensearch._types.aggregations.AggregationVariant
_toAggregation
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GeoLineAggregation> _DESERIALIZER
Json deserializer forGeoLineAggregation
-
-
Method Detail
-
of
public static GeoLineAggregation of(java.util.function.Function<GeoLineAggregation.Builder,ObjectBuilder<GeoLineAggregation>> fn)
-
_aggregationKind
public Aggregation.Kind _aggregationKind()
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
point
public final GeoLinePoint point()
Required - API name:point
-
sort
public final GeoLineSort sort()
Required - API name:sort
-
includeSort
@Nullable public final java.lang.Boolean includeSort()
API name:include_sort
-
sortOrder
@Nullable public final SortOrder sortOrder()
API name:sort_order
-
size
@Nullable public final java.lang.Integer size()
API name:size
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupGeoLineAggregationDeserializer
protected static void setupGeoLineAggregationDeserializer(ObjectDeserializer<GeoLineAggregation.Builder> op)
-
-