Skip to main content

statement_results

Creates, updates, deletes, gets or lists a statement_results resource.

Overview

Namestatement_results
TypeResource
Idconfluent.sql.statement_results

Fields

The following fields are returned by SELECT queries:

Statement Result.

NameDatatypeDescription
api_versionstringAPIVersion defines the schema version of this representation of a resource. (sql/v1) (example: sql/v1)
kindstringKind defines the object this REST resource represents. (StatementResult)
metadataobjectListMeta describes metadata that resource collections may have
resultsobjectA results property that contains a data property that contains an array of results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sqlv1_statement_resultselectorganization_id, environment_id, namepage_tokenRead Statement Result.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
environment_idstringThe unique identifier for the environment.
namestringThe unique identifier for the statement.
organization_idstring (uuid)The unique identifier for the organization.
page_tokenstringIt contains the field offset in the CollectSinkFunction protocol. On the first request, it should be unset. The offset is assumed to start at 0.

SELECT examples

Read Statement Result.

SELECT
api_version,
kind,
metadata,
results
FROM confluent.sql.statement_results
WHERE organization_id = '{{ organization_id }}' -- required
AND environment_id = '{{ environment_id }}' -- required
AND name = '{{ name }}' -- required
AND page_token = '{{ page_token }}'
;