Documentation
¶
Overview ¶
Package reader defines public extension contracts for typed Datly reads.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Partitioner ¶
type Partitioner interface {
Partitions(ctx context.Context, request PartitionRequest) ([]Partition, error)
}
type Reducer ¶
type Reducer interface {
// Reduce receives the complete typed result of a view fetch. Input order
// is unspecified across partitions/batches; order-sensitive reducers must
// sort explicitly. Relation readers invoke it once after all batches finish.
Reduce(ctx context.Context, rows any) (any, error)
}
type ReducerProvider ¶
Click to show internal directories.
Click to hide internal directories.