|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XQueryExpression
An XQueryExpression - the object representation of a compiled XQuery. Must be thread-safe and immutable.
| Method Summary | |
|---|---|
void |
compileXQuery(java.lang.String xQueryString)
Return the compiled XQueryExpression - the result of this call should be used as a parameter to the getDocumentNames and
evaluateXQuery methods. |
java.sql.SQLXML |
evaluateXQuery(XQuerySQLEvaluator sqlEval)
Evaluate the XQuery and return results. |
void |
setParameters(java.util.Map params)
Set external parameter values. |
void |
setXMLFormat(java.lang.String xmlFormat)
This method sets whether the documents should be returned in compact format (no extraneous whitespace). |
| Method Detail |
|---|
void compileXQuery(java.lang.String xQueryString)
throws MetaMatrixProcessingException
getDocumentNames and
evaluateXQuery methods.
A null return value is interpreted to mean that XQueries
are not supported by this engine at all.
xQueryString - the original XQuery String
MetaMatrixProcessingException - if xQueryString is
invalid and fails to compile
java.sql.SQLXML evaluateXQuery(XQuerySQLEvaluator sqlEval)
throws MetaMatrixProcessingException,
MetaMatrixComponentException
compiledXQuery - compiled XQueryExpression
MetaMatrixProcessingException - if xQueryString is
invalid and fails to compile
MetaMatrixComponentExceptionvoid setXMLFormat(java.lang.String xmlFormat)
xmlFormat - A string giving the format in which xml results need to be returnedvoid setParameters(java.util.Map params)
params - Map of parameter name -> value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||