Documentation ¶
Index ¶
- Constants
- type Tuple
- func (t *Tuple) Copy(offset uint32, data []byte)
- func (t *Tuple) Data() []byte
- func (tuple_ *Tuple) DeserializeFrom(storage []byte)
- func (tuple_ *Tuple) GetDeepCopy() *Tuple
- func (t *Tuple) GetRID() *page.RID
- func (t *Tuple) GetValue(schema *schema.Schema, colIndex uint32) types.Value
- func (t *Tuple) GetValueInBytes(schema *schema.Schema, colIndex uint32) []byte
- func (tuple_ *Tuple) SerializeTo(storage []byte)
- func (t *Tuple) SetData(data []byte)
- func (t *Tuple) SetRID(rid *page.RID)
- func (t *Tuple) SetSize(size uint32)
- func (t *Tuple) Size() uint32
Constants ¶
View Source
const TupleSizeOffsetInLogrecord = 4 // payload size info in Bytes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tuple ¶
type Tuple struct {
// contains filtered or unexported fields
}
*
- Tuple format:
- ---------------------------------------------------------------------
- | FIXED-SIZE or VARIED-SIZED OFFSET | PAYLOAD OF VARIED-SIZED FIELD |
- ---------------------------------------------------------------------
func GenTupleForIndexSearch ¶
generate tuple obj for hash index search generated tuple filled only specifed column only due to use methods defined on Index interface
func NewTupleFromSchema ¶
NewTupleFromSchema creates a new tuple based on input value
func (*Tuple) DeserializeFrom ¶
func (*Tuple) GetDeepCopy ¶
func (*Tuple) GetValueInBytes ¶
func (*Tuple) SerializeTo ¶
Click to show internal directories.
Click to hide internal directories.