elastic

package
v0.0.0-...-677aa34 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Export

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

Export export data

func NewExport

func NewExport(cfg config.ElasticSearchCfg) *Export

NewExport new export

func (*Export) CLOSE

func (export *Export) CLOSE() error

CLOSE close

func (*Export) CONSOLE

func (export *Export) CONSOLE(ev *core.RowsEvent)

CONSOLE print data to console

func (*Export) DELETE

func (export *Export) DELETE(ev *core.RowsEvent) error

DELETE delete data to elastic

func (*Export) Do

func (export *Export) Do(ev *core.RowsEvent) error

Do do bulk

func (*Export) INSERT

func (export *Export) INSERT(ev *core.RowsEvent) error

INSERT insert data to elastic

func (*Export) UPDATE

func (export *Export) UPDATE(ev *core.RowsEvent) error

UPDATE update data to elastic

Jump to

Keyboard shortcuts

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