package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

CheckSketch performs some health checks on a sketch.
CompletionSketch construct a representation of the lexical structure of the string, where 1 character represents 1 token.
New creates a completion engine.

# Constants

The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.
The completion markers used in a sketch.

# Interfaces

Context represents the input of the completion request and the interface with the completion engine.
Engine is the common interface between the sql.completionsNode, used for SHOW COMPLETIONS invoked as statement source; and the observer statement logic in connExecutor.
Method represents one method/heuristic for completions.

# Type aliases

Marker is the type of one item inside a input sketch.
QueryIterFn is an interface through which the completion engine can run SQL queries.
Rows is the type of the result row iterator returned by a completion method.