hash

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBoolHashIndex

func NewBoolHashIndex(getter record.BoolGetter, unique bool) indexes.Index

func NewEnum16HashIndex

func NewEnum16HashIndex(getter record.Enum16Getter, unique bool) indexes.Index

func NewEnum8HashIndex

func NewEnum8HashIndex(getter record.Enum8Getter, unique bool) indexes.Index

func NewIndex

func NewIndex(field record.Field, compute indexes.IndexComputer, hashTable Storage, unique bool) indexes.Index

func NewInt32HashIndex

func NewInt32HashIndex(getter record.Int32Getter, unique bool) indexes.Index

func NewInt64HashIndex

func NewInt64HashIndex(getter record.Int64Getter, unique bool) indexes.Index

func NewStringHashIndex

func NewStringHashIndex(getter record.StringGetter, unique bool) indexes.Index

Types

type Storage

type Storage interface {
	indexes.Storage
	Keys() []indexes.Key
}

func CreateHashTable

func CreateHashTable() Storage

Jump to

Keyboard shortcuts

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