Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Emit ¶
func Emit(anyObject ...interface{}) error
Emit encode and write a row of data to os.Stdout
func Init ¶
func Init()
Init determines whether the driver program will execute the mapper/reducer or not. If the command line invokes the mapper or reducer, execute it and exit. This function will invoke flag.Parse() first.
func ProcessMapper ¶
func ProcessReducer ¶
Types ¶
type MapperId ¶
type MapperId string
func RegisterMapper ¶
RegisterMapper register a mapper function to process a command
Click to show internal directories.
Click to hide internal directories.