The embedded SQL statement casts the manager names in the unit table into an XML type (in this case into an XML string), and feeds them into the XQuery.
嵌入式sql语句将unit表中的主管姓名强制转换为xml类型(本例中为xml字符串),然后将其提供给XQuery。
Here, split is a method that processes an input string (of the type string) that contains a specified delimiter character (in this case a comma) and returns a list of strings.
这里的split方法处理包含指定分隔字符(在这里是逗号)的输入字符串(字符串类型),返回字符串的列表。
The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.
这个异常是由显式类型转换抛出的,因为测试用例试图把类型为String 的东西转换成Integer。
In this case, the return type is seq [String], where seq (" sequence ") is a particular kind of collection.
在这个例子里,返回类型是seq [string],seq (sequence)是一种特殊的集合。
After generating the QDML file from a DTD grammar I had to edit the file to define the document root element and add type information for non-String values (a couple of ints, in this case).
根据DTD文法生成QDML文件之后,必须编辑该文件来定义文档的根元素,并为非string值(在这里,是几个int)添加类型信息。
The type property refers to the type of the element you're modifying, which in this case is a String.
type属性引用所修改的元素类型,在本例中使用的是String。
The getProperty method returns an instance of the class Object, so you must cast the result into the appropriate type, which, in this case, is a string.
getProperty方法返回Object类的一个实例,因此您必须把结果转换成合适的类型,在本例中是 string 型。
The getProperty method returns an instance of the class Object, so you must cast the result into the appropriate type, which, in this case, is a string.
getProperty方法返回Object类的一个实例,因此您必须把结果转换成合适的类型,在本例中是 string 型。
应用推荐