Class CountRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.count.CountRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CountRecord extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountRecord.BuilderBuilder forCountRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CountRecord>_DESERIALIZERJson deserializer forCountRecord -
Method Summary
Modifier and Type Method Description java.lang.Stringcount()the document countDateTimeepoch()seconds since 1969-01-01 00:00:00static CountRecordof(java.util.function.Function<CountRecord.Builder,ObjectBuilder<CountRecord>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCountRecordDeserializer(ObjectDeserializer<CountRecord.Builder> op)DateTimetimestamp()time in HH:MM:SSMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCountRecord
-
-
Method Details
-
of
public static CountRecord of(java.util.function.Function<CountRecord.Builder,ObjectBuilder<CountRecord>> fn) -
epoch
seconds since 1969-01-01 00:00:00API name:
epoch -
timestamp
time in HH:MM:SSAPI name:
timestamp -
count
@Nullable public final java.lang.String count()the document countAPI name:
count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCountRecordDeserializer
-