idktest

package
v3.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrDeletingIndex = "deleting index"
	ErrRunningIngest = "running ingester"
	ErrGettingSchema = "getting schema"
	ErrGettingQuery  = "querying"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	ColumnID int           `json:"column"`
	Rows     []interface{} `json:"rows"`
}

type ExtractResponse

type ExtractResponse struct {
	Error   string `json:"error"`
	Results []Result
}

func DoExtractQuery

func DoExtractQuery(pql, index string) (ExtractResponse, error)

doExtractQuery sends a query of result-type Extract to pilosa and unpacks the response. This was created as a helper function for TestLookupFieldWithExternalId.

type Result

type Result struct {
	Fields  []erField
	Columns []Column
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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