Listing 5 shows how you specify the map function for your log analyzer sample.
清单5展示了如何为您的日志分析器样例指定map函数。
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,与后者不同的是它不是删除部分元素,而是使用用户指定的原始值转换替换每个元素。
I then append a new collection onto factors - generated by the map function on the factors list - applying the code to generate the symmetrical (the matching factor above the square root) list.
然后我将一个新的集合附加至由factor列表中的map函数生成的factor上,应用此代码生成对称的(平方根上方匹配的因子)列表。
The map function would be used where a new array was to be created, leaving the original array contents untouched, which is actually the way most functional programmers would prefer to operate.
创建一个新的Array时将用到map函数,保持原始的数组内容不变,实际上大多数函数性程序员都喜欢这种方式。
You may as well just map the opcode "DELETE" to whatever function is appropriate for deletion in your environment and language, to take that example.
为实现示例,您同样可以将操作代码“DELETE”映射到您的环境和语言中任何适当的用于删除的函数。
When the AIX code-set conversion function gets a request with non-AIX code set names, the alias mapping function attempts to map suitable AIX code set names for the request.
当aix编码集转换函数收到包含非aix编码集名称的请求时,别名映射函数尝试为请求映射适当的AIX编码集名称。
This function is performed in a distributed fashion where map updates are communicated with existing traffic.
这个功能按一种分布的方式执行,这种方式中映射升级可以和当前的流量通信。
When you use a hash map as a function call's last parameter, the braces are optional.
当将散列映射用作函数调用的最后一个参数时,括号是可选的。
应用推荐