Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMappers = 100 DefaultReducers = 2 DefaultShufflers = 2 DefaultBulkSize = 1000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapReduce ¶
type MapReduce struct {
// contains filtered or unexported fields
}
func NewMapReduce ¶
func NewMapReduce() *MapReduce
func (*MapReduce) Parse ¶
func (mr *MapReduce) Parse(ctx context.Context, resource *domain.Resource, r *bulkreader.BulkReader) (resErr error)
func (*MapReduce) WithMapper ¶
func (*MapReduce) WithReducer ¶
func (*MapReduce) WithsShuffler ¶
type Mapper ¶
type Reducer ¶
func NewReducer ¶
func NewReducer(repo domain.OperationRepository) Reducer
Click to show internal directories.
Click to hide internal directories.