You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Athena::Types::NamedQuery

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

Overview

A query, where QueryString is the SQL query statements that comprise the query.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

The database to which the query belongs.

Returns:

  • (String)


484
485
486
487
488
489
490
491
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 484

class NamedQuery < Struct.new(
  :name,
  :description,
  :database,
  :query_string,
  :named_query_id)
  include Aws::Structure
end

#descriptionString

A brief description of the query.

Returns:

  • (String)


484
485
486
487
488
489
490
491
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 484

class NamedQuery < Struct.new(
  :name,
  :description,
  :database,
  :query_string,
  :named_query_id)
  include Aws::Structure
end

#nameString

The plain-language name of the query.

Returns:

  • (String)


484
485
486
487
488
489
490
491
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 484

class NamedQuery < Struct.new(
  :name,
  :description,
  :database,
  :query_string,
  :named_query_id)
  include Aws::Structure
end

#named_query_idString

The unique identifier of the query.

Returns:

  • (String)


484
485
486
487
488
489
490
491
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 484

class NamedQuery < Struct.new(
  :name,
  :description,
  :database,
  :query_string,
  :named_query_id)
  include Aws::Structure
end

#query_stringString

The SQL query statements that comprise the query.

Returns:

  • (String)


484
485
486
487
488
489
490
491
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 484

class NamedQuery < Struct.new(
  :name,
  :description,
  :database,
  :query_string,
  :named_query_id)
  include Aws::Structure
end