Class DateRangeExpression
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.DateRangeExpression
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class DateRangeExpression extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DateRangeExpression.Builder
Builder forDateRangeExpression
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DateRangeExpression>
_DESERIALIZER
Json deserializer forDateRangeExpression
-
Method Summary
Modifier and Type Method Description FieldDateMath
from()
API name:from
java.lang.String
key()
API name:key
static DateRangeExpression
of(java.util.function.Function<DateRangeExpression.Builder,ObjectBuilder<DateRangeExpression>> fn)
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
setupDateRangeExpressionDeserializer(ObjectDeserializer<DateRangeExpression.Builder> op)
FieldDateMath
to()
API name:to
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDateRangeExpression
-
-
Method Details
-
of
public static DateRangeExpression of(java.util.function.Function<DateRangeExpression.Builder,ObjectBuilder<DateRangeExpression>> fn) -
from
API name:from
-
key
@Nullable public final java.lang.String key()API name:key
-
to
API name:to
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupDateRangeExpressionDeserializer
protected static void setupDateRangeExpressionDeserializer(ObjectDeserializer<DateRangeExpression.Builder> op)
-