|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryObjectModelFactory
A QueryObjectModelFactory
creates instances of the JCR query
object model.
Refer to QueryObjectModel
for a description of the query object
model.
Field Summary |
---|
Method Summary | |
---|---|
And |
and(Constraint constraint1,
Constraint constraint2)
Performs a logical conjunction of two other constraints. |
Ordering |
ascending(DynamicOperand operand)
Orders by the value of the specified operand, in ascending order. |
BindVariableValue |
bindVariable(java.lang.String bindVariableName)
Evaluates to the value of a bind variable. |
ChildNode |
childNode(java.lang.String selectorName,
java.lang.String path)
Tests whether a node in the specified selector is a child of a node reachable by a specified absolute path. |
ChildNodeJoinCondition |
childNodeJoinCondition(java.lang.String childSelectorName,
java.lang.String parentSelectorName)
Tests whether a first selector's node is a child of a second selector's node. |
Column |
column(java.lang.String selectorName,
java.lang.String propertyName,
java.lang.String columnName)
Identifies a property in the specified selector to include in the tabular view of query results. |
Comparison |
comparison(DynamicOperand operand1,
java.lang.String operator,
StaticOperand operand2)
Filters node-tuples based on the outcome of a binary operation. |
QueryObjectModel |
createQuery(Source source,
Constraint constraint,
Ordering[] orderings,
Column[] columns)
Creates a query with one or more selectors. |
DescendantNode |
descendantNode(java.lang.String selectorName,
java.lang.String path)
Tests whether a node in the specified selector is a descendant of a node reachable by a specified absolute path. |
DescendantNodeJoinCondition |
descendantNodeJoinCondition(java.lang.String descendantSelectorName,
java.lang.String ancestorSelectorName)
Tests whether a first selector's node is a descendant of a second selector's node. |
Ordering |
descending(DynamicOperand operand)
Orders by the value of the specified operand, in descending order. |
EquiJoinCondition |
equiJoinCondition(java.lang.String selector1Name,
java.lang.String property1Name,
java.lang.String selector2Name,
java.lang.String property2Name)
Tests whether the value of a property in a first selector is equal to the value of a property in a second selector. |
FullTextSearch |
fullTextSearch(java.lang.String selectorName,
java.lang.String propertyName,
StaticOperand fullTextSearchExpression)
Performs a full-text search against the specified selector. |
FullTextSearchScore |
fullTextSearchScore(java.lang.String selectorName)
Evaluates to a DOUBLE value equal to the full-text search
score of a node in the specified selector. |
Join |
join(Source left,
Source right,
java.lang.String joinType,
JoinCondition joinCondition)
Performs a join between two node-tuple sources. |
Length |
length(PropertyValue propertyValue)
Evaluates to the length (or lengths, if multi-valued) of a property. |
Literal |
literal(Value literalValue)
Evaluates to a literal value. |
LowerCase |
lowerCase(DynamicOperand operand)
Evaluates to the lower-case string value (or values, if multi-valued) of an operand. |
NodeLocalName |
nodeLocalName(java.lang.String selectorName)
Evaluates to a NAME value equal to the local (unprefixed)
name of a node in the specified selector. |
NodeName |
nodeName(java.lang.String selectorName)
Evaluates to a NAME value equal to the prefix-qualified name
of a node in the specified selector. |
Not |
not(Constraint constraint)
Performs a logical negation of another constraint. |
Or |
or(Constraint constraint1,
Constraint constraint2)
Performs a logical disjunction of two other constraints. |
PropertyExistence |
propertyExistence(java.lang.String selectorName,
java.lang.String propertyName)
Tests the existence of a property in the specified selector. |
PropertyValue |
propertyValue(java.lang.String selectorName,
java.lang.String propertyName)
Evaluates to the value (or values, if multi-valued) of a property in the specified selector. |
SameNode |
sameNode(java.lang.String selectorName,
java.lang.String path)
Tests whether a node in the specified selector is reachable by a specified absolute path. |
SameNodeJoinCondition |
sameNodeJoinCondition(java.lang.String selector1Name,
java.lang.String selector2Name,
java.lang.String selector2Path)
Tests whether a first selector's node is the same as a node identified by relative path from a second selector's node. |
Selector |
selector(java.lang.String nodeTypeName,
java.lang.String selectorName)
Selects a subset of the nodes in the repository based on node type. |
UpperCase |
upperCase(DynamicOperand operand)
Evaluates to the upper-case string value (or values, if multi-valued) of an operand. |
Method Detail |
---|
QueryObjectModel createQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns) throws InvalidQueryException, RepositoryException
source
- the node-tuple source; non-nullconstraint
- the constraint, or null if noneorderings
- zero or more orderings; null is equivalent to a
zero-length arraycolumns
- the columns; null is equivalent to a zero-length array
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test and the
parameters given fail that test. See the individual QOM factory methods
for the validity criteria of each query element.
RepositoryException
- if another error occurs.Selector selector(java.lang.String nodeTypeName, java.lang.String selectorName) throws InvalidQueryException, RepositoryException
The query is invalid if nodeTypeName
or
selectorName
is not a syntactically valid JCR name.
The query is invalid if selectorName
} is identical to the
name of another selector in the query.
The query is also invalid if nodeType
is not a valid JCR
name or is a valid JCR name but not the name of a node type available in
the repository.
nodeTypeName
- the name of the required node type; non-nullselectorName
- the selector name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsJoin join(Source left, Source right, java.lang.String joinType, JoinCondition joinCondition) throws InvalidQueryException, RepositoryException
The query is invalid if left
is the same source as
right
.
left
- the left node-tuple source; non-nullright
- the right node-tuple source; non-nulljoinType
- either QueryObjectModelConstants.JCR_JOIN_TYPE_INNER
,QueryObjectModelConstants.JCR_JOIN_TYPE_LEFT_OUTER
,QueryObjectModelConstants.JCR_JOIN_TYPE_RIGHT_OUTER
joinCondition
- the join condition; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsEquiJoinCondition equiJoinCondition(java.lang.String selector1Name, java.lang.String property1Name, java.lang.String selector2Name, java.lang.String property2Name) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector1
is not the name
of a selector in the query, orselector2
is not the
name of a selector in the query, orselector1
is
the same as selector2
, orproperty1
is
not a syntactically valid JCR name, orproperty2
is
not a syntactically valid JCR name, orproperty1
is not the same property type as the value of
property2
, orproperty1
is a
multi-valued property, orproperty2
is a
multi-valued property, orproperty1
is a
BINARY
property, orproperty2
is a
BINARY
property.
selector1Name
- the name of the first selector; non-nullproperty1Name
- the property name in the first selector; non-nullselector2Name
- the name of the second selector; non-nullproperty2Name
- the property name in the second selector; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implementation chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsSameNodeJoinCondition sameNodeJoinCondition(java.lang.String selector1Name, java.lang.String selector2Name, java.lang.String selector2Path) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector1
is not the name
of a selector in the query, orselector2
is not the
name of a selector in the query, orselector1
is
the same as selector2, orselector2Path
is not a
syntactically valid relative path. Note, however, that if the path is
syntactically valid but does not identify a node visible to the current
session, the query is valid but the constraint is not satisfied.
selector1Name
- the name of the first selector; non-nullselector2Name
- the name of the second selector; non-nullselector2Path
- the path relative to the second selector; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsChildNodeJoinCondition childNodeJoinCondition(java.lang.String childSelectorName, java.lang.String parentSelectorName) throws InvalidQueryException, RepositoryException
The query is invalid if:
childSelector
is not the
name of a selector in the query, orparentSelector
is not the name of a selector in the query, orchildSelector
is the same as parentSelector
.
childSelectorName
- the name of the child selector; non-nullparentSelectorName
- the name of the parent selector; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsDescendantNodeJoinCondition descendantNodeJoinCondition(java.lang.String descendantSelectorName, java.lang.String ancestorSelectorName) throws InvalidQueryException, RepositoryException
The query is invalid if:
descendantSelector
is not
the name of a selector in the query, orancestorSelector
is not the name of a selector in the query, ordescendantSelector
is the same as
ancestorSelector
.
descendantSelectorName
- the name of the descendant selector;
non-nullancestorSelectorName
- the name of the ancestor selector; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsAnd and(Constraint constraint1, Constraint constraint2) throws InvalidQueryException, RepositoryException
constraint1
- the first constraint; non-nullconstraint2
- the second constraint; non-null
And
constraint; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsOr or(Constraint constraint1, Constraint constraint2) throws InvalidQueryException, RepositoryException
constraint1
- the first constraint; non-nullconstraint2
- the second constraint; non-null
Or
constraint; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsNot not(Constraint constraint) throws InvalidQueryException, RepositoryException
constraint
- the constraint to be negated; non-null
Not
constraint; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsComparison comparison(DynamicOperand operand1, java.lang.String operator, StaticOperand operand2) throws InvalidQueryException, RepositoryException
operand1
- the first operand; non-nulloperator
- the operator; either QueryObjectModelConstants.JCR_OPERATOR_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_NOT_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_LESS_THAN
,QueryObjectModelConstants.JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO
,QueryObjectModelConstants.JCR_OPERATOR_GREATER_THAN
,QueryObjectModelConstants.JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO
,
orQueryObjectModelConstants.JCR_OPERATOR_LIKE
operand2
- the second operand; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsPropertyExistence propertyExistence(java.lang.String selectorName, java.lang.String propertyName) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector
is not the name
of a selector in the query, orproperty
is not a
syntactically valid JCR name.
selectorName
- the selector name; non-nullpropertyName
- the property name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsFullTextSearch fullTextSearch(java.lang.String selectorName, java.lang.String propertyName, StaticOperand fullTextSearchExpression) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector
is not the name
of a selector in the query, orproperty
is
specified but is not a syntactically valid JCR name, orfullTextSearchExpression
does not evaluate to a JCR
STRING Value (or convertible to STRING) that conforms to the full text
search grammar.
If property
is specified but, for a node-tuple, the selector
node does not have a property named property
, the query is
valid but the constraint is not satisfied.
selectorName
- the selector name; non-nullpropertyName
- the property name, or null to search all full-text
indexed properties of the node (or node subgraph, in some
implementations)fullTextSearchExpression
- the full-text search expression as a
static operand; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsSameNode sameNode(java.lang.String selectorName, java.lang.String path) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector
is not the name
of a selector in the query, orpath
is not a
syntactically valid absolute path. Note, however, that if the path is
syntactically valid but does not identify a node in the repository (or
the node is not visible to this session, because of access control
constraints), the query is valid but the constraint is not
satisfied.
selectorName
- the selector name; non-nullpath
- an absolute path; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsChildNode childNode(java.lang.String selectorName, java.lang.String path) throws InvalidQueryException, RepositoryException
selector
is not the name of a selector in the query,
orpath
is not a syntactically valid absolute path.
Note, however, that if the path is syntactically valid but does not
identify a node in the repository (or the node is not visible to this
session, because of access control constraints), the query is valid but
the constraint is not satisfied.
selectorName
- the selector name; non-nullpath
- an absolute path; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsDescendantNode descendantNode(java.lang.String selectorName, java.lang.String path) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector
is not the name
of a selector in the query, orpath
is not a
syntactically valid absolute path. Note, however, that if the path is
syntactically valid but does not identify a node in the repository (or
the node is not visible to this session, because of access control
constraints), the query is valid but the constraint is not
satisfied.
selectorName
- the selector name; non-nullpath
- an absolute path; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsPropertyValue propertyValue(java.lang.String selectorName, java.lang.String propertyName) throws InvalidQueryException, RepositoryException
The query is invalid if:
selector
is not the name
of a selector in the query, orproperty
is not a
syntactically valid JCR name.
selectorName
- the selector name; non-nullpropertyName
- the property name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsLength length(PropertyValue propertyValue) throws InvalidQueryException, RepositoryException
propertyValue
- the property value for which to compute the length;
non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsNodeName nodeName(java.lang.String selectorName) throws InvalidQueryException, RepositoryException
NAME
value equal to the prefix-qualified name
of a node in the specified selector.
The query is invalid if selector
is not the name of a
selector in the query.
selectorName
- the selector name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsNodeLocalName nodeLocalName(java.lang.String selectorName) throws InvalidQueryException, RepositoryException
NAME
value equal to the local (unprefixed)
name of a node in the specified selector.
The query is invalid if selector
is not the name of a
selector in the query.
selectorName
- the selector name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsFullTextSearchScore fullTextSearchScore(java.lang.String selectorName) throws InvalidQueryException, RepositoryException
DOUBLE
value equal to the full-text search
score of a node in the specified selector.
The query is invalid if selector
is not the name of a
selector in the query.
selectorName
- the selector name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsLowerCase lowerCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException
operand
- the operand whose value is converted to a lower-case
string; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsUpperCase upperCase(DynamicOperand operand) throws InvalidQueryException, RepositoryException
operand
- the operand whose value is converted to a upper-case
string; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsBindVariableValue bindVariable(java.lang.String bindVariableName) throws InvalidQueryException, RepositoryException
The query is invalid if bindVariableName
is not a valid JCR
prefix.
bindVariableName
- the bind variable name; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test.
RepositoryException
- if the operation otherwise failsLiteral literal(Value literalValue) throws InvalidQueryException, RepositoryException
literalValue
- the value
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses
to perform that test (and not leave it
until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
),
and the parameter given fails that test
RepositoryException
- if the operation otherwise failsOrdering ascending(DynamicOperand operand) throws InvalidQueryException, RepositoryException
operand
does not evaluate to a scalar
value.
operand
- the operand by which to order; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsOrdering descending(DynamicOperand operand) throws InvalidQueryException, RepositoryException
operand
does not evaluate to a scalar
value.
operand
- the operand by which to order; non-null
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise failsColumn column(java.lang.String selectorName, java.lang.String propertyName, java.lang.String columnName) throws InvalidQueryException, RepositoryException
The query is invalid if:
selectorName
is not the name
of a selector in the query, orpropertyName
is specified but does not evaluate to a scalar
value, orpropertyName
is specified but
columnName
is omitted, orpropertyName
is
omitted but columnName
is specified, orcolumnName
(if propertyName
is
specified) or generated as described above (if propertyName
is
omitted).propertyName
is specified but, for a
node-tuple, the selector node does not have a property named
propertyName
, the query is valid and the column has null value.
selectorName
- the selector name; non-nullpropertyName
- the property name, or null to include a column for
each single-value non-residual property of the selector's node typecolumnName
- the column name; must be null if propertyName
is null;
must be non-null if propertyName
is non-null.
InvalidQueryException
- if a particular validity test is possible
on this method, the implemention chooses to perform that test (and not
leave it until later, on createQuery(javax.jcr.query.qom.Source, javax.jcr.query.qom.Constraint, javax.jcr.query.qom.Ordering[], javax.jcr.query.qom.Column[])
), and the parameters given
fail that test
RepositoryException
- if the operation otherwise fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |