Documentation ¶
Index ¶
- func Contains(value, substring string) bool
- func EndsWith(value, suffix string) bool
- func Equals(left, right interface{}) bool
- func InCIDR(value, cidr string) bool
- func InList[v float64 | string, result bool](value v, list []v) result
- func MajorThan(left, right float64) bool
- func MatchesRegExp(value, regExp string) bool
- func StartsWith(value, prefix string) bool
- type BooleansBTree
- type DataFrame
- func (d *DataFrame) Append(df *DataFrame, key string)
- func (d *DataFrame) Average(name, field string) *DataFrame
- func (d *DataFrame) CleanExpired()
- func (d *DataFrame) Count(name string) *DataFrame
- func (d *DataFrame) CountUnique(name, field string) *DataFrame
- func (d *DataFrame) Filter(operator, key string, value interface{}, options map[string]bool) *DataFrame
- func (d *DataFrame) FindFirstByKey(key string) (uuid.UUID, string, interface{})
- func (d *DataFrame) Init(ttl time.Duration)
- func (d *DataFrame) Insert(data map[string]interface{})
- func (d *DataFrame) Max(name, field string) *DataFrame
- func (d *DataFrame) Median(name, field string) *DataFrame
- func (d *DataFrame) Min(name, field string) *DataFrame
- func (d *DataFrame) Mode(name, field string) *DataFrame
- func (d *DataFrame) RemoveElement(id uuid.UUID)
- func (d *DataFrame) SliceOf(field string) ([]interface{}, error)
- func (d *DataFrame) SliceOfFloat64(field string) ([]float64, error)
- func (d *DataFrame) Stats(name string)
- func (d *DataFrame) Sum(name, field string) *DataFrame
- func (d *DataFrame) ToSlice() []map[string]interface{}
- func (d *DataFrame) Variance(name, field string) *DataFrame
- type ExpireAtBTree
- type KeysBTree
- type NumericsBTree
- type Row
- type StringsBTree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesRegExp ¶
func StartsWith ¶
Types ¶
type DataFrame ¶
type DataFrame struct { Data map[uuid.UUID]Row Keys KeysBTree Strings StringsBTree Numerics NumericsBTree Booleans BooleansBTree ExpireAt ExpireAtBTree Locker sync.RWMutex TTL time.Duration }
func (*DataFrame) CleanExpired ¶
func (d *DataFrame) CleanExpired()
func (*DataFrame) CountUnique ¶
func (*DataFrame) FindFirstByKey ¶ added in v1.1.0
func (*DataFrame) RemoveElement ¶ added in v1.1.0
func (*DataFrame) SliceOfFloat64 ¶
Click to show internal directories.
Click to hide internal directories.