Class GeoLineAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.GeoLineAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable public class GeoLineAggregation extends java.lang.Object implements AggregationVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoLineAggregation.Builder
Builder forGeoLineAggregation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoLineAggregation>
_DESERIALIZER
Json deserializer forGeoLineAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.java.lang.Boolean
includeSort()
API name:include_sort
static GeoLineAggregation
of(java.util.function.Function<GeoLineAggregation.Builder,ObjectBuilder<GeoLineAggregation>> fn)
GeoLinePoint
point()
Required - API name:point
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 void
setupGeoLineAggregationDeserializer(ObjectDeserializer<GeoLineAggregation.Builder> op)
java.lang.Integer
size()
API name:size
GeoLineSort
sort()
Required - API name:sort
SortOrder
sortOrder()
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 co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoLineAggregation
-
-
Method Details
-
of
public static GeoLineAggregation of(java.util.function.Function<GeoLineAggregation.Builder,ObjectBuilder<GeoLineAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
point
Required - API name:point
-
sort
Required - API name:sort
-
includeSort
@Nullable public final java.lang.Boolean includeSort()API name:include_sort
-
sortOrder
API name:sort_order
-
size
@Nullable public final java.lang.Integer size()API name:size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGeoLineAggregationDeserializer
protected static void setupGeoLineAggregationDeserializer(ObjectDeserializer<GeoLineAggregation.Builder> op)
-