Class: Aws::Athena::Types::GetQueryResultsInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results (rows) to return in this request.

Returns:

  • (Integer)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'lib/aws-sdk-athena/types.rb', line 1906

class GetQueryResultsInput < Struct.new(
  :query_execution_id,
  :next_token,
  :max_results,
  :query_result_type)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the ‘NextToken` from the response object of the previous page call.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'lib/aws-sdk-athena/types.rb', line 1906

class GetQueryResultsInput < Struct.new(
  :query_execution_id,
  :next_token,
  :max_results,
  :query_result_type)
  SENSITIVE = []
  include Aws::Structure
end

#query_execution_idString

The unique ID of the query execution.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'lib/aws-sdk-athena/types.rb', line 1906

class GetQueryResultsInput < Struct.new(
  :query_execution_id,
  :next_token,
  :max_results,
  :query_result_type)
  SENSITIVE = []
  include Aws::Structure
end

#query_result_typeString

When you set this to ‘DATA_ROWS` or empty, `GetQueryResults` returns the query results in rows. If set to `DATA_MANIFEST`, it returns the manifest file in rows. Only the query types `CREATE TABLE AS SELECT`, `UNLOAD`, and `INSERT` can generate a manifest file. If you use `DATA_MANIFEST` for other query types, the query will fail.

Returns:

  • (String)


1906
1907
1908
1909
1910
1911
1912
1913
# File 'lib/aws-sdk-athena/types.rb', line 1906

class GetQueryResultsInput < Struct.new(
  :query_execution_id,
  :next_token,
  :max_results,
  :query_result_type)
  SENSITIVE = []
  include Aws::Structure
end