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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

The database to which the query belongs.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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

#descriptionString

The query description.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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

#nameString

The query name.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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

#named_query_idString

The unique identifier of the query.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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

#query_stringString

The SQL query statements that comprise the query.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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

#work_groupString

The name of the workgroup that contains the named query.

Returns:

  • (String)


1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1628

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