Class CountRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.count.CountRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class CountRecord extends java.lang.Object implements JsonpSerializable
-
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 -
Constructor Summary
Constructors Constructor Description CountRecord(CountRecord.Builder builder)CountRecord(java.util.function.Function<CountRecord.Builder,CountRecord.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringcount()the document countjava.lang.Stringepoch()seconds since 1969-01-01 00:00:00voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCountRecordDeserializer(DelegatingDeserializer<CountRecord.Builder> op)java.lang.Stringtimestamp()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
-
-
Constructor Details
-
CountRecord
-
CountRecord
-
-
Method Details
-
epoch
@Nullable public java.lang.String epoch()seconds since 1969-01-01 00:00:00API name:
epoch -
timestamp
@Nullable public java.lang.String timestamp()time in HH:MM:SSAPI name:
timestamp -
count
@Nullable public java.lang.String count()the document countAPI name:
count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCountRecordDeserializer
-