用于填充和操作数据图的API。
数据图本身就类似XML实例文档。
The data graphs themselves would then be analogous to XML instance documents.
然后返回数据图并由调用客户机进行处理。
The data graph is then returned and processed by the calling client.
中介器层可以接收和返回SDO数据图。
修改后,数据图被回传给DMS更新数据源。
Once modified, data graphs are passed back to the DMS for updating the data source.
注意,数据图及其模型总是能够序列化为XML。
Note that data graphs and their models are always serializable to XML.
数据图是树形结构或图形结构的数据对象的集合。
A data graph is a collection of tree-structured or graph-structured data objects.
此外,数据图可以包含表示不同数据源中数据的对象。
Furthermore, a data graph can include objects representing data from different data sources.
当检索数据时,中介器会将库中的数据转换为数据图。
When retrieving data, mediators convert data from the repository into a data graph.
此体系结构允许应用程序主要处理数据图和数据对象。
This architecture allows applications to deal principally with data graphs and data objects.
下面将对伪元数据代码和结果数据图结构进行简要的介绍。
A quick description of the pseudo-metadata code and the resulting data graph structure is provided below.
客户机应用程序将查询数据中介服务,并从响应中得到数据图。
Client applications query a data mediator service and get a data graph in response.
变更摘要包含在数据图中,表示对DMS返回的数据图的修改。
Change summaries are contained by data graphs and are used to represent the changes that have been made to a data graph returned by the DMS.
SDO客户机可以遍历数据图,读取和修改数据图中的数据对象。
SDO clients can traverse a data graph and read and modify its data objects.
此外,由于数据图是由数据对象组成的,因此它是可序列化的。
Moreover, as it is composed of Data Objects, a Data Graph is serializable.
数据对象类型表示原语的分组和其他数据对象类型,是数据图的构建块。
DataObjectTypes represent groupings of primitives and other DataObjectTypes, and are the building blocks of data graphs.
通常,运行时提供DAS的实现,而应用程序开发工具提供对数据图的支持。
In general, the runtime provides the implementations of the DASs, and application development tools provide support for the data graphs.
在本例中,数据图由Employee数据对象(以及变更摘要)组成。
For this example, the data graph is made of Employee data objects (and a change summary).
对比一下美国数据图(下面)和日本的数据图(上面),类似性显而易见。
When you compare the U.S. chart (shown below) with the Japan chart (shown above), the similarities are clearly visible.
SDO体系结构中的另一个重要概念是数据图,它是封装一组数据对象的结构。
Another important concept in the SDO architecture is the data graph, a structure that encapsulates a set of data objects.
例如,可以改为使用另一种能够导入其他工具的输出格式,从而允许绘制历史数据图。
For example, it can be modified to use a different format that can be imported into other tools, for example, to allow the plotting of the historical data.
到目前为止,您已经了解了如何创建元数据,然后填充和访问与元数据对应的数据图。
So far, you learned how to create metadata, then populate and access a data graph corresponding to the metadata.
变更摘要最初是空的(数据图刚返回客户机的时候),随着数据图的变化逐渐填充。
They are initially empty (when the data graph is returned to a client) and populated as the data graph is modified.
DMS是一种组件,它负责提供某些方法来组装数据图,也负责将数据更改保存回数据源。
The DMS is a component that provides methods to populate a data Graph. It saves the changes back to the data source.
因为建立对数据源的访问要考虑很多种情况,设计数据图本身可以作为另一篇文章的主题。
Designing a data graph could be the subject of another article on its own as there are many scenarios to consider when building access to a data source.
客户机应用程序随后将更新后的数据图发送给数据中介服务,以将更新应用到原始数据源。
Client applications send an updated data graph to a data mediator service to have the updates applied to the original data source.
通过如此操作,中介可以轻松地构造实际上基于多个数据源中的聚集或合并数据的数据图。
By doing so, the mediator can easily construct data graphs that are actually based on aggregated or consolidated data from multiple data sources.
正如向本届执委会报告的那样,疟疾控制方面的一个新的步骤是制定国家数据图,并辅以有关指标。
A step forward for malaria control, as reported to this Board, is the development of country data profiles, supported by indicators.
这个简单的例子将数据从XML文件加载到SDO数据图,打印并更新数据,然后将它写回文件。
This simple example loads data from an XML file into an SDO data graph, prints and updates the data, then writes it back to a file.
如果在我们的示例应用程序已经获得数据图之后,另外一个应用程序访问数据库并更改了值会怎么样?
What if another application had accessed the database and changed values after our example application had obtained its data graph?
应用推荐