storage

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Sz8   = 8
	Sz16  = 16
	Sz32  = 32
	Sz64  = 64
	Sz30M = 30 * 1024 * 1024
)
View Source
const (
	// Number of numerical characters after dot may be different.
	// The longest one is probably this: 2024-05-02T12:36:13.395105207Z
	LenTimestamp3339 = 22
)

Variables

This section is empty.

Functions

This section is empty.

Types

type YDB

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

func New

func New(cfg *config.Config) (*YDB, error)

func (*YDB) AppendColumn added in v1.2.0

func (s *YDB) AppendColumn(name string, in interface{}, rowbytes int, columns []types.StructValueOption) (
	[]types.StructValueOption, int, error,
)

func (*YDB) AppendColumnPlain added in v1.2.0

func (s *YDB) AppendColumnPlain(cref options.Column, in interface{}, rowbytes int, columns []types.StructValueOption) (
	[]types.StructValueOption, int, error,
)

func (*YDB) BuildColumnUsageMap added in v1.2.0

func (s *YDB) BuildColumnUsageMap() map[string]bool

func (*YDB) ConvertRows added in v1.2.0

func (s *YDB) ConvertRows(events []*model.Event) ([]types.Value, int, error)

func (*YDB) Exit

func (s *YDB) Exit() error

func (*YDB) Write

func (s *YDB) Write(events []*model.Event) error

Jump to

Keyboard shortcuts

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