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 class
CountRecord.Builder
Builder forCountRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CountRecord>
_DESERIALIZER
Json deserializer forCountRecord
-
Method Summary
Modifier and Type Method Description java.lang.String
count()
the document countDateTime
epoch()
seconds since 1969-01-01 00:00:00static CountRecord
of(java.util.function.Function<CountRecord.Builder,ObjectBuilder<CountRecord>> 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
setupCountRecordDeserializer(ObjectDeserializer<CountRecord.Builder> op)
DateTime
timestamp()
time in HH:MM:SSjava.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupCountRecordDeserializer
-