Class CountRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.count.CountRecord
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcount()the document countjava.lang.Stringepoch()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)java.lang.Stringtimestamp()time in HH:MM:SS
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<CountRecord> _DESERIALIZER
Json deserializer forCountRecord
-
-
Method Detail
-
of
public static CountRecord of(java.util.function.Function<CountRecord.Builder,ObjectBuilder<CountRecord>> fn)
-
epoch
@Nullable public final java.lang.String epoch()
seconds since 1969-01-01 00:00:00API name:
epoch
-
timestamp
@Nullable public final java.lang.String timestamp()
time in HH:MM:SSAPI name:
timestamp
-
count
@Nullable public final java.lang.String count()
the document countAPI name:
count
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupCountRecordDeserializer
protected static void setupCountRecordDeserializer(ObjectDeserializer<CountRecord.Builder> op)
-
-