在本示例中,适配器将输入文件拆分为两个数据块,分别对应着两个记录。
In this case, the adapter splits the input file into two chunks corresponding to two records.
可以将文件视为单个大数据块,或者视为由分隔符彼此分隔开的许多不同记录的集合。
A file can be treated as a single large block of data or, alternatively, as a collection of many distinct records delimited from one another by separators.
例如,以上的代码将把文件名为 v=w2.80&hl=en&x=228&y=4&zoom=15&s=Gal 的图像块记录到 (column,row) 散列中的位置 0,4 中。
For example, the code above will record a tile with a filename like v=w2.80&hl=en&x=228&y=4&zoom=15&s=Gal to be at position 0,4 in the (column,row) hash.
应用推荐