Class: Aws::RedshiftDataAPIService::Types::GetStatementResultV2Response

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:



935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 935

class GetStatementResultV2Response < Struct.new(
  :records,
  :column_metadata,
  :total_num_rows,
  :result_format,
  :next_token)
  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)


935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 935

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

#recordsArray<Types::QueryRecords>

The results of the SQL statement in CSV format.

Returns:



935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 935

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

#result_formatString

The data format of the result of the SQL statement.

Returns:

  • (String)


935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 935

class GetStatementResultV2Response < Struct.new(
  :records,
  :column_metadata,
  :total_num_rows,
  :result_format,
  :next_token)
  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 GetStatementResultV2 operation needed to page through the results.

Returns:

  • (Integer)


935
936
937
938
939
940
941
942
943
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 935

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