Column¶
-
class
oci.nosql.models.
Column
(**kwargs)¶ Bases:
object
A column of a table.
Methods
__init__
(**kwargs)Initializes a new Column object with values from keyword arguments. Attributes
default_value
Gets the default_value of this Column. is_nullable
Gets the is_nullable of this Column. name
Gets the name of this Column. type
Gets 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.
-
default_value
¶ Gets the default_value of this Column. The column default value.
Returns: The default_value of this Column. Return type: str
-
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
-