Class: Aws::RedshiftDataAPIService::Types::QueryRecords

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

Overview

Note:

QueryRecords is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of QueryRecords corresponding to the set member.

The results of the SQL statement.

Defined Under Namespace

Classes: CsvRecords, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#csv_records ⇒ String

The results of the SQL statement in CSV format.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 1588

class QueryRecords < Struct.new(
  :csv_records,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CsvRecords < QueryRecords; end
  class Unknown < QueryRecords; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1588
1589
1590
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 1588

def unknown
  @unknown
end