Class SyncFullSchemaTableColumn
java.lang.Object
com.azure.resourcemanager.sql.models.SyncFullSchemaTableColumn
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SyncFullSchemaTableColumn>
public final class SyncFullSchemaTableColumn
extends Object
implements com.azure.json.JsonSerializable<SyncFullSchemaTableColumn>
Properties of the column in the table of database full schema.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SyncFullSchemaTableColumn class. -
Method Summary
Modifier and TypeMethodDescriptiondataSize()Get the dataSize property: Data size of the column.dataType()Get the dataType property: Data type of the column.errorId()Get the errorId property: Error id of the column.static SyncFullSchemaTableColumnfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SyncFullSchemaTableColumn from the JsonReader.hasError()Get the hasError property: If there is error in the table.Get the isPrimaryKey property: If it is the primary key of the table.name()Get the name property: Name of the column.Get the quotedName property: Quoted name of the column.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SyncFullSchemaTableColumn
public SyncFullSchemaTableColumn()Creates an instance of SyncFullSchemaTableColumn class.
-
-
Method Details
-
dataSize
Get the dataSize property: Data size of the column.- Returns:
- the dataSize value.
-
dataType
Get the dataType property: Data type of the column.- Returns:
- the dataType value.
-
errorId
Get the errorId property: Error id of the column.- Returns:
- the errorId value.
-
hasError
Get the hasError property: If there is error in the table.- Returns:
- the hasError value.
-
isPrimaryKey
Get the isPrimaryKey property: If it is the primary key of the table.- Returns:
- the isPrimaryKey value.
-
name
Get the name property: Name of the column.- Returns:
- the name value.
-
quotedName
Get the quotedName property: Quoted name of the column.- Returns:
- the quotedName value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SyncFullSchemaTableColumn>- Throws:
IOException
-
fromJson
public static SyncFullSchemaTableColumn fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-