httk.store.mongo.stored_properties

Stored-property plans and exact query contexts for MongoDB.

The context builds the frozen neutral AST in httk.store.mongo.evaluator. MongoDB supplies a conservative candidate stream and the existing verified iterator evaluates that AST over hydrated backing records.

Exceptions

MongoStoredPropertyConfigurationError

A Mongo entry family cannot realize its stored-property declaration.

Classes

MongoStoredPropertyCandidateStream

An ID-only Mongo candidate stream for a configured concrete backing.

MongoStoredPropertyPlan

Stored-property responses and verified Mongo candidate plans for one family.

Functions

Module Contents

exception httk.store.mongo.stored_properties.MongoStoredPropertyConfigurationError[source]

Bases: ValueError

A Mongo entry family cannot realize its stored-property declaration.

class httk.store.mongo.stored_properties.MongoStoredPropertyCandidateStream[source]

An ID-only Mongo candidate stream for a configured concrete backing.

backing: type[source]
backing_name: str[source]
searcher: Any[source]
sort_count: int[source]
class httk.store.mongo.stored_properties.MongoStoredPropertyPlan(store, family, layout, entry_type, definition, backings)[source]

Stored-property responses and verified Mongo candidate plans for one family.

property backings: tuple[type, Ellipsis][source]
records()[source]
filter_searchers(filter_string, *, sort=(), public_id_prefix='')[source]
candidate_searchers(filter_string=None, *, sort=(), public_id_prefix='')[source]
response_row(backing, record, *, public_id=None)[source]
httk.store.mongo.stored_properties.stored_property_mongo_plan(store, family)[source]