主要介绍了XML查询语言及其JAVA程序应用接口XQ(JXQuery API for Java)的应用。通过对XQJ体系结构的剖析,显示XQJ在功能和用法上与JDBC有很多相似之处;并进一步揭示了XQJ对XQuery查询的支持,主要体现在:XQJ对XQuery上下文的支持和XQJ对X...主要介绍了XML查询语言及其JAVA程序应用接口XQ(JXQuery API for Java)的应用。通过对XQJ体系结构的剖析,显示XQJ在功能和用法上与JDBC有很多相似之处;并进一步揭示了XQJ对XQuery查询的支持,主要体现在:XQJ对XQuery上下文的支持和XQJ对XQuery数据模型的支持.最后通过一个实例展示了如何在Java程序中使用XQJ的相关接口或类来解析XQuery语句。展开更多
The parametric temporal data model captures a real world entity in a single tuple, which reduces query language complexity. Such a data model, however, is difficult to be implemented on top of conventional databases b...The parametric temporal data model captures a real world entity in a single tuple, which reduces query language complexity. Such a data model, however, is difficult to be implemented on top of conventional databases because of its unfixed attribute sizes. XML is a matured technology and can be an elegant solution for such challenge. Representing data in XML trigger a question about storage efficiency. The goal of this work is to provide a straightforward answer to such a question. To this end, we compare three different storage models for the parametric temporal data model and show that XML is not worse than any other approaches. Furthermore, XML outperforms the other storages under certain conditions. Therefore, our simulation results provide a positive indication that the myth about XML is not true in the parametric temporal data model.展开更多
文摘主要介绍了XML查询语言及其JAVA程序应用接口XQ(JXQuery API for Java)的应用。通过对XQJ体系结构的剖析,显示XQJ在功能和用法上与JDBC有很多相似之处;并进一步揭示了XQJ对XQuery查询的支持,主要体现在:XQJ对XQuery上下文的支持和XQJ对XQuery数据模型的支持.最后通过一个实例展示了如何在Java程序中使用XQJ的相关接口或类来解析XQuery语句。
基金supported by the National Research Foundation in Korea through contract N-12-NM-IR05
文摘The parametric temporal data model captures a real world entity in a single tuple, which reduces query language complexity. Such a data model, however, is difficult to be implemented on top of conventional databases because of its unfixed attribute sizes. XML is a matured technology and can be an elegant solution for such challenge. Representing data in XML trigger a question about storage efficiency. The goal of this work is to provide a straightforward answer to such a question. To this end, we compare three different storage models for the parametric temporal data model and show that XML is not worse than any other approaches. Furthermore, XML outperforms the other storages under certain conditions. Therefore, our simulation results provide a positive indication that the myth about XML is not true in the parametric temporal data model.