Documentation
¶
Index ¶
- func LexicographicallySortableFloat64(in float64) ([]byte, error)
- func LexicographicallySortableInt64(in int64) ([]byte, error)
- func LexicographicallySortableUint64(in uint64) ([]byte, error)
- func NewMissingFilterableIndexError(propName string) error
- func NewMissingFilterableMetaCountIndexError(propName string) error
- func NewMissingSearchableIndexError(propName string) error
- func ParseLexicographicallySortableFloat64(in []byte) (float64, error)
- func ParseLexicographicallySortableInt64(in []byte) (int64, error)
- func ParseLexicographicallySortableUint64(in []byte) (uint64, error)
- type MissingIndexError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LexicographicallySortableFloat64 ¶ added in v1.30.7
LexicographicallySortableFloat64 transforms a conversion to a lexicographically sortable byte slice. In general, for lexicographical sorting big endian notatino is required. Additionally the sign needs to be flipped in any case, but additionally each remaining byte also needs to be flipped if the number is negative
func LexicographicallySortableInt64 ¶ added in v1.30.7
LexicographicallySortableInt64 performs a conversion to a lexicographically sortable byte slice. For this, big endian notation is required and the sign must be flipped
func LexicographicallySortableUint64 ¶ added in v1.30.7
LexicographicallySortableUint64 performs a conversion to a lexicographically sortable byte slice. For this, big endian notation is required.
func ParseLexicographicallySortableFloat64 ¶ added in v1.30.7
ParseLexicographicallySortableFloat64 reverses the changes in LexicographicallySortableFloat64
func ParseLexicographicallySortableInt64 ¶ added in v1.30.7
ParseLexicographicallySortableInt64 reverses the changes in LexicographicallySortableInt64
func ParseLexicographicallySortableUint64 ¶ added in v1.30.7
ParseLexicographicallySortableUint64 reverses the changes in LexicographicallySortableUint64
Types ¶
type MissingIndexError ¶
type MissingIndexError struct {
// contains filtered or unexported fields
}
func (MissingIndexError) Error ¶
func (e MissingIndexError) Error() string