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 list of SQL query statements that comprise the query.

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

The database to which the query belongs.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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

#descriptionString

The query description.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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

#nameString

The query name.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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

#named_query_idString

The unique identifier of the query.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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

#query_stringString

The SQL query statements that comprise the query.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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

#work_groupString

The name of the workgroup that contains the named query.

Returns:

  • (String)


763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 763

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