Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgryski/dmrgo
/ functions
Functions
40 in github.com/dgryski/dmrgo
⨍
Functions
40
◇
Types & classes
12
↓ 7 callers
Method
Flush
()
emitter.go:17
↓ 5 callers
Method
Close
()
emitter.go:94
↓ 4 callers
Function
primitiveToString
(v reflect.Value)
proto.go:154
↓ 3 callers
Method
Emit
(key string, value string)
emitter.go:16
↓ 3 callers
Function
mapper
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 callers
Function
mapperFinal
run the cleanup phase for the mapper
runners.go:260
↓ 3 callers
Function
newPartitionEmitter
(partitions uint, template string)
emitter.go:57
↓ 3 callers
Function
newPrintEmitter
(w *bufio.Writer)
emitter.go:24
↓ 2 callers
Method
Map
(key string, value string, emitter Emitter)
runners.go:53
↓ 2 callers
Method
MarshalKV
MarshalKV turns a key/value pair into a KeyValue
proto.go:25
↓ 2 callers
Method
Reduce
(key string, values []string, emitter Emitter)
runners.go:58
↓ 2 callers
Function
isPrimitive
(k reflect.Kind)
proto.go:140
↓ 2 callers
Function
reducer
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 callers
Method
MapFinal
Called at the end of the Map phase
runners.go:56
↓ 1 callers
Function
NewWordCount
(proto dmrgo.StreamProtocol)
examples/wordcount.go:55
↓ 1 callers
Method
UnmarshalKVs
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 callers
Function
mapreduce
(mrjob MapReduceJob)
runners.go:86
↓ 1 callers
Function
readLineKeyValue
(br *bufio.Reader)
runners.go:33
↓ 1 callers
Function
readLineValue
(br *bufio.Reader)
runners.go:24
Method
Emit
(key string, value string)
emitter.go:30
Method
Emit
(key string, value string)
emitter.go:52
Method
Emit
(key string, value string)
emitter.go:67
Method
Flush
()
emitter.go:37
Method
Flush
()
emitter.go:54
Method
Flush
()
emitter.go:86
Function
IncrCounter
IncrCounter updates the given group/counter by 'amount'
reporter.go:25
Function
Main
Main runs the map reduce job passed in
runners.go:209
Method
Map
(key string, value string, emitter dmrgo.Emitter)
examples/wordcount.go:63
Method
MapFinal
(emitter dmrgo.Emitter)
examples/wordcount.go:89
Method
MarshalKV
MarshalKV implements the StreamProtocol interface
proto.go:56
Method
MarshalKV
MarshalKV implements the StreamProtocol interface
proto.go:68
Method
MarshalKV
(key interface{}, value interface{})
examples/wordcount.go:37
Method
Reduce
(key string, values []string, emitter dmrgo.Emitter)
examples/wordcount.go:94
Function
Statusf
Statusf updates the Hadoop job status. The arguments are passed to fmt.Sprintf
reporter.go:19
Function
Statusln
Statusln updates the Hadoop job status. The arguments are passed to fmt.Sprintln
reporter.go:13
Method
UnmarshalKVs
UnmarshalKVs implements the StreamProtocol interface
proto.go:34
Method
UnmarshalKVs
UnmarshalKVs implements the StreamProtocol interface
proto.go:101
Method
UnmarshalKVs
(key string, values []string, k interface{}, vs interface{})
examples/wordcount.go:21
Function
init
()
runners.go:77
Function
main
()
examples/wordcount.go:110