builder

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregator

type Aggregator interface {
	Type() ComponentType
}

type Bound

type Bound interface {
	Type() ComponentType
}

type ComponentType

type ComponentType = string

type DataSource

type DataSource interface {
	Type() ComponentType
}

type Dimension

type Dimension interface {
	Type() ComponentType
}

type ExtractionFn

type ExtractionFn interface {
	Type() ComponentType
}

type Filter

type Filter interface {
	Type() ComponentType
}

type Granularity

type Granularity interface {
	Type() ComponentType
}

type HavingSpec

type HavingSpec interface {
	Type() ComponentType
}

type Intervals

type Intervals interface {
	Type() ComponentType
}

type LimitSpec

type LimitSpec interface {
	Type() ComponentType
}

type LookupExtractor

type LookupExtractor interface {
	Type() ComponentType
}

type PostAggregator

type PostAggregator interface {
	Type() ComponentType
}

type Query

type Query interface {
	Type() ComponentType
}

type SearchQuerySpec

type SearchQuerySpec interface {
	Type() ComponentType
}

type Spec

type Spec struct {
	Typ    ComponentType
	Fields map[string]interface{}
}

func NewSpec

func NewSpec(typ string) *Spec

func (*Spec) MarshalJSON

func (g *Spec) MarshalJSON() ([]byte, error)

func (*Spec) MergeFields

func (g *Spec) MergeFields(fields map[string]interface{}) *Spec

func (*Spec) SetField

func (g *Spec) SetField(name string, value interface{}) *Spec

func (*Spec) SetFields

func (g *Spec) SetFields(fields map[string]interface{}) *Spec

func (*Spec) SetName

func (g *Spec) SetName(name string) *Spec

func (*Spec) SetType

func (g *Spec) SetType(typ string) *Spec

func (*Spec) Type

func (g *Spec) Type() ComponentType

func (*Spec) UnmarshalJSON

func (g *Spec) UnmarshalJSON(bytes []byte) error

type ToInclude

type ToInclude interface {
	Type() ComponentType
}

type TopNMetric

type TopNMetric interface {
	Type() ComponentType
}

type VirtualColumn

type VirtualColumn interface {
	Type() ComponentType
}

Jump to

Keyboard shortcuts

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