MCPcopy Create free account

hub / github.com/dgryski/dmrgo / functions

Functions40 in github.com/dgryski/dmrgo

↓ 7 callersMethodFlush
()
emitter.go:17
↓ 5 callersMethodClose
()
emitter.go:94
↓ 4 callersFunctionprimitiveToString
(v reflect.Value)
proto.go:154
↓ 3 callersMethodEmit
(key string, value string)
emitter.go:16
↓ 3 callersFunctionmapper
run the mapping phase, calling the map routine on key/value pairs from the Reader The users' Map routine will write any key/value pairs generated to t
runners.go:245
↓ 3 callersFunctionmapperFinal
run the cleanup phase for the mapper
runners.go:260
↓ 3 callersFunctionnewPartitionEmitter
(partitions uint, template string)
emitter.go:57
↓ 3 callersFunctionnewPrintEmitter
(w *bufio.Writer)
emitter.go:24
↓ 2 callersMethodMap
(key string, value string, emitter Emitter)
runners.go:53
↓ 2 callersMethodMarshalKV
MarshalKV turns a key/value pair into a KeyValue
proto.go:25
↓ 2 callersMethodReduce
(key string, values []string, emitter Emitter)
runners.go:58
↓ 2 callersFunctionisPrimitive
(k reflect.Kind)
proto.go:140
↓ 2 callersFunctionreducer
run the reduce phase, calling the reduce routine on key/[]value read the Reader. We aggregate the values that have been mapped with the same key, then
runners.go:267
↓ 1 callersMethodMapFinal
Called at the end of the Map phase
runners.go:56
↓ 1 callersFunctionNewWordCount
(proto dmrgo.StreamProtocol)
examples/wordcount.go:55
↓ 1 callersMethodUnmarshalKVs
UnmarshalKV turns strings into their associated values. k should be a pointer to the destination value for the unmarshalled "key" vs should be a point
proto.go:22
↓ 1 callersFunctionmapreduce
(mrjob MapReduceJob)
runners.go:86
↓ 1 callersFunctionreadLineKeyValue
(br *bufio.Reader)
runners.go:33
↓ 1 callersFunctionreadLineValue
(br *bufio.Reader)
runners.go:24
MethodEmit
(key string, value string)
emitter.go:30
MethodEmit
(key string, value string)
emitter.go:52
MethodEmit
(key string, value string)
emitter.go:67
MethodFlush
()
emitter.go:37
MethodFlush
()
emitter.go:54
MethodFlush
()
emitter.go:86
FunctionIncrCounter
IncrCounter updates the given group/counter by 'amount'
reporter.go:25
FunctionMain
Main runs the map reduce job passed in
runners.go:209
MethodMap
(key string, value string, emitter dmrgo.Emitter)
examples/wordcount.go:63
MethodMapFinal
(emitter dmrgo.Emitter)
examples/wordcount.go:89
MethodMarshalKV
MarshalKV implements the StreamProtocol interface
proto.go:56
MethodMarshalKV
MarshalKV implements the StreamProtocol interface
proto.go:68
MethodMarshalKV
(key interface{}, value interface{})
examples/wordcount.go:37
MethodReduce
(key string, values []string, emitter dmrgo.Emitter)
examples/wordcount.go:94
FunctionStatusf
Statusf updates the Hadoop job status. The arguments are passed to fmt.Sprintf
reporter.go:19
FunctionStatusln
Statusln updates the Hadoop job status. The arguments are passed to fmt.Sprintln
reporter.go:13
MethodUnmarshalKVs
UnmarshalKVs implements the StreamProtocol interface
proto.go:34
MethodUnmarshalKVs
UnmarshalKVs implements the StreamProtocol interface
proto.go:101
MethodUnmarshalKVs
(key string, values []string, k interface{}, vs interface{})
examples/wordcount.go:21
Functioninit
()
runners.go:77
Functionmain
()
examples/wordcount.go:110