请注意,缺省情况下不进行文件拆分。
将当前文件拆分成更小的文件。
如果每个文件只有一个记录,则无需进行文件拆分。
When you have one record per file, you don't need file splitting.
在本示例中,适配器将输入文件拆分为两个数据块,分别对应着两个记录。
In this case, the adapter splits the input file into two chunks corresponding to two records.
只有要检索的文件非常大或每个文件都包含多个记录时,才需要使用文件拆分。
You use file-splitting when the files you want to retrieve are large or they each contain more than one record.
您可以基于分隔符或固定大小的值将文件拆分为多个较小的数据块,以便并行处理文件的各个部分。
You can split files into smaller chunks based on a delimiter or on a fixed-size value, which allows parts of the file to be processed in parallel.
有关分隔符值的说明可以在WebSphereAdapterfor FTP文档的文件拆分部分找到。
An explanation of the delimiter values is found in the file splitting section of the WebSphere Adapter for FTP documentation.
通过打开DOS窗口,将路径改为工程所在位置,同时键入atlsplitatlout.spt 将跟踪文件拆分
Split the trace file by opening up a DOS window, changing to the directory where the project resides, and typing atlsplit atlout.spt
例如,您可能希望将一个大文件拆分为CD大小的块,这样您就可以将其写入到CD中,以便通过邮件将其发送给可以为您创建DVD的人。
For example, you might want to break a large file into CD-sized chunks so you can write it to CD for sending through the mail to someone who could create a DVD for you.
下面的代码示例给出了一个有趣的拆分和组合模式文件的例子。
An interesting example of splitting and combining schema files is given in the code example.
可以选择将WSDL定义拆分为多个文件。
WSDL definitions can optionally be split into multiple files.
虽然就目前的工具使用情况来看,这并不是常见的使用模式,但WSDL规范中具体描述了如何将 WSDL文档拆分为多个文件。
While this might not be a common usage pattern with current tooling, the WSDL specification specifically describes how to split a WSDL document across multiple files.
现在,在版本6.0.2中,可以将WSDL文件内部的内联XSD定义拆分或外部化,以便更好地使用。
Now, in Version 6.0.2, inline XSD definitions inside WSDL files can now be split out or externalized for better consumption.
我们的样例文件非常小,但是您有时会遇到特别大的文件,需要将其拆分为比较小的文件。
Our sample files are very small, but sometimes you will have large files that you need to split into smaller pieces.
如果文件中要处理的记录多于一个,则使用拆分程序。
A splitter is used if there is more than one record in a file to be processed.
本文的附录包含有关按大小拆分文件的说明。
The Appendix to this article contains instructions on splitting by size.
对于文件内容拆分选项,我们选择了Splitfilecontentby delimiter。
For the file content split option, we selected split file content by delimiter.
在此例中,139,456,234KB的传入文件大小没有均匀地拆分为20000000字节的块。
In this example, the incoming file size of 139,456,234 KB does not split evenly into 20000000 byte chunks.
如果要按大小拆分文件,请执行下列操作之一。
If you want to split a file by size, do one of the following actions.
然后可以拆分string并在for循环中对文件的行进行迭代。
You can then split the string and iterate over the lines in the file within a for loop.
我构建的CDAViewer应用程序遵循相同的模式,但是为了可读性,我将转换层拆分为三个文件(参见下载部分)。
The CDA Viewer application that I built follows the same pattern, although I broke my transformation layer into three files for readability (see Download).
那些不能被拆分为单个微小更新的计算任务(比如对一个文件排序)仍然最好由MapReduce承担。
Computations where the result can’t be broken down into small updates (sorting a file, for example) are better handled by MapReduce.
按大小拆分功能与按分隔符拆分类似,它也是将文件分为多个较小的数据块,然后再将这些数据块逐个传输到端点组件。
The split-by-size feature is similar to splitting by delimiter because you use it to divide a file into smaller chunks and transfer them to the endpoint component one by one.
通过这种方法拆分应用程序可以使不同版本的EJB组件隔离开来,这种隔离是通过使用不同的应用程序类加载器实现的,一个EAR文件对应一个类加载器。
Breaking up the application in this manner allows different EJB component versions to be isolated with different application class loaders, one per EAR file.
然后调用readlines方法,把整个文件读入内存并把内容拆分成string列表。
You then call the readlines method, which reads the entire file into memory and splits the contents into a list of strings.
把存储拆分成一组文件卷集(使用多个HDFS集群)。
Breaking up storage into a set of volumes (USES multiple HDFS clusters).
写一个读取文件的程序,把每一行拆分成一个个词,去掉空白和标点符号,然后把所有单词都转换成小写字母的。
Write a program that reads a file, breaks each line into words, strips whitespace and punctuation from the words, and converts them to lowercase.
若要使文件夹窗格空间最大化,请将水平拆分器栏拖动到“导航窗格”的底端,再使用小按钮来切换文件夹窗格。
To maximize the folder pane space, drag the horizontal splitter bar to the bottom of the Navigation Pane, and then use the small buttons to switch folder panes.
演示如何按任意边界拆分文本文件,以及如何对每个部分执行查询。
Shows how to split text files on arbitrary boundaries and how to perform queries against each part.
比较组拆分为不同类型的文件或目录的比较要执行的操作。
The Compare group is split into the different types of file or directory comparisons you want to do.
应用推荐