Documentation ¶
Overview ¶
From is an operation that mocks the real implementation of InfluxDB's from. It is used in Flux to compile queries that resemble real queries issued against InfluxDB. Implementors of the real from are expected to replace its implementation via flux.ReplacePackageValue.
Index ¶
Constants ¶
View Source
const BucketsKind = "buckets"
View Source
const FromKind = "from"
View Source
const ToKind = "to"
ToKind is the kind for the `to` flux function
Variables ¶
View Source
var ToSignature = flux.FunctionSignature( map[string]semantic.PolyType{ "bucket": semantic.String, "bucketID": semantic.String, "org": semantic.String, "orgID": semantic.String, "host": semantic.String, "token": semantic.String, "timeColumn": semantic.String, "measurementColumn": semantic.String, "tagColumns": semantic.Array, "fieldFn": semantic.NewFunctionPolyType(semantic.FunctionPolySignature{ Parameters: map[string]semantic.PolyType{ "r": semantic.Tvar(1), }, Required: semantic.LabelSet{"r"}, Return: semantic.Tvar(2), }), }, []string{}, )
Functions ¶
This section is empty.
Types ¶
type BucketsOpSpec ¶
type BucketsOpSpec struct { }
func (*BucketsOpSpec) Kind ¶
func (s *BucketsOpSpec) Kind() flux.OperationKind
type BucketsProcedureSpec ¶
type BucketsProcedureSpec struct {
plan.DefaultCost
}
func (*BucketsProcedureSpec) Copy ¶
func (s *BucketsProcedureSpec) Copy() plan.ProcedureSpec
func (*BucketsProcedureSpec) Kind ¶
func (s *BucketsProcedureSpec) Kind() plan.ProcedureKind
type FromOpSpec ¶
type FromOpSpec struct {
Bucket string
}
func (*FromOpSpec) Kind ¶
func (s *FromOpSpec) Kind() flux.OperationKind
type FromProcedureSpec ¶
type FromProcedureSpec struct { plan.DefaultCost Bucket string }
func (*FromProcedureSpec) Copy ¶
func (s *FromProcedureSpec) Copy() plan.ProcedureSpec
func (*FromProcedureSpec) Kind ¶
func (s *FromProcedureSpec) Kind() plan.ProcedureKind
Click to show internal directories.
Click to hide internal directories.