The next line illustrates the use of the map function.
下一行说明map函数的使用。
This data needs to have the map function applied to it.
这些数据上需要应用map函数。
It is called like this: (map function list-to-process).
可以这样调用它:(map function list - to - process)。
The Map function emits each word plus an associated count of occurrences.
map函数发出每个单词附有一个相关的出现次数计数。
The first, keys, is a list of keys that were created in the map function.
第一个参数是keys,这是在map函数中创建的键的列表。
Listing 5 shows how you specify the map function for your log analyzer sample.
清单5展示了如何为您的日志分析器样例指定map函数。
With this program you can read input for a map function from 2 different files.
用此程序中你可以在2个不同的文件中阅读函数输入功能。
Inverted Index: The map function parses each document, and emits a sequence of pairs.
反向索引:map函数对每个文档进行索引分析,产生一串数据对。
Using this with the map function, we get a sequence of integers, just as we wanted.
联合使用它与map函数,我们就能如愿地得到一个整数序列。
Averages, summations, and other summary types of data are not possible with just a map function.
平均值、合计和其他类型的汇总数据无法通过仅仅使用一个映射函数来实现。
Once you have the photo XML objects in an array, you can call the map function on the array.
在照片XML对象处于数组内时,就可以对此数组调用map函数。
Count of URL Access Frequency: The map function processes logs of web page requests and outputs.
URL访问计数:map函数处理web页面的请求日志。
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函数。
The system can implement the switch the image, record video and display thee-map function with alarm linkage.
系统可进行报警联动切换图像、报警联动录像、报警电子地图显示等功能。
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函数非常耗费时间。
If you don't put a restriction in your map function (as I did in Listing 5), then the emit will essentially sort the passed-in documents.
如果未在map函数中添加限制(像我在清单5中做的那样),则emit的基本作用是对传入文档进行排序。
The view's map function takes the document as an argument and performs a series of computations to determine what data should be available via the view.
视图的map函数将文档作为一个参数,并执行一系列的计算来决定应该对哪些数据使用视图。
Like the Google framework MapReduce; MR describes a way of implementing parallelism using the Map function which splits a large data into multiple key-value pairs.
如Google框架MapReduce;MR描述了一种使用Map功能实现并行性的方法,它将大型数据分割成多个键-值对。
The map function, originating in functional languages like Lisp but now common in many other languages, is an application of a function over a list of elements.
map函数,源于功能性语言(如 Lisp)但如今在其他语言中也很常见,其中包含了一系列元素的函数的应用程序。
The combined results from all of these should be identical as having been executed as a single bucket by a single map function. The general form of the map function is.
合并的结果值就会如同是单个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 third argument, rereduce, has to do with whether or not this reduce function is operating on aggregate information or the raw results from the map (the ones from the map function).
第三个参数是rereduce,这个参数必须处理这个reduce函数是在汇总信息上操作还是在来自映射的原始结果(来自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,与后者不同的是它不是删除部分元素,而是使用用户指定的原始值转换替换每个元素。
应用推荐