Merge pull request #624 from influxdata/js-godoc-query-package

docs(query): add package docs for the packages in the query package
pull/10616/head
Jonathan A. Sternberg 2018-08-13 16:07:16 -05:00 committed by GitHub
commit 3e7a04e887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 32 additions and 5 deletions

View File

@ -1,3 +1,4 @@
// Package ast declares the types used to represent the syntax tree for Flux source code.
package ast
import (

View File

@ -1,3 +1,4 @@
// cmpgen generates comparison options for the asttest package.
package main
import (

2
query/ast/asttest/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package asttest implements utilities for testing the abstract syntax tree.
package asttest

View File

@ -1,3 +1,4 @@
// Package csv contains the csv result encoders and decoders.
package csv
import (

View File

@ -0,0 +1,2 @@
// Package executetest contains utilities for testing the query execution phase.
package executetest

View File

@ -1,3 +1,4 @@
// Package execute contains the implementation of the execution phase in the query engine.
package execute
import (

View File

@ -0,0 +1,2 @@
// Package functions contains the implementations for the builtin functions.
package functions

View File

@ -1,3 +1,4 @@
// Package storage implements reading from a storage engine into a table as a data source.
package storage
import (

View File

@ -0,0 +1,2 @@
// Package spectests the influxql transpiler specification tests.
package spectests

View File

@ -1,3 +1,4 @@
// Package influxql implements the transpiler for executing influxql queries in the 2.0 query engine.
package influxql
import (

View File

@ -1,2 +1,2 @@
// Package interpreter provides an implementation of an Flux interpreter.
// Package interpreter provides the implementation of the Flux interpreter.
package interpreter

2
query/mock/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package mock contains mock implementations of the query package interfaces for testing.
package mock

View File

@ -1,3 +1,4 @@
// Package options implements flux options.
package options
import (

2
query/plan/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package plan implements the flux query planner to plan execution of a query spec.
package plan

View File

@ -0,0 +1,2 @@
// Package plantest contains utilities for testing the query planning phase.
package plantest

View File

@ -1,3 +1,4 @@
// Package promql implements a promql parser to build flux query specifications from promql.
package promql
import (

View File

@ -1,3 +1,4 @@
// Package query contains the InfluxDB 2.0 query engine.
package query
import (

2
query/querytest/doc.go Normal file
View File

@ -0,0 +1,2 @@
// Package querytest contains utilities for testing the query end-to-end.
package querytest

View File

@ -1,19 +1,18 @@
// Package repl implements the read-eval-print-loop for the command line flux query console.
package repl
import (
"context"
"fmt"
"io/ioutil"
"os"
"os/signal"
"path/filepath"
"sort"
"strings"
"sync"
"syscall"
"io/ioutil"
"path/filepath"
prompt "github.com/c-bata/go-prompt"
"github.com/influxdata/platform"
"github.com/influxdata/platform/query"

View File

@ -0,0 +1,2 @@
// Package semantictest contains utilities for testing the semantic package.
package semantictest

View File

@ -1,3 +1,4 @@
// Package values declares the flux data types and implements them.
package values
import (