es

package module
v0.0.0-...-d717ff3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESClient

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

func NewESClient

func NewESClient(in_cnf cnf.Config) (*ESClient, error)

func (*ESClient) Close

func (esc *ESClient) Close() error

func (*ESClient) CreateTimeseries

func (esc *ESClient) CreateTimeseries(results *elastic.SearchHits) ([]*prompb.TimeSeries, error)

func (*ESClient) Insert

func (esc *ESClient) Insert(req prompb.WriteRequest) error

func (*ESClient) NewBulkService

func (esc *ESClient) NewBulkService() error

func (*ESClient) Select

func (esc *ESClient) Select(q *prompb.Query) (*elastic.SearchHits, error)

func (*ESClient) SetupIndex

func (esc *ESClient) SetupIndex(c esconf) error

func (*ESClient) Statistics

func (esc *ESClient) Statistics()

func (*ESClient) Stop

func (esc *ESClient) Stop()

Jump to

Keyboard shortcuts

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