Wednesday, 24 April 2019

CMIS: Query capabilities


openCMIS provides following functions to check the query capabilities of the repository.

Function
Description
getQueryCapability()
Specifies the types of queries that repository is going to support. Possible values are none, metadataonly, fulltextonly, bothseparate, bothcombined.

none: No queries of any kind can be fulfilled.

metadataonly : Only queries that filter based on object properties can be fulfilled. Specifically, the CONTAINS() predicate function is not supported.

fulltextonly: Only queries that filter based on the full-text content of documents can be fulfilled. Specifically, only the CONTAINS() predicate function can be included in the WHERE clause.

bothseparate: The repository can fulfill queries that filter EITHER on the full-text content of documents OR on their properties, but NOT if both types of filters are included in the same query.

bothcombined: The repository can fulfill queries that filter on both the full-text content of documents and their properties in the same query.
getJoinCapability()
Specifies the query joinining capabilities of the repository. Possible values are none, inneronly and innerandouter

none: The repository cannot fulfill any queries that include any JOIN clauses on two primary types. If the Repository supports secondary types, JOINs on secondary types SHOULD be supported, even if the support level is none.

inneronly: The repository can fulfill queries that include an INNER JOIN clause, but cannot fulfill queries that include other types of JOIN clauses.

innerandouter: The repository can fulfill queries that include any type of JOIN clause defined by the CMIS query grammar.




Previous                                                 Next                                                 Home

No comments:

Post a Comment