Namespace Rinku.Mapping.Parsers.Defaults
Classes
- BaseEnumerableTypeParser<T>
The base for the streamed shape, IEnumerable<T>, it yields rows as you enumerate rather than buffering them, keeping memory flat on large results. It holds the reader open while you iterate and disposes it when enumeration ends.
- BaseFastSingleTypeParser<TOpt, T>
A base for a single-result wrapper whose element has a row delegate. Override Default() to choose what an empty query returns.
- BaseSingleTypeParser<TOpt, T>
A base for a wrapper that accepts no more than one result. Override Default() to choose what an empty query returns.
- EnumerableTypeParser<T>
The parser behind IEnumerable<T>, streaming each row through an element parser as you enumerate.
- FastEnumerableTypeParser<T>
Streams rows through a delegate that does not advance the reader.
- FastOptionalTypeParser<TOpt, T>
Builds an optional value with a row delegate that does not advance the reader.
- FastSingleOrDefaultTypeParser<TOpt, T>
Returns the default value for no result through a row delegate and refuses a second result.
- FastSingleTypeParser<TOpt, T>
Requires exactly one result through a row delegate.
- MultiRowCollectionTypeParser<T, TState>
Reads a multi row collection and returns an empty collection when no row is available.
- MultiRowTypeParser<T, TState>
Reads a multi row value through
TState. Use this parser when a state object can add each row and build the final value.
- OptionalTypeParser<TOpt, T>
The parser behind the optional shapes (Optional<T> and kin). It wraps an element parser and turns a missing row into that shape's empty value instead of throwing.
- SimpleTypeParser<T>
The parser for a plain row type, one
Tread straight from the current row by a delegate. The common case behind a single object, a list element, or a scalar, with no row of its own to look past.
- SingleOrDefaultTypeParser<TOpt, T>
Returns the default value for no result and refuses a second result.
- SingleTypeParser<TOpt, T>
Requires exactly one result.