Column¶
-
class
oci.nosql.models.Column(**kwargs)¶ Bases:
objectA column of a table.
Methods
__init__(**kwargs)Initializes a new Column object with values from keyword arguments. Attributes
default_valueGets the default_value of this Column. is_as_uuidGets the is_as_uuid of this Column. is_generatedGets the is_generated of this Column. is_nullableGets the is_nullable of this Column. nameGets the name of this Column. typeGets the type of this Column. -
__init__(**kwargs)¶ Initializes a new Column object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this Column.
- type (str) – The value to assign to the type property of this Column.
- is_nullable (bool) – The value to assign to the is_nullable property of this Column.
- default_value (str) – The value to assign to the default_value property of this Column.
- is_as_uuid (bool) – The value to assign to the is_as_uuid property of this Column.
- is_generated (bool) – The value to assign to the is_generated property of this Column.
-
default_value¶ Gets the default_value of this Column. The column default value.
Returns: The default_value of this Column. Return type: str
-
is_as_uuid¶ Gets the is_as_uuid of this Column. True if the STRING column was declared AS UUID.
Returns: The is_as_uuid of this Column. Return type: bool
-
is_generated¶ Gets the is_generated of this Column. True if the STRING AS UUID column is also GENERATED BY DEFAULT.
Returns: The is_generated of this Column. Return type: bool
-
is_nullable¶ Gets the is_nullable of this Column. The column nullable flag.
Returns: The is_nullable of this Column. Return type: bool
-
name¶ Gets the name of this Column. The column name.
Returns: The name of this Column. Return type: str
-
type¶ Gets the type of this Column. The column type.
Returns: The type of this Column. Return type: str
-