DatabaseColumnInner Class

public final class DatabaseColumnInner
extends ProxyResource

A database column resource.

Constructor Summary

Constructor Description
DatabaseColumnInner()

Creates an instance of DatabaseColumnInner class.

Method Summary

Modifier and Type Method and Description
ColumnDataType columnType()

Get the columnType property: The column data type.

static DatabaseColumnInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseColumnInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isComputed()

Get the isComputed property: Whether or not the column is computed.

Boolean memoryOptimized()

Get the memoryOptimized property: Whether or not the column belongs to a memory optimized table.

String name()

Get the name property: The name of the resource.

TableTemporalType temporalType()

Get the temporalType property: The table temporal type.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DatabaseColumnInner withColumnType(ColumnDataType columnType)

Set the columnType property: The column data type.

DatabaseColumnInner withIsComputed(Boolean isComputed)

Set the isComputed property: Whether or not the column is computed.

DatabaseColumnInner withMemoryOptimized(Boolean memoryOptimized)

Set the memoryOptimized property: Whether or not the column belongs to a memory optimized table.

DatabaseColumnInner withTemporalType(TableTemporalType temporalType)

Set the temporalType property: The table temporal type.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DatabaseColumnInner

public DatabaseColumnInner()

Creates an instance of DatabaseColumnInner class.

Method Details

columnType

public ColumnDataType columnType()

Get the columnType property: The column data type.

Returns:

the columnType value.

fromJson

public static DatabaseColumnInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseColumnInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DatabaseColumnInner.id()

Returns:

the id value.

isComputed

public Boolean isComputed()

Get the isComputed property: Whether or not the column is computed.

Returns:

the isComputed value.

memoryOptimized

public Boolean memoryOptimized()

Get the memoryOptimized property: Whether or not the column belongs to a memory optimized table.

Returns:

the memoryOptimized value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DatabaseColumnInner.name()

Returns:

the name value.

temporalType

public TableTemporalType temporalType()

Get the temporalType property: The table temporal type.

Returns:

the temporalType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DatabaseColumnInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DatabaseColumnInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withColumnType

public DatabaseColumnInner withColumnType(ColumnDataType columnType)

Set the columnType property: The column data type.

Parameters:

columnType - the columnType value to set.

Returns:

the DatabaseColumnInner object itself.

withIsComputed

public DatabaseColumnInner withIsComputed(Boolean isComputed)

Set the isComputed property: Whether or not the column is computed.

Parameters:

isComputed - the isComputed value to set.

Returns:

the DatabaseColumnInner object itself.

withMemoryOptimized

public DatabaseColumnInner withMemoryOptimized(Boolean memoryOptimized)

Set the memoryOptimized property: Whether or not the column belongs to a memory optimized table.

Parameters:

memoryOptimized - the memoryOptimized value to set.

Returns:

the DatabaseColumnInner object itself.

withTemporalType

public DatabaseColumnInner withTemporalType(TableTemporalType temporalType)

Set the temporalType property: The table temporal type.

Parameters:

temporalType - the temporalType value to set.

Returns:

the DatabaseColumnInner object itself.

Applies to