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

# Functions

GetLikeOperatorType returns LikeOpType corresponding to the inputs.
NewComparisonExprAdapter returns a new ComparisonExprAdapter for the provided expression.

# Constants

LikeAlwaysMatch matches everything.
LikeConstant is used when comparing against a constant string with no wildcards.
LikeContains is used when comparing against a constant substring.
LikePrefix is used when comparing against a constant prefix.
LikeRegexp is the default slow case when we need to fallback to RegExp matching.
LikeSkeleton is used when comparing against a "skeleton" string (of the form '%foo%bar%' with any number of "skeleton words").
LikeSuffix is used when comparing against a constant suffix.

# Interfaces

ComparisonExprAdapter is a utility interface that is implemented by several structs that behave as an adapter from tree.ComparisonExpr to a vectorized friendly model.

# Type aliases

LikeOpType is an enum that describes all of the different variants of LIKE that we support.