Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps all database and S3 information.
type Config ¶
type Config struct { Session *session.Session SourceDB *sql.DB Redshift Redshift S3 S3 CSVDelimiter rune // Default value is ',' }
Config contains all the information needed to create a new Client.
type Redshift ¶
type Redshift struct { DB *sql.DB Schema string Table string // A clause that indicates the method your cluster will use when accessing // your AWS S3 resource. CredentialsParam string // Specify how COPY will map field data to columns in the target table, // define source data attributes to enable the COPY command to correctly // read and parse the source data, and manage which operations the COPY // command performs during the load process CopyParams string }
Redshift contains all of the information needed to COPY from S3 into Redshift.
Click to show internal directories.
Click to hide internal directories.