Skip to main content

◆ showTable() [1/2]

ShowTableResponse kinetica.Kinetica.showTable (ShowTableRequestrequest_)
inline

Retrieves detailed information about a table, view, or schema, specified in table_name.

If the supplied table_name is a schema the call can return information about either the schema itself or the tables and views it contains. If table_name is empty, information about all schemas will be returned.

If the option GET_SIZES is set to TRUE, then the number of records in each table is returned (in sizes and full_sizes), along with the total number of objects across all requested tables (in total_size and total_full_size).

For a schema, setting the SHOW_CHILDREN option to FALSE returns only information about the schema itself; setting SHOW_CHILDREN to TRUE returns a list of tables and views contained in the schema, along with their corresponding detail.

To retrieve a list of every table, view, and schema in the database, set table_name to ’*’ and SHOW_CHILDREN to TRUE. When doing this, the returned total_size and total_full_size will not include the sizes of non-base tables (e.g., filters, views, joins, etc.).

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 62051 of file KineticaFunctions.cs.

◆ showTable() [2/2]

ShowTableResponse kinetica.Kinetica.showTable (stringtable_name,
IDictionary< string, string >options = null )
inline

Retrieves detailed information about a table, view, or schema, specified in table_name .

If the supplied table_name is a schema the call can return information about either the schema itself or the tables and views it contains. If table_name is empty, information about all schemas will be returned.

If the option GET_SIZES is set to TRUE, then the number of records in each table is returned (in sizes and full_sizes), along with the total number of objects across all requested tables (in total_size and total_full_size).

For a schema, setting the SHOW_CHILDREN option to FALSE returns only information about the schema itself; setting SHOW_CHILDREN to TRUE returns a list of tables and views contained in the schema, along with their corresponding detail.

To retrieve a list of every table, view, and schema in the database, set table_name to ’*’ and SHOW_CHILDREN to TRUE. When doing this, the returned total_size and total_full_size will not include the sizes of non-base tables (e.g., filters, views, joins, etc.).

Parameters
table_nameName of the table for which to retrieve the information, in [schema_name.]table_name format, using standard name resolution rules. If blank, then returns information about all tables and views.
optionsOptional parameters.
  • DEPENDENCIES: Include view dependencies in the output. Supported values:The default value is FALSE.
  • FORCE_SYNCHRONOUS: If TRUE then the table sizes will wait for read lock before returning. Supported values:The default value is TRUE.
  • GET_ACCESS_DATA: If TRUE then data about the last read, write, alter and create will be returned. Supported values:The default value is FALSE.
  • GET_CACHED_SIZES: If TRUE then the number of records in each table, along with a cumulative count, will be returned; blank, otherwise. This version will return the sizes cached at rank 0, which may be stale if there is a multihead insert occurring. Supported values:The default value is FALSE.
  • GET_SIZES: If TRUE then the number of records in each table, along with a cumulative count, will be returned; blank, otherwise. Supported values:The default value is FALSE.
  • REFERENCING_MATERIALIZED_VIEWS: Include materialized views using this table as a source in the output. Supported values:The default value is FALSE.
  • SKIP_ADDITIONAL_INFO: If TRUE then the response will not populate the additional_info field. Supported values:The default value is FALSE.
  • NO_ERROR_IF_NOT_EXISTS: If FALSE will return an error if the provided table_name does not exist. If TRUE then it will return an empty result. Supported values:The default value is FALSE.
  • SKIP_TEMP_SCHEMAS: If TRUE then the table list will not include tables from SYS_TEMP and other system temporary schemas. This is the default behavior for non-admin users. Supported values:The default value is FALSE.
  • SHOW_CHILDREN: If table_name is a schema, then TRUE will return information about the tables and views in the schema, and FALSE will return information about the schema itself. If table_name is a table or view, SHOW_CHILDREN must be FALSE. If table_name is empty, then SHOW_CHILDREN must be TRUE. Supported values:The default value is TRUE.
  • GET_COLUMN_INFO: If TRUE then column info (memory usage, etc) will be returned. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 62434 of file KineticaFunctions.cs.

◆ ShowTableAsync() [1/2]

async System.Threading.Tasks.Task< ShowTableResponse > kinetica.Kinetica.ShowTableAsync (ShowTableRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Retrieves detailed information about a table, view, or schema, specified in table_name.

(async)

If the supplied table_name is a schema the call can return information about either the schema itself or the tables and views it contains. If table_name is empty, information about all schemas will be returned.

If the option GET_SIZES is set to TRUE, then the number of records in each table is returned (in sizes and full_sizes), along with the total number of objects across all requested tables (in total_size and total_full_size).

For a schema, setting the SHOW_CHILDREN option to FALSE returns only information about the schema itself; setting SHOW_CHILDREN to TRUE returns a list of tables and views contained in the schema, along with their corresponding detail.

To retrieve a list of every table, view, and schema in the database, set table_name to ’*’ and SHOW_CHILDREN to TRUE. When doing this, the returned total_size and total_full_size will not include the sizes of non-base tables (e.g., filters, views, joins, etc.).

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 62109 of file KineticaFunctions.cs.

◆ ShowTableAsync() [2/2]

async System.Threading.Tasks.Task< ShowTableResponse > kinetica.Kinetica.ShowTableAsync (stringtable_name,
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Retrieves detailed information about a table, view, or schema, specified in table_name .

(async)

If the supplied table_name is a schema the call can return information about either the schema itself or the tables and views it contains. If table_name is empty, information about all schemas will be returned.

If the option GET_SIZES is set to TRUE, then the number of records in each table is returned (in sizes and full_sizes), along with the total number of objects across all requested tables (in total_size and total_full_size).

For a schema, setting the SHOW_CHILDREN option to FALSE returns only information about the schema itself; setting SHOW_CHILDREN to TRUE returns a list of tables and views contained in the schema, along with their corresponding detail.

To retrieve a list of every table, view, and schema in the database, set table_name to ’*’ and SHOW_CHILDREN to TRUE. When doing this, the returned total_size and total_full_size will not include the sizes of non-base tables (e.g., filters, views, joins, etc.).

Parameters
table_nameName of the table for which to retrieve the information, in [schema_name.]table_name format, using standard name resolution rules. If blank, then returns information about all tables and views.
optionsOptional parameters.
  • DEPENDENCIES: Include view dependencies in the output. Supported values:The default value is FALSE.
  • FORCE_SYNCHRONOUS: If TRUE then the table sizes will wait for read lock before returning. Supported values:The default value is TRUE.
  • GET_ACCESS_DATA: If TRUE then data about the last read, write, alter and create will be returned. Supported values:The default value is FALSE.
  • GET_CACHED_SIZES: If TRUE then the number of records in each table, along with a cumulative count, will be returned; blank, otherwise. This version will return the sizes cached at rank 0, which may be stale if there is a multihead insert occurring. Supported values:The default value is FALSE.
  • GET_SIZES: If TRUE then the number of records in each table, along with a cumulative count, will be returned; blank, otherwise. Supported values:The default value is FALSE.
  • REFERENCING_MATERIALIZED_VIEWS: Include materialized views using this table as a source in the output. Supported values:The default value is FALSE.
  • SKIP_ADDITIONAL_INFO: If TRUE then the response will not populate the additional_info field. Supported values:The default value is FALSE.
  • NO_ERROR_IF_NOT_EXISTS: If FALSE will return an error if the provided table_name does not exist. If TRUE then it will return an empty result. Supported values:The default value is FALSE.
  • SKIP_TEMP_SCHEMAS: If TRUE then the table list will not include tables from SYS_TEMP and other system temporary schemas. This is the default behavior for non-admin users. Supported values:The default value is FALSE.
  • SHOW_CHILDREN: If table_name is a schema, then TRUE will return information about the tables and views in the schema, and FALSE will return information about the schema itself. If table_name is a table or view, SHOW_CHILDREN must be FALSE. If table_name is empty, then SHOW_CHILDREN must be TRUE. Supported values:The default value is TRUE.
  • GET_COLUMN_INFO: If TRUE then column info (memory usage, etc) will be returned. Supported values:The default value is FALSE.
The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 62750 of file KineticaFunctions.cs.