|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a Dao for querying a collection with XQuery
Method Summary | |
java.util.Map |
queryWithXQueryCollectionAsString(java.lang.String xQuery,
java.lang.String collectionPath)
Query a collection with XQuery and return a map of results with keys of the resource IDs and values of String xml of the results (not necessarily the resource documents, but the result of the query) |
java.util.Map |
queryWithXQueryCollectionAsString(java.lang.String xQuery,
java.lang.String collectionPath,
java.util.Map variables)
Query a collection with XQuery and return a map of results with keys of the resource IDs and values of String xml of the results (not necessarily the resource documents, but the result of the query). |
Method Detail |
public java.util.Map queryWithXQueryCollectionAsString(java.lang.String xQuery, java.lang.String collectionPath) throws XMLDBDataAccessException
xQuery
- the xquery query to usecollectionPath
- the collection path to query (note some XML databases will also
query child collections by default)
XMLDBDataAccessException
- if anything goes wrong with he querypublic java.util.Map queryWithXQueryCollectionAsString(java.lang.String xQuery, java.lang.String collectionPath, java.util.Map variables) throws XMLDBDataAccessException
xQuery
- the xquery query to usecollectionPath
- the collection path to query (note some XML databases will also
query child collections by default)variables
- map of key/values that can be used for replacement in the xquery
XMLDBDataAccessException
- if anything goes wrong with he query
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |