samehada

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvTupleListToValues

func ConvTupleListToValues(schema_ *schema.Schema, result []*tuple.Tuple) [][]*types.Value

func PrintExecuteResults

func PrintExecuteResults(results [][]*types.Value)

Types

type SamehadaDB

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

func NewSamehadaDB

func NewSamehadaDB(dbName string) *SamehadaDB

func (*SamehadaDB) ExecuteSQL

func (sdb *SamehadaDB) ExecuteSQL(sqlStr string) (error, [][]*types.Value)

type SamehadaInstance

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

func NewSamehadaInstance

func NewSamehadaInstance(dbName string) *SamehadaInstance

reset program state except for variables on testcase function and db/log file

func NewSamehadaInstanceForTesting

func NewSamehadaInstanceForTesting() *SamehadaInstance

func (*SamehadaInstance) Finalize

func (si *SamehadaInstance) Finalize(IsRemoveFiles bool)

functionality is Shutdown of DiskManager and action around DB file only

func (*SamehadaInstance) GetBufferPoolManager

func (si *SamehadaInstance) GetBufferPoolManager() *buffer.BufferPoolManager

func (*SamehadaInstance) GetCheckpointManager

func (si *SamehadaInstance) GetCheckpointManager() *concurrency.CheckpointManager

func (*SamehadaInstance) GetDiskManager

func (si *SamehadaInstance) GetDiskManager() disk.DiskManager

func (*SamehadaInstance) GetLockManager

func (si *SamehadaInstance) GetLockManager() *access.LockManager

func (*SamehadaInstance) GetLogManager

func (si *SamehadaInstance) GetLogManager() *recovery.LogManager

func (*SamehadaInstance) GetTransactionManager

func (si *SamehadaInstance) GetTransactionManager() *access.TransactionManager

Jump to

Keyboard shortcuts

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