[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
courses:mapreduce-tutorial:step-23 [2012/01/29 23:43]
straka
courses:mapreduce-tutorial:step-23 [2012/01/29 23:48]
straka
Line 27: Line 27:
 The Perl API is always using strings as keys and values. From the Java point of view: The Perl API is always using strings as keys and values. From the Java point of view:
   * the type of keys and values produced by Perl API is always ''Text''.   * the type of keys and values produced by Perl API is always ''Text''.
-  * any type can be used as input to Perl API -- if the type is different from ''Text'', a ''toString'' method is used to convert the value to ''String''.+  * any type can be used as input to Perl API -- if the type is different from ''Text'', a ''toString'' method is used to convert the value to string before the value is passed to Perl.
  
 ===== Input formats ===== ===== Input formats =====

[ Back to the navigation ] [ Back to the content ]