Class DateRangeExpression
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.DateRangeExpression
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DateRangeExpression>Json deserializer forDateRangeExpression -
Method Summary
Modifier and TypeMethodDescriptionfinal FieldDateMathfrom()Start of the range (inclusive).final Stringkey()Custom key to return the range with.static DateRangeExpressionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal FieldDateMathto()End of the range (exclusive).toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDateRangeExpression
-
-
Method Details
-
of
public static DateRangeExpression of(Function<DateRangeExpression.Builder, ObjectBuilder<DateRangeExpression>> fn) -
from
Start of the range (inclusive).API name:
from -
key
Custom key to return the range with.API name:
key -
to
End of the range (exclusive).API name:
to -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDateRangeExpressionDeserializer
protected static void setupDateRangeExpressionDeserializer(ObjectDeserializer<DateRangeExpression.Builder> op)
-