dbms

package
v0.0.0-...-32ccde8 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMS

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

func (*DBMS) Delete

func (t *DBMS) Delete(txn *engine.TxUpdate, tblName string, idxName string, record schema.Record) (err error)

func (*DBMS) Exist

func (t *DBMS) Exist(txn *engine.TxView, tblName string, idxName string, record schema.Record) (exist bool, err error)

func (*DBMS) Get

func (t *DBMS) Get(txn *engine.TxView, tblName string, idxName string, record schema.Record) (value []byte, err error)

func (*DBMS) Init

func (t *DBMS) Init() error

func (*DBMS) InitEngine

func (t *DBMS) InitEngine(path string) error

func (*DBMS) InitSchema

func (t *DBMS) InitSchema() error

func (*DBMS) Insert

func (t *DBMS) Insert(txn *engine.TxUpdate, tblName string, record schema.Record) error

TODO: 임시 - key 제작 시 구분자 기준 대신 길이 처리 필요 ( 동적 길이 또는 고정 길이 )

func (*DBMS) Range

func (t *DBMS) Range(txn *engine.TxView, tblName string, idxName string, record schema.Record) error

TODO: Implement Range

func (*DBMS) UpdateSchema

func (t *DBMS) UpdateSchema() error

Jump to

Keyboard shortcuts

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