builtin

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 10 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CGoLogger

func CGoLogger(level int, msg string)

CGoLogger logger function for C

Types

type Builtin

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

func (*Builtin) AddIndex

func (binding *Builtin) AddIndex(namespace string, indexDef bindings.IndexDef) error

func (*Builtin) Clone added in v1.9.7

func (binding *Builtin) Clone() bindings.RawBinding

func (*Builtin) CloseNamespace

func (binding *Builtin) CloseNamespace(namespace string) error

func (*Builtin) Commit

func (binding *Builtin) Commit(namespace string) error

func (*Builtin) DeleteQuery

func (binding *Builtin) DeleteQuery(nsHash int, data []byte) (bindings.RawBuffer, error)

func (*Builtin) DisableLogger

func (binding *Builtin) DisableLogger()

func (*Builtin) DropIndex added in v1.9.2

func (binding *Builtin) DropIndex(namespace, index string) error

func (*Builtin) DropNamespace

func (binding *Builtin) DropNamespace(namespace string) error

func (*Builtin) EnableLogger

func (binding *Builtin) EnableLogger(log bindings.Logger)

func (*Builtin) EnableStorage

func (binding *Builtin) EnableStorage(path string) error

func (*Builtin) Finalize added in v1.9.7

func (binding *Builtin) Finalize() error

func (*Builtin) GetMeta

func (binding *Builtin) GetMeta(namespace, key string) (bindings.RawBuffer, error)

func (*Builtin) Init

func (binding *Builtin) Init(u *url.URL, options ...interface{}) error

func (*Builtin) ModifyItem

func (binding *Builtin) ModifyItem(nsHash int, namespace string, format int, data []byte, mode int, precepts []string, stateToken int, txID int) (bindings.RawBuffer, error)

func (*Builtin) OpenNamespace

func (binding *Builtin) OpenNamespace(namespace string, enableStorage, dropOnFormatError bool, cacheMode uint8) error

func (*Builtin) Ping

func (binding *Builtin) Ping() error

func (*Builtin) PutMeta

func (binding *Builtin) PutMeta(namespace, key, data string) error

func (*Builtin) Select

func (binding *Builtin) Select(query string, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)

func (*Builtin) SelectQuery

func (binding *Builtin) SelectQuery(data []byte, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)

func (*Builtin) UpdateIndex added in v1.9.7

func (binding *Builtin) UpdateIndex(namespace string, indexDef bindings.IndexDef) error

type Logger

type Logger interface {
	Printf(level int, fmt string, msg ...interface{})
}

Logger interface for reindexer

type RawCBuffer

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

func (*RawCBuffer) Free

func (buf *RawCBuffer) Free()

func (*RawCBuffer) FreeFinalized

func (buf *RawCBuffer) FreeFinalized()

func (*RawCBuffer) GetBuf

func (buf *RawCBuffer) GetBuf() []byte

Jump to

Keyboard shortcuts

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