Documentation ¶
Index ¶
- Variables
- func Fingerprint(remoteIP, userAgent, domain, host string) (sum uint64)
- func NewRecordBuilder(mem memory.Allocator, as *arrow.Schema) (*array.RecordBuilder, func(reflect.Value))
- func NewTaker(mem memory.Allocator, as *arrow.Schema) (*array.RecordBuilder, func(arrow.Record, []int, []uint32))
- func Schema[T any]() *arrow.Schema
- type Arrow
- type Event
- type FullIndex
- func (idx *FullIndex) CanIndex() bool
- func (idx *FullIndex) Columns(f func(column index.Column) error) error
- func (idx *FullIndex) Match(b *roaring.Bitmap, m []*filters.CompiledFilter)
- func (idx *FullIndex) Max() (n uint64)
- func (idx *FullIndex) Min() (n uint64)
- func (idx *FullIndex) Size() (n uint64)
- type Index
- type Merger
Constants ¶
This section is empty.
Variables ¶
View Source
var False = ptr(false)
View Source
var True = ptr(true)
Functions ¶
func Fingerprint ¶
func NewRecordBuilder ¶
Types ¶
type Event ¶
type Event struct { Timestamp int64 ID int64 // When a new session is established for the first time we set Bounce to 1, if // a user visits another page within the same session for the first time Bounce // is set to -1, any subsequent visits within the session sets Bounce to 0. // // This allows effective calculation of bounce rate by just summing the Bounce // column with faster math.Int64.Sum. // // NOTE: Bounce is calculated per session. We simply want to know if a user // stayed and browsed the website. Bounce *bool Session bool View bool Duration float64 Browser string BrowserVersion string City string Country string Domain string EntryPage string ExitPage string Host string Event string Os string OsVersion string Path string Referrer string ReferrerSource string Region string Screen string UtmCampaign string UtmContent string UtmMedium string UtmSource string UtmTerm string }
type FullIndex ¶
type FullIndex struct {
// contains filtered or unexported fields
}
func NewFullIdx ¶ added in v0.0.61
func NewFullIdx(m map[string]*index.FullColumn, min, max uint64) *FullIndex
Click to show internal directories.
Click to hide internal directories.