query

package
v1.1.0-alpha.2 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: 0

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