Documentation
¶
Index ¶
- func Load(data []byte) (builder.DataSource, error)
- type Base
- type GlobalTable
- type Inline
- type Join
- func (j *Join) SetCondition(condition string) *Join
- func (j *Join) SetJoinType(joinType types.JoinType) *Join
- func (j *Join) SetLeft(left builder.DataSource) *Join
- func (j *Join) SetRight(right builder.DataSource) *Join
- func (j *Join) SetRightPrefix(rightPrefix string) *Join
- func (j *Join) UnmarshalJSON(data []byte) error
- type Lookup
- type Query
- type Table
- type Union
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
Typ builder.ComponentType `json:"type,omitempty"`
}
func (*Base) Type ¶
func (b *Base) Type() builder.ComponentType
type GlobalTable ¶
func NewGlobalTable ¶
func NewGlobalTable() *GlobalTable
func (*GlobalTable) SetName ¶
func (g *GlobalTable) SetName(name string) *GlobalTable
type Inline ¶
type Inline struct { Base ColumnNames []string `json:"columnNames,omitempty"` ColumnTypes []string `json:"columnTypes,omitempty"` Rows [][]string `json:"rows,omitempty"` }
func (*Inline) SetColumnNames ¶
func (*Inline) SetColumnTypes ¶
type Join ¶
type Join struct { Base Left builder.DataSource `json:"left,omitempty"` Right builder.DataSource `json:"right,omitempty"` RightPrefix string `json:"rightPrefix,omitempty"` Condition string `json:"condition,omitempty"` JoinType types.JoinType `json:"joinType,omitempty"` }
func (*Join) SetCondition ¶
func (*Join) SetRightPrefix ¶
func (*Join) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.