athenaviews

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewMaker

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

func NewViewMaker

func NewViewMaker(athenaClient athenaiface.AthenaAPI, workgroup string) *ViewMaker

func (*ViewMaker) CreateOrReplaceLogViews

func (m *ViewMaker) CreateOrReplaceLogViews(ctx context.Context) error

CreateOrReplaceLogViews will update Athena with all views for the tables provided

func (*ViewMaker) ListTables

func (m *ViewMaker) ListTables(ctx context.Context, databaseName string) (tables []views.Table, err error)

Jump to

Keyboard shortcuts

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