Class Values
- java.lang.Object
-
- org.opensearch.client.opensearch.ml.Values
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Values.Builder,Values>
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class Values extends java.lang.Object implements PlainJsonSerializable, ToCopyableBuilder<Values.Builder,Values>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValues.BuilderBuilder forValues.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Values>_DESERIALIZERJson deserializer forValues
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Values.Builderbuilder()java.lang.StringcolumnType()The column type.booleanequals(java.lang.Object o)inthashCode()static Valuesof(java.util.function.Function<Values.Builder,ObjectBuilder<Values>> 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 voidsetupValuesDeserializer(ObjectDeserializer<Values.Builder> op)Values.BuildertoBuilder()Create a new builderToCopyableBuilderthat is initialised with the current state of this object.java.lang.Numbervalue()The value.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<Values> _DESERIALIZER
Json deserializer forValues
-
-
Method Detail
-
of
public static Values of(java.util.function.Function<Values.Builder,ObjectBuilder<Values>> fn)
-
columnType
@Nullable public final java.lang.String columnType()
The column type.API name:
column_type
-
value
@Nullable public final java.lang.Number value()
The value.API name:
value
-
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)
-
toBuilder
@Nonnull public Values.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Values.Builder,Values>- Returns:
- a new builder instance.
-
builder
@Nonnull public static Values.Builder builder()
-
setupValuesDeserializer
protected static void setupValuesDeserializer(ObjectDeserializer<Values.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-