Rowles.LeanCorpus.Mapping
Namespaces
Classes
LeanDocumentMap<TDocument>
Abstract base produced by the LeanCorpus source generator for typed document mapping. Subclasses are emitted automatically from
[LeanDocument]-decorated types and route to direct-construction code paths with no reflection.
LeanFieldBinding<TDocument>
Field metadata for a LeanDocumentMap<TDocument>. The non-generic value type makes the binding collection iterable without knowing each field's CLR type.
LeanField<TDocument, TValue>
Strongly typed field descriptor produced by the LeanCorpus source generator. Carries the field name, runtime FieldType, and persistence flags so that callers can build queries and sorts without restating field names.
LeanNumericEncoders
AOT-safe encoding and decoding helpers used by generated document mappers when projecting CLR temporal and decimal values to numeric or stored fields.
Structs
LeanGeoLocation
Canonical geo-point payload used by the LeanCorpus source generator when mapping properties annotated with
[LeanGeoPoint]. Generated mappers project this type to a GeoPointField.
StoredDocument
Snapshot of stored-field data for a single document, as returned by GetStoredFields(int) and GetStoredBinaryFields(int).
Enums
LeanNumericEncoding
Selects the runtime encoding used to map a CLR value into a NumericField double payload.