model

package
v0.0.0-...-9337120 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ReportEventProperties = "reportEvent"
View Source
const ReportUserProperties = "reportUser"

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnWithType

type ColumnWithType struct {
	Name       string
	Type       int
	Nullable   bool
	SourceName string
}

type DimMetrics

type DimMetrics struct {
	Dims   []*ColumnWithType
	Fields []*ColumnWithType
}

type Metric

type Metric interface {
	GetInt(key string, nullable bool) (val interface{})
	GetFloat(key string, nullable bool) (val interface{})
	GetString(key string, nullable bool) (val interface{})
	GetDateTime(key string, nullable bool) (val interface{})
	GetElasticDateTime(key string, nullable bool) (val interface{})
	GetArray(key string, t int) (val interface{})
	GetNewKeys(knownKeys *sync.Map, newKeys *sync.Map) bool
}

Jump to

Keyboard shortcuts

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