QueryDataObjectJsonResultSetRowsCollection

class oci.opsi.models.QueryDataObjectJsonResultSetRowsCollection(**kwargs)

Bases: QueryDataObjectResultSetRowsCollection

Collection of result set rows from the data object query.

Attributes:

FORMAT_JSON

A constant which can be used with the format property of a QueryDataObjectResultSetRowsCollection.

format

[Required] Gets the format of this QueryDataObjectResultSetRowsCollection.

items

[Required] Gets the items of this QueryDataObjectJsonResultSetRowsCollection.

items_metadata

[Required] Gets the items_metadata of this QueryDataObjectJsonResultSetRowsCollection.

query_execution_time_in_seconds

Gets the query_execution_time_in_seconds of this QueryDataObjectJsonResultSetRowsCollection.

Methods:

__init__(**kwargs)

Initializes a new QueryDataObjectJsonResultSetRowsCollection object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

FORMAT_JSON = 'JSON'

A constant which can be used with the format property of a QueryDataObjectResultSetRowsCollection. This constant has a value of “JSON”

__init__(**kwargs)

Initializes a new QueryDataObjectJsonResultSetRowsCollection object with values from keyword arguments. The default value of the format attribute of this class is JSON and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • format (str) – The value to assign to the format property of this QueryDataObjectJsonResultSetRowsCollection. Allowed values for this property are: “JSON”

  • items (list[object]) – The value to assign to the items property of this QueryDataObjectJsonResultSetRowsCollection.

  • items_metadata (list[oci.opsi.models.QueryDataObjectResultSetColumnMetadata]) – The value to assign to the items_metadata property of this QueryDataObjectJsonResultSetRowsCollection.

  • query_execution_time_in_seconds (float) – The value to assign to the query_execution_time_in_seconds property of this QueryDataObjectJsonResultSetRowsCollection.

property format

[Required] Gets the format of this QueryDataObjectResultSetRowsCollection. Format type of data object query result set.

Allowed values for this property are: “JSON”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The format of this QueryDataObjectResultSetRowsCollection.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property items

[Required] Gets the items of this QueryDataObjectJsonResultSetRowsCollection. Array of result set rows.

Returns

The items of this QueryDataObjectJsonResultSetRowsCollection.

Return type

list[object]

property items_metadata

[Required] Gets the items_metadata of this QueryDataObjectJsonResultSetRowsCollection. Array of QueryDataObjectResultSetColumnMetadata objects that describe the result set columns.

Returns

The items_metadata of this QueryDataObjectJsonResultSetRowsCollection.

Return type

list[oci.opsi.models.QueryDataObjectResultSetColumnMetadata]

property query_execution_time_in_seconds

Gets the query_execution_time_in_seconds of this QueryDataObjectJsonResultSetRowsCollection. Time taken for executing the data object query (in seconds). Consider optimizing the query or reducing the target data range, if query execution time is longer.

Returns

The query_execution_time_in_seconds of this QueryDataObjectJsonResultSetRowsCollection.

Return type

float