builtinserver

package
v2.6.4+incompatible Latest Latest
Warning

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

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

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(ctx context.Context, namespace string, indexDef bindings.IndexDef) error

func (*BuiltinServer) BeginTx

func (server *BuiltinServer) BeginTx(ctx context.Context, namespace string) (bindings.TxCtx, error)

func (*BuiltinServer) Clone

func (server *BuiltinServer) Clone() bindings.RawBinding

func (*BuiltinServer) CloseNamespace

func (server *BuiltinServer) CloseNamespace(ctx context.Context, namespace string) error

func (*BuiltinServer) Commit

func (server *BuiltinServer) Commit(ctx context.Context, namespace string) error

func (*BuiltinServer) CommitTx

func (server *BuiltinServer) CommitTx(txCtx *bindings.TxCtx) (bindings.RawBuffer, error)

func (*BuiltinServer) DeleteQuery

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

func (*BuiltinServer) DeleteQueryTx

func (server *BuiltinServer) DeleteQueryTx(txCtx *bindings.TxCtx, rawQuery []byte) error

func (*BuiltinServer) DisableLogger

func (server *BuiltinServer) DisableLogger()

func (*BuiltinServer) DropIndex

func (server *BuiltinServer) DropIndex(ctx context.Context, namespace, index string) error

func (*BuiltinServer) DropNamespace

func (server *BuiltinServer) DropNamespace(ctx context.Context, namespace string) error

func (*BuiltinServer) EnableLogger

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

func (*BuiltinServer) EnableStorage

func (server *BuiltinServer) EnableStorage(ctx context.Context, namespace string) error

func (*BuiltinServer) Finalize

func (server *BuiltinServer) Finalize() error

func (*BuiltinServer) GetMeta

func (server *BuiltinServer) GetMeta(ctx context.Context, 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(ctx context.Context, nsHash int, namespace string, format int, data []byte, mode int, percepts []string, stateToken int) (bindings.RawBuffer, error)

func (*BuiltinServer) ModifyItemTx

func (server *BuiltinServer) ModifyItemTx(txCtx *bindings.TxCtx, format int, data []byte, mode int, precepts []string, stateToken int) error

func (*BuiltinServer) ModifyItemTxAsync

func (server *BuiltinServer) ModifyItemTxAsync(txCtx *bindings.TxCtx, format int, data []byte, mode int, precepts []string, stateToken int, cmpl bindings.RawCompletion)

ModifyItemTxAsync is not implemented for builtin-server binding

func (*BuiltinServer) OpenNamespace

func (server *BuiltinServer) OpenNamespace(ctx context.Context, namespace string, enableStorage, dropOnFileFormatError bool) error

func (*BuiltinServer) Ping

func (server *BuiltinServer) Ping(ctx context.Context) error

func (*BuiltinServer) PutMeta

func (server *BuiltinServer) PutMeta(ctx context.Context, namespace, key, data string) error

func (*BuiltinServer) RenameNamespace

func (server *BuiltinServer) RenameNamespace(ctx context.Context, srcNs string, dstNs string) error

func (*BuiltinServer) RollbackTx

func (server *BuiltinServer) RollbackTx(txCtx *bindings.TxCtx) error

func (*BuiltinServer) Select

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

func (*BuiltinServer) SelectQuery

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

func (*BuiltinServer) Status

func (server *BuiltinServer) Status(ctx context.Context) (status bindings.Status)

func (*BuiltinServer) TruncateNamespace

func (server *BuiltinServer) TruncateNamespace(ctx context.Context, namespace string) error

func (*BuiltinServer) UpdateIndex

func (server *BuiltinServer) UpdateIndex(ctx context.Context, namespace string, indexDef bindings.IndexDef) error

func (*BuiltinServer) UpdateQuery

func (server *BuiltinServer) UpdateQuery(ctx context.Context, nsHash int, rawQuery []byte) (bindings.RawBuffer, error)

func (*BuiltinServer) UpdateQueryTx

func (server *BuiltinServer) UpdateQueryTx(txCtx *bindings.TxCtx, rawQuery []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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