builtinserver

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuiltinServer

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

func (*BuiltinServer) AddIndex

func (server *BuiltinServer) AddIndex(namespace, index, jsonPath, indexType, fieldType string, opts bindings.IndexOptions, collateMode int, sortOrderStr string) error

func (*BuiltinServer) CloseNamespace

func (server *BuiltinServer) CloseNamespace(namespace string) error

func (*BuiltinServer) Commit

func (server *BuiltinServer) Commit(namespace string) error

func (*BuiltinServer) ConfigureIndex

func (server *BuiltinServer) ConfigureIndex(namespace, index, config string) error

func (*BuiltinServer) DeleteQuery

func (server *BuiltinServer) DeleteQuery(nsHash int, rawQuery []byte) (bindings.RawBuffer, error)

func (*BuiltinServer) DisableLogger

func (server *BuiltinServer) DisableLogger()

func (*BuiltinServer) DropIndex

func (server *BuiltinServer) DropIndex(namespace, index string) error

func (*BuiltinServer) DropNamespace

func (server *BuiltinServer) DropNamespace(namespace string) error

func (*BuiltinServer) EnableLogger

func (server *BuiltinServer) EnableLogger(logger bindings.Logger)

func (*BuiltinServer) EnableStorage

func (server *BuiltinServer) EnableStorage(namespace string) error

func (*BuiltinServer) GetMeta

func (server *BuiltinServer) GetMeta(namespace, key string) (bindings.RawBuffer, error)

func (*BuiltinServer) Init

func (server *BuiltinServer) Init(u *url.URL, options ...interface{}) error

func (*BuiltinServer) ModifyItem

func (server *BuiltinServer) ModifyItem(nsHash int, data []byte, mode int) (bindings.RawBuffer, error)

func (*BuiltinServer) OpenNamespace

func (server *BuiltinServer) OpenNamespace(namespace string, enableStorage, dropOnFileFormatError bool, cacheMode uint8) error

func (*BuiltinServer) Ping

func (server *BuiltinServer) Ping() error

func (*BuiltinServer) PutMeta

func (server *BuiltinServer) PutMeta(namespace, key, data string) error

func (*BuiltinServer) Select

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

func (*BuiltinServer) SelectQuery

func (server *BuiltinServer) SelectQuery(rawQuery []byte, withItems bool, ptVersions []int32, fetchCount int) (bindings.RawBuffer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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