index

package
v0.0.0-...-9ff550a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ffrac = 1000   // float fraction
	Dfrac = 100000 // double fraction
)

Variables

This section is empty.

Functions

func New

func New(isE bool, id string, db engine.DB, lc cache.Cache, attrs []metadata.Attribute) *index

Types

type Index

type Index interface {
	AddTuples([]interface{}) error

	Eq(string, value.Value) (*roaring.Bitmap, error)
	Ne(string, value.Value) (*roaring.Bitmap, error)
	Lt(string, value.Value) (*roaring.Bitmap, error)
	Le(string, value.Value) (*roaring.Bitmap, error)
	Gt(string, value.Value) (*roaring.Bitmap, error)
	Ge(string, value.Value) (*roaring.Bitmap, error)
}

Jump to

Keyboard shortcuts

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