Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexByteValue ¶
IndexByteValue indexes a value and recordId tuple creating multimap from value to lists of associated recordIds.
Types ¶
type Collector ¶
type Collector func(IndexIterator) []int64
func CollectAll ¶
func CollectAll() Collector
func CollectFirstN ¶
func CollectLastN ¶
type IndexIterator ¶
func IndexSearchByteValue ¶
func IndexSearchByteValue(b *bolt.Bucket, value []byte) IndexIterator
IndexSearchByteValue searches the index given a value and returns an iterator over the associated recordIds.
type IndexSearchIterator ¶
type IndexSearchIterator struct {
// contains filtered or unexported fields
}
func (*IndexSearchIterator) Next ¶
func (i *IndexSearchIterator) Next() (int64, bool)
type JoinIterator ¶
type JoinIterator struct {
// contains filtered or unexported fields
}
func NewJoinIterator ¶
func NewJoinIterator(iters ...IndexIterator) *JoinIterator
func (*JoinIterator) Next ¶
func (j *JoinIterator) Next() (int64, bool)
type SeekableIndexIterator ¶ added in v1.0.0
type SeekableIndexIterator interface { IndexIterator Seek(int64) (int64, bool) // seek to the first recordId >= id and return it or return false. }
Click to show internal directories.
Click to hide internal directories.