querytest

package
v2.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketsAccessedTestHelper

func BucketsAccessedTestHelper(t *testing.T, tc BucketsAccessedTestCase)

func MakeFromInfluxJSONCompiler

func MakeFromInfluxJSONCompiler(c *influxql.Compiler, jsonFile string)

MakeFromInfluxJSONCompiler returns a compiler that replaces all From operations with FromJSON.

Types

type BucketsAccessedTestCase

type BucketsAccessedTestCase struct {
	Name             string
	Raw              string
	WantErr          bool
	WantReadBuckets  *[]platform.BucketFilter
	WantWriteBuckets *[]platform.BucketFilter
}

type ReplaceFromRule

type ReplaceFromRule struct {
	Filename string
}

func (ReplaceFromRule) Name

func (ReplaceFromRule) Name() string

func (ReplaceFromRule) Pattern

func (ReplaceFromRule) Pattern() plan.Pattern

func (ReplaceFromRule) Rewrite

func (r ReplaceFromRule) Rewrite(n plan.Node) (plan.Node, bool, error)

Jump to

Keyboard shortcuts

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