Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNameFromKey ¶
Types ¶
type DataSet ¶
type DataSet struct { Name string `toml:"name"` DBType types.DBType `toml:"type"` Description string `toml:"description"` DataSource string `toml:"data_source"` }
func (*DataSet) GetCurrent ¶
type DataSource ¶
type DataSource struct { Database string `toml:"database"` Name string `toml:"name"` Alias string `toml:"alias"` Type types.DataSourceType `toml:"type"` Description string `toml:"description"` DimensionJoin DimensionJoins `toml:"dimension_join"` MergeJoin MergeJoin `toml:"merge_join"` }
func (*DataSource) GetDependencyTree ¶
func (d *DataSource) GetDependencyTree() (Graph, error)
func (*DataSource) GetGetDependencyKey ¶
func (d *DataSource) GetGetDependencyKey() []string
func (*DataSource) GetKey ¶
func (d *DataSource) GetKey() string
func (*DataSource) IsDimension ¶
func (d *DataSource) IsDimension() bool
func (*DataSource) IsFact ¶
func (d *DataSource) IsFact() bool
func (*DataSource) IsValid ¶
func (d *DataSource) IsValid() error
type DataSources ¶
type DataSources []*DataSource
func (DataSources) KeyIndex ¶
func (d DataSources) KeyIndex() map[string]*DataSource
type Dimension ¶
type Dimension struct { DataSource string `toml:"data_source"` Name string `toml:"name"` FieldName string `toml:"field_name"` Type types.DimensionType `toml:"type"` ValueType types.ValueType `toml:"value_type"` Dependency []string `toml:"dependency"` Description string `toml:"description"` }
func (*Dimension) GetDependency ¶
type DimensionJoins ¶
type DimensionJoins []*JoinPair
func (DimensionJoins) GetDependencyTree ¶
func (d DimensionJoins) GetDependencyTree(source string) (Graph, error)
func (DimensionJoins) IsValid ¶
func (d DimensionJoins) IsValid() error
type Metric ¶
type Metric struct { DataSource string `toml:"data_source"` Name string `toml:"name"` FieldName string `toml:"field_name"` Type types.MetricType `toml:"type"` ValueType types.ValueType `toml:"value_type"` Description string `toml:"description"` Dependency []string `toml:"dependency"` Filter *types.Filter `toml:"filter"` }
func (*Metric) GetDependency ¶
Click to show internal directories.
Click to hide internal directories.