SyncFullSchemaTableColumn Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.SyncFullSchemaTableColumn

Implements

public final class SyncFullSchemaTableColumn
implements JsonSerializable<SyncFullSchemaTableColumn>

Properties of the column in the table of database full schema.

Method Summary

Modifier and Type Method and Description
String dataSize()

Get the dataSize property: Data size of the column.

String dataType()

Get the dataType property: Data type of the column.

String errorId()

Get the errorId property: Error id of the column.

static SyncFullSchemaTableColumn fromJson(JsonReader jsonReader)

Reads an instance of SyncFullSchemaTableColumn from the JsonReader.

Boolean hasError()

Get the hasError property: If there is error in the table.

Boolean isPrimaryKey()

Get the isPrimaryKey property: If it is the primary key of the table.

String name()

Get the name property: Name of the column.

String quotedName()

Get the quotedName property: Quoted name of the column.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

dataSize

public String dataSize()

Get the dataSize property: Data size of the column.

Returns:

the dataSize value.

dataType

public String dataType()

Get the dataType property: Data type of the column.

Returns:

the dataType value.

errorId

public String errorId()

Get the errorId property: Error id of the column.

Returns:

the errorId value.

fromJson

public static SyncFullSchemaTableColumn fromJson(JsonReader jsonReader)

Reads an instance of SyncFullSchemaTableColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SyncFullSchemaTableColumn 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 SyncFullSchemaTableColumn.

hasError

public Boolean hasError()

Get the hasError property: If there is error in the table.

Returns:

the hasError value.

isPrimaryKey

public Boolean isPrimaryKey()

Get the isPrimaryKey property: If it is the primary key of the table.

Returns:

the isPrimaryKey value.

name

public String name()

Get the name property: Name of the column.

Returns:

the name value.

quotedName

public String quotedName()

Get the quotedName property: Quoted name of the column.

Returns:

the quotedName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to