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.

Direct Known Subclasses

CsvRecords, Unknown

Defined Under Namespace

Classes: CsvRecords, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#csv_recordsString

The results of the SQL statement in CSV format.

Returns:

  • (String)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 1337

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1337
1338
1339
# File 'gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/types.rb', line 1337

def unknown
  @unknown
end