Documentation
¶
Index ¶
- func CompareFunc1D(a, b interface{}) int
- func CompareReverseFunc1D(b, a interface{}) int
- func DeserializeRaw(bb []byte) (v interface{}, err error)
- func DeserializeUint64(bb []byte) uint64
- func FloatFromSortableInt(n uint64) float64
- func FloatToSortableInt(f float64) uint64
- func GobDeserialize(bb []byte) (*_Item, error)
- func GobSerialize(v *_Item) ([]byte, error)
- func KeyToRange(bb []byte) (r Range, id []byte)
- func NewID(id []byte) _ID
- func NewItem(id []byte, v interface{}, rs ...Range) *_Item
- func ParseOpts(opts []Options) (m map[int]interface{}, err error)
- func SerializeRaw(v interface{}) ([]byte, error)
- func SerializeUint64(n uint64) []byte
- type Debugger
- type OptKVDir
- type OptKVName
- type Options
- type Spatial1D
- func (this *Spatial1D) AsDebug() *Debugger
- func (this *Spatial1D) Close()
- func (this *Spatial1D) Contains(x uint64) Enum
- func (this *Spatial1D) ContainsRange(min, max uint64) Enum
- func (this Spatial1D) DbPath() string
- func (this *Spatial1D) FlushExt() (err error)
- func (this *Spatial1D) GetExtInfo(category uint8, id []byte) (v interface{}, err error)
- func (this *Spatial1D) Set(id []byte, r Range, v interface{}) error
- func (this *Spatial1D) SetExtBatchSize(n uint)
- func (this *Spatial1D) SetExtInfo(category uint8, id []byte, v interface{}) error
- func (this *Spatial1D) WithinRange(min, max uint64) Enum
- type Spatial2D
- func (this *Spatial2D) Close()
- func (this *Spatial2D) Contains(x, y uint64) Enum
- func (this *Spatial2D) ContainsRange(x, y Range) Enum
- func (this *Spatial2D) GetExtInfo(category uint8, id []byte) (v interface{}, err error)
- func (this *Spatial2D) Set(id []byte, x, y Range, v interface{}) error
- func (this *Spatial2D) SetExtInfo(category uint8, id []byte, v interface{}) error
- func (this *Spatial2D) WithinRange(x, y Range) Enum
- type Spatial3D
- func (this *Spatial3D) Close()
- func (this *Spatial3D) Contains(x, y, z uint64) Enum
- func (this *Spatial3D) ContainsRange(x, y, z Range) Enum
- func (this *Spatial3D) GetExtInfo(category uint8, id []byte) (v interface{}, err error)
- func (this *Spatial3D) Set(id []byte, x, y, z Range, v interface{}) error
- func (this *Spatial3D) SetExtInfo(category uint8, id []byte, v interface{}) error
- func (this *Spatial3D) WithinRange(x, y, z Range) Enum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareFunc1D ¶
func CompareFunc1D(a, b interface{}) int
func CompareReverseFunc1D ¶
func CompareReverseFunc1D(b, a interface{}) int
func DeserializeRaw ¶
func DeserializeUint64 ¶
func FloatFromSortableInt ¶
func FloatToSortableInt ¶
func GobDeserialize ¶
func GobSerialize ¶
func KeyToRange ¶
func SerializeRaw ¶
func SerializeUint64 ¶
Types ¶
type Debugger ¶
type Debugger struct {
*Spatial1D
}
func (*Debugger) DumpRangeExtInfo ¶
type Spatial1D ¶
type Spatial1D struct {
// contains filtered or unexported fields
}
func (*Spatial1D) ContainsRange ¶
func (*Spatial1D) GetExtInfo ¶
func (*Spatial1D) SetExtBatchSize ¶
func (*Spatial1D) SetExtInfo ¶
func (*Spatial1D) WithinRange ¶
type Spatial2D ¶
type Spatial2D struct {
// contains filtered or unexported fields
}
func (*Spatial2D) ContainsRange ¶
func (this *Spatial2D) ContainsRange(x, y Range) Enum
func (*Spatial2D) GetExtInfo ¶
func (*Spatial2D) SetExtInfo ¶
func (*Spatial2D) WithinRange ¶
func (this *Spatial2D) WithinRange(x, y Range) Enum
type Spatial3D ¶
type Spatial3D struct {
// contains filtered or unexported fields
}
func (*Spatial3D) ContainsRange ¶
func (this *Spatial3D) ContainsRange(x, y, z Range) Enum
func (*Spatial3D) GetExtInfo ¶
func (*Spatial3D) SetExtInfo ¶
func (*Spatial3D) WithinRange ¶
func (this *Spatial3D) WithinRange(x, y, z Range) Enum
Click to show internal directories.
Click to hide internal directories.