replaceprimarykey

package
v0.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Type = abstract.TransformerType("replace_primary_key")

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Keys   []string      `json:"keys"`
	Tables filter.Tables `json:"tables"`
}

type ReplacePrimaryKeyTransformer

type ReplacePrimaryKeyTransformer struct {
	Tables filter.Filter
	Keys   []string
	// contains filtered or unexported fields
}

func NewReplacePrimaryKeyTransformer

func NewReplacePrimaryKeyTransformer(cfg Config) (*ReplacePrimaryKeyTransformer, error)

func (*ReplacePrimaryKeyTransformer) Apply

func (*ReplacePrimaryKeyTransformer) Description

func (r *ReplacePrimaryKeyTransformer) Description() string

func (*ReplacePrimaryKeyTransformer) ResultSchema

func (*ReplacePrimaryKeyTransformer) Suitable

func (*ReplacePrimaryKeyTransformer) Type

Jump to

Keyboard shortcuts

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