|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.fluent.QueryService.QueryAnalysis
public static class QueryService.QueryAnalysis
An access point for running various analyses on a query.
Nested Class Summary | |
---|---|
static class |
QueryService.QueryAnalysis.Cardinality
The enumeration of recognized cardinalities for parameter and return types. |
Method Summary | |
---|---|
QueryService.QueryAnalysis.Cardinality |
cardinality()
Return the statically determined cardinality of the return type of the query expression. |
Set<QName> |
requiredFunctions()
Return a list of functions that are required to be defined by this query, beyond the standard XPath/XQuery ones. |
Set<QName> |
requiredVariables()
Return a list of variables that are required to be defined by this query, excluding any positional variables that were provided to the analyze
method. |
String |
returnTypeName()
Return the name of the statically determined return type of the query expression. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String returnTypeName()
Type
for a list
of possible values. If the return type cannot be statically determined, it defaults to
Type.ITEM
, the universal supertype in XQuery.
public QueryService.QueryAnalysis.Cardinality cardinality()
ZERO_OR_MORE
,
the least restrictive cardinality.
public Set<QName> requiredVariables()
analyze
method. The variable names will not include the leading '$'.
public Set<QName> requiredFunctions()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |