DatabaseColumnProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. DatabaseColumnProperties
- com.
Implements
public final class DatabaseColumnProperties
implements JsonSerializable<DatabaseColumnProperties>
Database column properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseColumnProperties() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Column |
columnType()
Get the column |
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
| Boolean |
isComputed()
Get the is |
| Boolean |
memoryOptimized()
Get the memory |
|
Table |
temporalType()
Get the temporal |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Database |
withColumnType(ColumnDataType columnType)
Set the column |
|
Database |
withIsComputed(Boolean isComputed)
Set the is |
|
Database |
withMemoryOptimized(Boolean memoryOptimized)
Set the memory |
|
Database |
withTemporalType(TableTemporalType temporalType)
Set the temporal |
Methods inherited from java.lang.Object
Constructor Details
DatabaseColumnProperties
public DatabaseColumnProperties()
Creates an instance of DatabaseColumnProperties class.
Method Details
columnType
public ColumnDataType columnType()
Get the columnType property: The column data type.
Returns:
fromJson
public static DatabaseColumnProperties fromJson(JsonReader jsonReader)
Reads an instance of DatabaseColumnProperties from the JsonReader.
Parameters:
Returns:
Throws:
isComputed
public Boolean isComputed()
Get the isComputed property: Whether or not the column is computed.
Returns:
memoryOptimized
public Boolean memoryOptimized()
Get the memoryOptimized property: Whether or not the column belongs to a memory optimized table.
Returns:
temporalType
public TableTemporalType temporalType()
Get the temporalType property: The table temporal type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withColumnType
public DatabaseColumnProperties withColumnType(ColumnDataType columnType)
Set the columnType property: The column data type.
Parameters:
Returns:
withIsComputed
public DatabaseColumnProperties withIsComputed(Boolean isComputed)
Set the isComputed property: Whether or not the column is computed.
Parameters:
Returns:
withMemoryOptimized
public DatabaseColumnProperties withMemoryOptimized(Boolean memoryOptimized)
Set the memoryOptimized property: Whether or not the column belongs to a memory optimized table.
Parameters:
Returns:
withTemporalType
public DatabaseColumnProperties withTemporalType(TableTemporalType temporalType)
Set the temporalType property: The table temporal type.
Parameters:
Returns: