Listing 5 shows how you specify the map function for your log analyzer sample.
清单5展示了如何为您的日志分析器样例指定map函数。
Using this with the map function, we get a sequence of integers, just as we wanted.
联合使用它与map函数,我们就能如愿地得到一个整数序列。
Inverted Index: The map function parses each document, and emits a sequence of pairs.
反向索引:map函数对每个文档进行索引分析,产生一串数据对。
Once you have the photo XML objects in an array, you can call the map function on the array.
在照片XML对象处于数组内时,就可以对此数组调用map函数。
Averages, summations, and other summary types of data are not possible with just a map function.
平均值、合计和其他类型的汇总数据无法通过仅仅使用一个映射函数来实现。
In many cases, you don't need the reduce function; the map function can handle most things for you.
在许多情况下,您都不需要reduce函数;map函数可以帮助您完成大多数任务。
Now Futon presents an interface that allows you to define both a map function and a reduce function.
现在,Futon接口可允许您定义map函数和reduce 函数。
My map function is straightforward - it simply grabs the user_name property of all documents passed to it.
我的map函数是很简单的—它只获取传递给它的所有文档的user_name属性。
You can invoke the Test map function from the toolbar (Figure 5) or the context menu of the map (Figure 6).
可以从工具栏(见图5)或映射的上下文菜单(见图6)调用Testmap函数。
Defining a map function is thus really just a matter of determining what you want to grab from an incoming line of text.
定义一个map函数实际上只是一个关于确定您从即将输入的文本行中捕获什么内容的问题。
The map class implements the map function, which goes through each line of the log file and gets the application's name.
map类实现映射功能,它搜索日志文件的每一行,寻找应用程序的名称。
Moving inside-out in Listing 12, notice that we use the map function, which takes two parameters: a function and a sequence.
浏览清单12,会注意到我们使用了map函数,它接受两个参数:一个函数和一个序列。
To find all the tickets issued by officer Ree, for example, you write a map function that filters the officer property accordingly.
举例来说,要查找officerRee开出的所有罚单,您可以编写一个map函数来过滤相应的officer属性。
In databases with thousands or hundreds of thousands of documents, running the map function over every document can be time-consuming.
在包含数万或数十万文档的数据库中,在每个文档上运行map函数非常耗费时间。
The map function is designed to take a large data input and divide it into smaller pieces, which it then hands off to other processes that can do something with it.
map函数专用于获取大数据输入,并将其分成小片段,然后交由其他进程进行操作。
The map function is similar to filter , except that instead of removing some elements, it replaces every element with a user-specified transformation of its original value. The syntax is.
map函数类似于filter,与后者不同的是它不是删除部分元素,而是使用用户指定的原始值转换替换每个元素。
The map function is similar to filter , except that instead of removing some elements, it replaces every element with a user-specified transformation of its original value. The syntax is.
map函数类似于filter,与后者不同的是它不是删除部分元素,而是使用用户指定的原始值转换替换每个元素。
应用推荐