MCPcopy
hub / github.com/chrislusf/glow / add1ShardTo1Step

Function add1ShardTo1Step

flow/dataset_map.go:135–139  ·  view source on GitHub ↗
(d *Dataset, nextDataType reflect.Type)

Source from the content-addressed store, hash-verified

133}
134
135func add1ShardTo1Step(d *Dataset, nextDataType reflect.Type) (ret *Dataset, step *Step) {
136 ret = d.context.newNextDataset(len(d.Shards), nextDataType)
137 step = d.context.AddOneToOneStep(d, ret)
138 return
139}
140
141// the value over the outChan is always reflect.Value
142// but the inner values are always actual interface{} object

Callers 6

LocalReduceMethod · 0.85
LocalReduceByKeyMethod · 0.85
LocalGroupByKeyMethod · 0.85
MapMethod · 0.85
FilterMethod · 0.85
LocalSortMethod · 0.85

Calls 2

newNextDatasetMethod · 0.80
AddOneToOneStepMethod · 0.80

Tested by

no test coverage detected