loader

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPEND  = "APPEND"
	REPLACE = "REPLACE"
	MERGE   = "MERGE"
)

Variables

This section is empty.

Functions

func NewAppendLoader

func NewAppendLoader(logger *slog.Logger) (*appendLoader, error)

func NewMergeLoader

func NewMergeLoader(logger *slog.Logger) *mergeLoader

func NewReplaceLoader

func NewReplaceLoader(logger *slog.Logger) *replaceLoader

Types

type Loader

type Loader interface {
	GetQuery(tableID, query string) string
	GetPartitionedQuery(tableID, query string, partitionName []string) string
}

func GetLoader

func GetLoader(name string, logger *slog.Logger) (Loader, error)

Jump to

Keyboard shortcuts

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