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

#databaseString

The database to which the query belongs.

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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

#query_stringString

The SQL statements that make up the query.

Returns:

  • (String)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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)


2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2882

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