18.01.2015 Views

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Query Search Scope<br />

B is a subtype of A.<br />

C is a subtype of B.<br />

= inherited property definition<br />

Relational View<br />

Objects of<br />

Type A<br />

Search scope<br />

for query on A<br />

Objects of<br />

Type B<br />

Search scope<br />

for query on B<br />

Objects of<br />

Type C<br />

Search scope<br />

for query on C<br />

Figure 2.6: Query Search Scope<br />

2.<strong>1.1</strong>4.1.2 <strong>Content</strong> Streams<br />

<strong>Content</strong> streams are NOT exposed through this relational view.<br />

2.<strong>1.1</strong>4.1.3 Result Set<br />

When a query is submitted, a set of pseudo <strong>CMIS</strong> objects will be returned. These pseudo objects are<br />

comprised of the properties specified in the select clause of the query statement.<br />

For each property in each object in the result set, the repository MUST include the property definition id as<br />

well as either the query name (if no alias is used) or the alias in place of the query name (if an alias is used).<br />

If the select clause of the query statement contains properties from a single type reference then the repository<br />

MAY represent these pseudo-objects with additional object information.<br />

2.<strong>1.1</strong>4.2 Query Language Definition<br />

This query languages is based on a subset of the SQL-92 grammar. <strong>CMIS</strong>-specific language extensions to<br />

SQL-92 are called out explicitly.<br />

The basic structure of a <strong>CMIS</strong> query is a SQL statement that MUST include the following clauses:<br />

SELECT [virtual columns list] This clause identifies the set of virtual columns that will be included in the<br />

query results for each row and optionally their aliases.<br />

<strong>CMIS</strong>-v<strong>1.1</strong>-csprd01<br />

Standards Track Work Product<br />

Copyright © OASIS Open 2012. All Rights Reserved.<br />

18 August 2012<br />

Page 103 of 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!