varchar

package
v0.0.0-...-2c8b24f Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2015 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CONTROLSIZE = 20
View Source
const FREE_VARCHAR_SIZE = 16
View Source
const LENSIZE = 8
View Source
const LIST_HEADER_LEN = 40
View Source
const METADATASIZE = 8
View Source
const PTRSIZE = 8

Variables

This section is empty.

Functions

This section is empty.

Types

type Varchar

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

func NewVarchar

func NewVarchar(file file.BlockDevice) (self *Varchar, err error)

func OpenVarchar

func OpenVarchar(file file.BlockDevice) (self *Varchar, err error)

func (*Varchar) Close

func (self *Varchar) Close() error

func (*Varchar) Read

func (self *Varchar) Read(key int64) (bytes bs.ByteSlice, err error)

func (*Varchar) Remove

func (self *Varchar) Remove(key int64) (err error)

func (*Varchar) Update

func (self *Varchar) Update(key int64, bytes bs.ByteSlice) (err error)

func (*Varchar) Write

func (self *Varchar) Write(bytes bs.ByteSlice) (key int64, err error)

type VarcharList

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

func MakeVarcharList

func MakeVarcharList(file file.BlockDevice) (self *VarcharList)

func (*VarcharList) Close

func (self *VarcharList) Close() error

func (*VarcharList) Free

func (self *VarcharList) Free(key int64) (err error)

func (*VarcharList) GetList

func (self *VarcharList) GetList(key int64) (bytes_list []bs.ByteSlice, err error)

func (*VarcharList) New

func (self *VarcharList) New() (key int64, err error)

func (*VarcharList) Push

func (self *VarcharList) Push(key int64, raw_bytes bs.ByteSlice) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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