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 contains the SQL statements that make up the query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#database ⇒ String

The database to which the query belongs.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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

#description ⇒ String

The query description.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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

#name ⇒ String

The query name.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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

#named_query_id ⇒ String

The unique identifier of the query.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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

#query_string ⇒ String

The SQL statements that make up the query.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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

#work_group ⇒ String

The name of the workgroup that contains the named query.

Returns:

  • (String)


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 3533

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