roaring

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitmapFromPostingsList

func BitmapFromPostingsList(pl postings.List) (*roaring.Bitmap, bool)

BitmapFromPostingsList returns a bitmap from a postings list if it is a roaring bitmap postings list.

func NewPostingsList

func NewPostingsList() postings.MutableList

NewPostingsList returns a new mutable postings list backed by a Roaring Bitmap.

func NewPostingsListFromBitmap

func NewPostingsListFromBitmap(bitmap *roaring.Bitmap) postings.MutableList

NewPostingsListFromBitmap returns a new mutable postings list using an existing roaring bitmap.

func Union

func Union(inputs []postings.List) (postings.MutableList, error)

Union retrieves a new postings list which is the union of the provided lists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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