Documentation
¶
Overview ¶
Package primitivefield contains the private, shared primitive-list query rules. Storage compilation and operation lifecycle remain owned by their subsystems.
Index ¶
- func IsList(field schema.Field) bool
- func Membership(value store.Value, candidates query.Value) bool
- func UnsupportedPath(fields []schema.Field, path query.Path, cause error) error
- func ValidateComparison(field schema.Field, comparison query.Comparison) error
- func ValidateEvolution(before, after schema.Snapshot) error
- func ValidateIndexes(collection schema.Collection) error
- func ValidateManifestIndexes(manifest schema.Manifest) error
- func ValidateNode(fields []schema.Field, node *query.Node) error
- func ValidateRequest(request store.Request) error
- type UnsupportedQueryError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Membership ¶
Membership is strict element equality. It never sorts or deduplicates values.
func UnsupportedPath ¶
UnsupportedPath must only wrap a path-resolution failure for caller input. Other field kinds retain their existing adapter error contract.
func ValidateComparison ¶
func ValidateComparison(field schema.Field, comparison query.Comparison) error
func ValidateEvolution ¶
ValidateEvolution prevents storage casts from masquerading as value-shape migrations. Applications must use an explicit, supported migration procedure.
func ValidateIndexes ¶
func ValidateIndexes(collection schema.Collection) error
func ValidateManifestIndexes ¶
func ValidateRequest ¶
Types ¶
type UnsupportedQueryError ¶
UnsupportedQueryError identifies a caller's primitive-list path rejected by an adapter's existing query boundary. It is private to framework packages; schema/access configuration failures are not marked as caller input errors.
func (*UnsupportedQueryError) Error ¶
func (err *UnsupportedQueryError) Error() string
func (*UnsupportedQueryError) Unwrap ¶
func (err *UnsupportedQueryError) Unwrap() error