orientdb

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrientDBStorage

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

OrientDBStorage describes a OrientDB database client

func New

func New(backend string) (*OrientDBStorage, error)

New creates a new OrientDB database client

func (*OrientDBStorage) Close

func (c *OrientDBStorage) Close()

Close the database client

func (*OrientDBStorage) SearchFlows

func (c *OrientDBStorage) SearchFlows(fsq filters.SearchQuery) (*flow.FlowSet, error)

SearchFlows search flow matching filters in the database

func (*OrientDBStorage) SearchMetrics

func (c *OrientDBStorage) SearchMetrics(fsq filters.SearchQuery, metricFilter *filters.Filter) (map[string][]common.Metric, error)

SearchMetrics searches flow metrics matching filters in the database

func (*OrientDBStorage) SearchRawPackets added in v0.16.0

func (c *OrientDBStorage) SearchRawPackets(fsq filters.SearchQuery, packetFilter *filters.Filter) (map[string]*flow.RawPackets, error)

SearchRawPackets searches flow raw packets matching filters in the database

func (*OrientDBStorage) Start

func (c *OrientDBStorage) Start()

Start the database client

func (*OrientDBStorage) Stop

func (c *OrientDBStorage) Stop()

Stop the database client

func (*OrientDBStorage) StoreFlows

func (c *OrientDBStorage) StoreFlows(flows []*flow.Flow) error

StoreFlows pushes a set of flows in the database

Source Files

  • orientdb.go

Jump to

Keyboard shortcuts

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