IndexColumn Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.IndexColumn

Implements

public final class IndexColumn
implements JsonSerializable<IndexColumn>

DTO object representing index column.

Constructor Summary

Constructor Description
IndexColumn()

Creates an instance of IndexColumn class.

Method Summary

Modifier and Type Method and Description
String columnName()

Get the columnName property: Specifies the column name.

FeatureDataType dataType()

Get the dataType property: Specifies the data type.

static IndexColumn fromJson(JsonReader jsonReader)

Reads an instance of IndexColumn from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IndexColumn withColumnName(String columnName)

Set the columnName property: Specifies the column name.

IndexColumn withDataType(FeatureDataType dataType)

Set the dataType property: Specifies the data type.

Methods inherited from java.lang.Object

Constructor Details

IndexColumn

public IndexColumn()

Creates an instance of IndexColumn class.

Method Details

columnName

public String columnName()

Get the columnName property: Specifies the column name.

Returns:

the columnName value.

dataType

public FeatureDataType dataType()

Get the dataType property: Specifies the data type.

Returns:

the dataType value.

fromJson

public static IndexColumn fromJson(JsonReader jsonReader)

Reads an instance of IndexColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IndexColumn if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IndexColumn.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withColumnName

public IndexColumn withColumnName(String columnName)

Set the columnName property: Specifies the column name.

Parameters:

columnName - the columnName value to set.

Returns:

the IndexColumn object itself.

withDataType

public IndexColumn withDataType(FeatureDataType dataType)

Set the dataType property: Specifies the data type.

Parameters:

dataType - the dataType value to set.

Returns:

the IndexColumn object itself.

Applies to