These five modules are included into the Mapper class.
Estos cinco módulos están incluidos dentro de la clase Mapper.
The code in the Mapper class can be a little overwhelming.
The following code snippet shows the Mapper class and the map function.
El siguiente fragmento de código muestra la clase Mapper y la función de mapa.
We touched on both of these in the last episode but what's worth noticing here is that the classes are nested under the Mapper class.
Ya las vimos en el episodio anterior pero lo que merece la pena ver ahora es que estas clases están anidadas dentro de la clase Mapper.
When the Scoping module is included in the Mapper class this initialize method will override the current initialize method, add the @scope variable and then call super.
Cuando el módulo Scoping se incluye en la clase Mapper este método initialize reemplazará al ya existente añadiendo la @scope y luego invocando a súper.
We touched on both of these in the last episode but what's worth noticing here is that the classes are nested under the Mapper class.
A continuación expandiremos el módulo raíz pero lo que merece la pena ver ahora es que estas clases están anidadas dentro de la clase Mapper.
There's no magic going on behind the scenes here; the Constraints class is completely separate from the Mapper class.
No hay nada mágico aquí: la clase Constraints está totalmente desacoplada de la clase Mapper.
In a MapReduce programme there are always at least these three classes: o Mapper class: Mapper implements the map method, is the part of the Java Hadoop programme that processes the data as it is in the HDFS.
En un programa MapReduce están siempre presentes al menos estas tres clases principales: o Clase Mapper: el Mapper implementa el método map, es la parte de programa Java Hadoop que se encarga de procesar los datos tal y cual se encuentran en el HDFS.
The first two items in the Mapper class are class definitions for Constraints and Mapping.
Los primeros dos elementos de la clase Mapper son las definiciones de clase de Constraints y Mapping.
Here's an example mapper class from our example custom event project
A continuación, te mostramos un ejemplo de asignador de anuncios, extraído de nuestro ejemplo de proyecto de evento personalizado