Class FieldTypes
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.FieldTypes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FieldTypes extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldTypes.Builder
Builder forFieldTypes
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FieldTypes>
_DESERIALIZER
Json deserializer forFieldTypes
-
Method Summary
Modifier and Type Method Description int
count()
Required - API name:count
int
indexCount()
Required - API name:index_count
java.lang.String
name()
Required - API name:name
static FieldTypes
of(java.util.function.Function<FieldTypes.Builder,ObjectBuilder<FieldTypes>> fn)
java.lang.Integer
scriptCount()
API name:script_count
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
setupFieldTypesDeserializer(ObjectDeserializer<FieldTypes.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldTypes
-
-
Method Details
-
of
public static FieldTypes of(java.util.function.Function<FieldTypes.Builder,ObjectBuilder<FieldTypes>> fn) -
name
public final java.lang.String name()Required - API name:name
-
count
public final int count()Required - API name:count
-
indexCount
public final int indexCount()Required - API name:index_count
-
scriptCount
@Nullable public final java.lang.Integer scriptCount()API name:script_count
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFieldTypesDeserializer
-