Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VirtualReaderParams ¶
type VirtualReaderParams struct {
Lower base.InternalKey
Upper base.InternalKey
FileNum base.FileNum
}
VirtualReaderParams are the parameters necessary for a reader to read virtual sstables.
func (*VirtualReaderParams) ConstrainBounds ¶
func (v *VirtualReaderParams) ConstrainBounds( start, end []byte, endInclusive bool, compare func([]byte, []byte) int, ) (lastKeyInclusive bool, first []byte, last []byte)
Constrain bounds will narrow the start, end bounds if they do not fit within the virtual sstable. The function will return if the new end key is inclusive.
Click to show internal directories.
Click to hide internal directories.