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