Documentation
¶
Index ¶
- Constants
- func NewCompactBlockEntry(txn txnif.AsyncTxn, from, to handle.Block, scheduler tasks.TaskScheduler, ...) *compactBlockEntry
- func NewMergeBlocksEntry(txn txnif.AsyncTxn, relation handle.Relation, ...) *mergeBlocksEntry
- func ReadBlkID(r io.Reader, id *common.ID) (n int64, err error)
- func ReadSegID(r io.Reader, id *common.ID) (n int64, err error)
- func ReadUint32Array(r io.Reader) (array []uint32, n int64, err error)
- func WriteBlkID(w io.Writer, id *common.ID) (n int64, err error)
- func WriteSegID(w io.Writer, id *common.ID) (n int64, err error)
- func WriteUint32Array(w io.Writer, array []uint32) (n int64, err error)
Constants ¶
View Source
const ( CmdCompactBlock int16 = 0x0200 + iota CmdMergeBlocks )
Variables ¶
This section is empty.
Functions ¶
func NewCompactBlockEntry ¶
func NewMergeBlocksEntry ¶
func NewMergeBlocksEntry( txn txnif.AsyncTxn, relation handle.Relation, droppedSegs, createdSegs []*catalog.SegmentEntry, droppedBlks, createdBlks []*catalog.BlockEntry, mapping, fromAddr, toAddr []uint32, deletes []*roaring.Bitmap, skipBlks []int, scheduler tasks.TaskScheduler) *mergeBlocksEntry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.