RedshiftDataSpec class

Describes the data specification of an Amazon Redshift DataSource.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: false, createToJson: true)


RedshiftDataSpec({@required RedshiftDatabaseCredentials databaseCredentials, @required RedshiftDatabase databaseInformation, @required String s3StagingLocation, @required String selectSqlQuery, String dataRearrangement, String dataSchema, String dataSchemaUri})


databaseCredentials RedshiftDatabaseCredentials
Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.
@JsonKey(name: 'DatabaseCredentials'), final
databaseInformation RedshiftDatabase
Describes the DatabaseName and ClusterIdentifier for an Amazon Redshift DataSource.
@JsonKey(name: 'DatabaseInformation'), final
dataRearrangement String
A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. [...]
@JsonKey(name: 'DataRearrangement'), final
dataSchema String
A JSON string that represents the schema for an Amazon Redshift DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. [...]
@JsonKey(name: 'DataSchema'), final
dataSchemaUri String
Describes the schema location for an Amazon Redshift DataSource.
@JsonKey(name: 'DataSchemaUri'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
s3StagingLocation String
Describes an Amazon S3 location to store the result set of the SelectSqlQuery query.
@JsonKey(name: 'S3StagingLocation'), final
selectSqlQuery String
Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift DataSource.
@JsonKey(name: 'SelectSqlQuery'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]