现在不需要每次都调用sprintf,对hash表中的每一项,只需要调用一次该函数,就可以在hash表中生成一个排序字段,然后在排序时就可以使用这个排序字段了。
Instead of calling sprintf all those times, we call it just once for each item in the hash in order to generate a sort field in the hash, and then use that sort field directly during the sort.
选择这些链接之一,将根据指定的字段和方向对结果集进行重新排序。
Selecting one of these links re-sorts the result set by the specified field and direction.
文档各部分成为xml元素,并当作数据库中的字段处理—可以被定位、被排序、用于检索以及进行其他操作。
The document parts become XML elements and can be treated like fields in a database-able to be located, sorted, used for retrieval, and otherwise manipulated.
您也可以按多个字段排序,以及指定按升序或降序返回结果。
You can also order by multiple fields and specify whether to return the results in ascending or descending order.
检查标签中的列关键字,来确认列关键字已经被重新排序,并且与SQL查询返回的数据字段相符。
Check the column keys in the tag to make sure that the column keys are realigned to match the data fields returned by the SQL query.
如果不喜欢字段按照字母顺序排序,也不用担心。
Don't worry if you're not a fan of the alphabetical ordering of the fields.
FETCH(3)的结果集是根据ID字段排序的,并且使用T1的索引I1的合并联接而得到最终的结果集。
The result set from FETCH (3) is ordered by the ID column and joined using a merge join with index I1 for T1 to get final result set.
这些文件应当根据join字段排序。
sort的一个非常实用的特性是它用字段键进行排序的能力。
A very practical feature of sort is its ability to sort using field keys.
让我们根据第二个字段(水果名)对text1进行排序,从而生成一个新文件text5,然后使用制表符替换空格。
Let's also create a new file, text5, by sorting text 1 on the second field (the fruit name) and then replacing Spaces with tabs.
嗯,我时常用它来对Apache日志进行排序;键和偏移量表示法让我跳过了日期字段。
Well, I use it from time to time for sorting Apache logs; the key and offset notation lets me skip the date fields.
最大的改变是添加了comparator类(清单13)以及抽取适当字段并进行实际排序的方法。
The biggest change is the addition of a comparator class (Listing 13) and the methods for extracting the appropriate fields and performing the actual sorting.
初始化final字段的写将不会与构造函数关联的冻结后面的操作一起重新排序。
Writes that initialize final fields will not be reordered with operations following the freeze associated with the constructor.
为此,我创建了一个类来为每个字段自动处理comparator的排序和创建。
To that end, I create a class to handle both the sorting and generation of comparators for each of the fields automatically. Listing 6 shows the EmployeeSorter class.
有时您需要根据特定的字段对输出进行排序,您也可以使用 --sort选项指定要排序的字段来实现该目的。
Sometimes you will want to sort the output by particular fields, and you can do that too using the --sort option to specify the sort fields.
由于text2并不是按数值排序的,因此可以对它进行排序并使用join命令将具有匹配的join字段(在本例中指值为3的字段)的两行连接起来。
Since text2 is not sorted in numeric order, we could sort it and then join would join the two lines that have a matching join field (the field with value 3 in this case).
上面的代码行将为您提供字段名的排序后的频率分布,类似以下清单所示。
The above line will give you a sorted frequency distribution of your field names, similar to the following.
清单14中的第二个例子显示对第一个字段按照数字顺序排序,而对第二个字段按照字母顺序排序。
The second example in Listing 14 shows sorting the first field numerically and the second by collating sequence (alphabetically).
如果启用了调试,将排序并显示字段。
第一个(也是惟一一个)排序列中包含A SIN字段。
如果愿意,可以添加更多选项—例如,添加一个“order ”选项返回按一个指定字段排序的记录。
You can add more if you like-for example, an "order" option to return the records ordered by a specified field.
如果我们针对text2的第二个字段对其排序,然后使用每个文件的第二个字段作为join字段来将text2和text5连接起来,那么我们应该得到两个匹配(apple和banana)。
If we then sort text2 on its second field and join that with text 5 using the second field of each file as the join field, we should have two matches (apple and banana).
不能对ole对象字段进行排序或索引。
另一个主要领域是与volatile字段的内存操作重新排序有关,这个领域中现有JMM引起了一些非常混乱的结果。
The other major area where the existing JMM caused some very confusing results was with memory operation reordering on volatile fields.
在WebSphereBusinessModeler报告设计器中对字段进行排序,以生成更优秀的结构化报告。
Sort fields in the WebSphere Business Modeler report designer to produce better structured reports.
分拣支持-排序数据库基于某些字段值。
Sorting support - sort databases based on certain field values.
最多可以按四个字段对记录进行排序,既可以升序,也可以降序。
You can sort records by up to four fields, in either ascending or descending order.
使用“数字”或“货币”字段按照数字值对数字进行排序。
Use a Number or Currency field to sort numbers as numeric values.
演示如何根据任意词语或字段排序文本行。
演示如何根据任意词语或字段排序文本行。
应用推荐