query

package
v1.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package query provides functions to work with the different search query flavours.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidationError

func IsValidationError(err error) bool

Types

type Builder

type Builder interface {
	Build(qs string) (*ast.Ast, error)
}

Builder is the interface that wraps the basic Build method.

type Compiler

type Compiler[T any] interface {
	Compile(ast *ast.Ast) (T, error)
}

Compiler is the interface that wraps the basic Compile method.

type Creator

type Creator[T any] interface {
	Create(qs string) (T, error)
}

Creator is the interface that wraps the basic Create method.

type NamedGroupInvalidNodesError

type NamedGroupInvalidNodesError struct {
	Node ast.Node
}

NamedGroupInvalidNodesError records an error and the operation that caused it.

func (NamedGroupInvalidNodesError) Error

type StartsWithBinaryOperatorError

type StartsWithBinaryOperatorError struct {
	Node *ast.OperatorNode
}

StartsWithBinaryOperatorError records an error and the operation that caused it.

func (StartsWithBinaryOperatorError) Error

type UnsupportedTimeRangeError

type UnsupportedTimeRangeError struct {
	Value interface{}
}

UnsupportedTimeRangeError records an error and the value that caused it.

func (UnsupportedTimeRangeError) Error

Directories

Path Synopsis
Package bleve provides the ability to work with bleve queries.
Package bleve provides the ability to work with bleve queries.

Jump to

Keyboard shortcuts

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