filters

package
v0.0.0-...-e06ea66 Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoTransform

func DoTransform(in *sql.DB, out *sql.DB, outf *os.File, t *Transform)

Types

type ITransform

type ITransform interface {
	// contains filtered or unexported methods
}

type MyEventReceiver

type MyEventReceiver struct{}

MyEventReceiver is a sentinel EventReceiver; use it if the caller doesn't supply one

func (*MyEventReceiver) Event

func (n *MyEventReceiver) Event(eventName string)

Event receives a simple notification when various events occur

func (*MyEventReceiver) EventErr

func (n *MyEventReceiver) EventErr(eventName string, err error) error

EventErr receives a notification of an error if one occurs

func (*MyEventReceiver) EventErrKv

func (n *MyEventReceiver) EventErrKv(eventName string, err error, kvs map[string]string) error

EventErrKv receives a notification of an error if one occurs along with optional key/value data

func (*MyEventReceiver) EventKv

func (n *MyEventReceiver) EventKv(eventName string, kvs map[string]string)

EventKv receives a notification when various events occur along with optional key/value data

func (*MyEventReceiver) Timing

func (n *MyEventReceiver) Timing(eventName string, nanoseconds int64)

Timing receives the time an event took to happen

func (*MyEventReceiver) TimingKv

func (n *MyEventReceiver) TimingKv(eventName string, nanoseconds int64, kvs map[string]string)

TimingKv receives the time an event took to happen along with optional key/value data

type StartNode

type StartNode struct {
	FileId   int
	NodeType string
	Attrs    []struct {
		Field    string
		SubField string
		SubValue string
	}
}

type Transform

type Transform struct {
	Filter      string
	LoadRecurse StartNode
}

type Traversal

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

Jump to

Keyboard shortcuts

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