Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Athena ¶
Amazon API guide: http://docs.aws.amazon.com/sdk-for-go/api/
func NewAthenaClient ¶
Create New Athena Client with accessKey , secretAccessKey, region info
func (*Athena) ProcessResultRows ¶
func (a *Athena) ProcessResultRows(queryExecutionId *string, fn ProcessRow) error
func (*Athena) SubmitAthenaQuery ¶
Submit Query Request db: target db to query query: standard sql o : output location. s3 output path
func (*Athena) WaitForQueryToComplete ¶
Wait for an Athena query to complete, fail or is canceled. If a query fails or is canceled, then Error Query finish will return nil
type ProcessRow ¶
type ProcessRow func(page *athena.GetQueryResultsOutput, lastPage bool) bool
Define function for executing data
type S3 ¶
Amazon API guide: http://docs.aws.amazon.com/sdk-for-go/api/
Click to show internal directories.
Click to hide internal directories.