QueryDataObjectResultSetColumnMetadata¶
- class oci.opsi.models.QueryDataObjectResultSetColumnMetadata(**kwargs)¶
Bases:
objectMetadata of a column in a data object query result set.
Attributes:
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata.
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata.
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata.
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata.
Gets the data_type of this QueryDataObjectResultSetColumnMetadata.
Gets the data_type_name of this QueryDataObjectResultSetColumnMetadata.
[Required] Gets the name of this QueryDataObjectResultSetColumnMetadata.
Methods:
__init__(**kwargs)Initializes a new QueryDataObjectResultSetColumnMetadata object with values from keyword arguments.
- DATA_TYPE_NAME_NUMBER = 'NUMBER'¶
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata. This constant has a value of “NUMBER”
- DATA_TYPE_NAME_OTHER = 'OTHER'¶
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata. This constant has a value of “OTHER”
- DATA_TYPE_NAME_TIMESTAMP = 'TIMESTAMP'¶
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata. This constant has a value of “TIMESTAMP”
- DATA_TYPE_NAME_VARCHAR2 = 'VARCHAR2'¶
A constant which can be used with the data_type_name property of a QueryDataObjectResultSetColumnMetadata. This constant has a value of “VARCHAR2”
- __init__(**kwargs)¶
Initializes a new QueryDataObjectResultSetColumnMetadata 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 QueryDataObjectResultSetColumnMetadata.
data_type (str) – The value to assign to the data_type property of this QueryDataObjectResultSetColumnMetadata.
data_type_name (str) – The value to assign to the data_type_name property of this QueryDataObjectResultSetColumnMetadata. Allowed values for this property are: “NUMBER”, “TIMESTAMP”, “VARCHAR2”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property data_type¶
Gets the data_type of this QueryDataObjectResultSetColumnMetadata. Type of the column in a data object query result.
- Returns
The data_type of this QueryDataObjectResultSetColumnMetadata.
- Return type
str
- property data_type_name¶
Gets the data_type_name of this QueryDataObjectResultSetColumnMetadata. Type name of the column in a data object query result set.
Allowed values for this property are: “NUMBER”, “TIMESTAMP”, “VARCHAR2”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The data_type_name of this QueryDataObjectResultSetColumnMetadata.
- Return type
str
- property name¶
[Required] Gets the name of this QueryDataObjectResultSetColumnMetadata. Name of the column in a data object query result set.
- Returns
The name of this QueryDataObjectResultSetColumnMetadata.
- Return type
str