Class FieldTypes
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.FieldTypes
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FieldTypes.Builder,FieldTypes>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FieldTypes
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FieldTypes.Builder,FieldTypes>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldTypes> Json deserializer forFieldTypes -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldTypes.Builderbuilder()final intcount()Required - The number of occurrences of the field type in selected nodes.booleaninthashCode()final intRequired - The number of indexes containing the field type in selected nodes.final Stringname()Required - API name:namestatic FieldTypesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldTypes
-
-
Method Details
-
of
-
count
public final int count()Required - The number of occurrences of the field type in selected nodes.API name:
count -
indexCount
public final int indexCount()Required - The number of indexes containing the field type in selected nodes.API name:
index_count -
name
Required - API name:name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FieldTypes.Builder,FieldTypes> - Returns:
- a new builder instance.
-
builder
-
setupFieldTypesDeserializer
-
hashCode
public int hashCode() -
equals
-