Class: Aws::RedshiftDataAPIService::Types::GetStatementResultResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#column_metadataArray<Types::ColumnMetadata>

The properties (metadata) of a column.

Returns:



863
864
865
866
867
868
869
870
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 863

class GetStatementResultResponse < Struct.new(
  :column_metadata,
  :next_token,
  :records,
  :total_num_rows)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

Returns:

  • (String)


863
864
865
866
867
868
869
870
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 863

class GetStatementResultResponse < Struct.new(
  :column_metadata,
  :next_token,
  :records,
  :total_num_rows)
  SENSITIVE = []
  include Aws::Structure
end

#recordsArray<Array<Types::Field>>

The results of the SQL statement in JSON format.

Returns:



863
864
865
866
867
868
869
870
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 863

class GetStatementResultResponse < Struct.new(
  :column_metadata,
  :next_token,
  :records,
  :total_num_rows)
  SENSITIVE = []
  include Aws::Structure
end

#total_num_rowsInteger

The total number of rows in the result set returned from a query. You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.

Returns:

  • (Integer)


863
864
865
866
867
868
869
870
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 863

class GetStatementResultResponse < Struct.new(
  :column_metadata,
  :next_token,
  :records,
  :total_num_rows)
  SENSITIVE = []
  include Aws::Structure
end