Documentation
¶
Index ¶
- func ConvTupleListToValues(schema_ *schema.Schema, result []*tuple.Tuple) [][]*types.Value
- func PrintExecuteResults(results [][]*types.Value)
- type SamehadaDB
- type SamehadaInstance
- func (si *SamehadaInstance) Finalize(IsRemoveFiles bool)
- func (si *SamehadaInstance) GetBufferPoolManager() *buffer.BufferPoolManager
- func (si *SamehadaInstance) GetCheckpointManager() *concurrency.CheckpointManager
- func (si *SamehadaInstance) GetDiskManager() disk.DiskManager
- func (si *SamehadaInstance) GetLockManager() *access.LockManager
- func (si *SamehadaInstance) GetLogManager() *recovery.LogManager
- func (si *SamehadaInstance) GetTransactionManager() *access.TransactionManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvTupleListToValues ¶
func PrintExecuteResults ¶
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
Click to show internal directories.
Click to hide internal directories.