views

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column interface {
	Name() string
	IsPartition() bool
}

type Table

type Table interface {
	DatabaseName() string
	Name() string
	Columns() []Column
}

type TableLister

type TableLister interface {
	ListTables(ctx context.Context, databaseName string) (tables []Table, err error)
}

type ViewMaker

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

func NewViewMaker

func NewViewMaker(tableLister TableLister) *ViewMaker

func (*ViewMaker) GenerateLogViews

func (vm *ViewMaker) GenerateLogViews(ctx context.Context) (sqlStatements []string, err error)

GenerateLogViews creates useful Athena views in the panther views database

Jump to

Keyboard shortcuts

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