Documentation
¶
Index ¶
- func CreateConfigFile(name string, cfg interface{}) (homeDir string, file *os.File, cleanup func(), err error)
- func CreateResultConfig(outputLocation string) *athena.ResultConfiguration
- func CreateRows(rawRows [][]string) []*athena.Row
- func CreateStats(execTime, scannedBytes int64) *athena.QueryExecutionStatistics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigFile ¶
func CreateConfigFile(name string, cfg interface{}) (homeDir string, file *os.File, cleanup func(), err error)
CreateConfigFile creates a new config file in a tempporary directory based on cfg's data. The type of cfg is set to interface{} to avoid cyclic import, but it must be *athenai.Config.
func CreateResultConfig ¶
func CreateResultConfig(outputLocation string) *athena.ResultConfiguration
CreateResultConfig creates a new *athena.ResultConfiguration.
func CreateRows ¶
CreateRows creates an array of *athena.Row from an array of string arrays.
func CreateStats ¶
func CreateStats(execTime, scannedBytes int64) *athena.QueryExecutionStatistics
CreateStats creates a new QueryExecutionStatistics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.