DataPreview

class oci.data_connectivity.models.DataPreview(**kwargs)

Bases: object

The data preview response.

Methods

__init__(**kwargs) Initializes a new DataPreview object with values from keyword arguments.

Attributes

columns Gets the columns of this DataPreview.
entity_name [Required] Gets the entity_name of this DataPreview.
rows Gets the rows of this DataPreview.
sample_rows_count Gets the sample_rows_count of this DataPreview.
__init__(**kwargs)

Initializes a new DataPreview object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • entity_name (str) – The value to assign to the entity_name property of this DataPreview.
  • sample_rows_count (int) – The value to assign to the sample_rows_count property of this DataPreview.
  • columns (list[oci.data_connectivity.models.Column]) – The value to assign to the columns property of this DataPreview.
  • rows (list[oci.data_connectivity.models.Row]) – The value to assign to the rows property of this DataPreview.
columns

Gets the columns of this DataPreview. Array of column definition for the preview result

Returns:The columns of this DataPreview.
Return type:list[oci.data_connectivity.models.Column]
entity_name

[Required] Gets the entity_name of this DataPreview. Name of the entity for which data preview was requested

Returns:The entity_name of this DataPreview.
Return type:str
rows

Gets the rows of this DataPreview. Array of rows values for the preview result

Returns:The rows of this DataPreview.
Return type:list[oci.data_connectivity.models.Row]
sample_rows_count

Gets the sample_rows_count of this DataPreview. Total number of rows taken for sampling

Returns:The sample_rows_count of this DataPreview.
Return type:int