ifaceAthena

package
v8.8.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidResults = errors.New("Something goes really wrong, the results are not valid")
	ErrPending        = errors.New("The query is pending")
)

Functions

This section is empty.

Types

type Athena

type Athena struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) (*Athena, error)

func (*Athena) Query

func (a *Athena) Query(database, querySQL string) (string, error)

func (*Athena) Read

func (a *Athena) Read(queryExecutionId string, nextToken string, maxResults int64) ([]map[string]string, string, error)

type Config

type Config struct {
	Region         string
	Profile        string
	OutputLocation string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL