Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
javax.jcr.query.qom |
Provides interfaces and classes for content repository Query Object Model.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryManager.createQuery(String statement,
String language)
Creates a new query by specifying the query
statement itself
and the language in which the query is stated. |
QueryResult |
Query.execute()
Executes this query and returns a
object. |
Query |
QueryManager.getQuery(Node node)
Retrieves an existing persistent query.
|
Modifier and Type | Method and Description |
---|---|
And |
QueryObjectModelFactory.and(Constraint constraint1,
Constraint constraint2)
Performs a logical conjunction of two other constraints.
|
Ordering |
QueryObjectModelFactory.ascending(DynamicOperand operand)
Orders by the value of the specified operand, in ascending order.
|
BindVariableValue |
QueryObjectModelFactory.bindVariable(String bindVariableName)
Evaluates to the value of a bind variable.
|
ChildNode |
QueryObjectModelFactory.childNode(String selectorName,
String path)
Tests whether a node in the specified selector is a child of a node
reachable by a specified absolute path.
|
ChildNodeJoinCondition |
QueryObjectModelFactory.childNodeJoinCondition(String childSelectorName,
String parentSelectorName)
Tests whether a first selector's node is a child of a second selector's
node.
|
Column |
QueryObjectModelFactory.column(String selectorName,
String propertyName,
String columnName)
Identifies a property in the specified selector to include in the tabular
view of query results.
|
Comparison |
QueryObjectModelFactory.comparison(DynamicOperand operand1,
String operator,
StaticOperand operand2)
Filters node-tuples based on the outcome of a binary operation.
|
QueryObjectModel |
QueryObjectModelFactory.createQuery(Source source,
Constraint constraint,
Ordering[] orderings,
Column[] columns)
Creates a query with one or more selectors.
|
DescendantNode |
QueryObjectModelFactory.descendantNode(String selectorName,
String path)
Tests whether a node in the specified selector is a descendant of a node
reachable by a specified absolute path.
|
DescendantNodeJoinCondition |
QueryObjectModelFactory.descendantNodeJoinCondition(String descendantSelectorName,
String ancestorSelectorName)
Tests whether a first selector's node is a descendant of a second
selector's node.
|
Ordering |
QueryObjectModelFactory.descending(DynamicOperand operand)
Orders by the value of the specified operand, in descending order.
|
EquiJoinCondition |
QueryObjectModelFactory.equiJoinCondition(String selector1Name,
String property1Name,
String selector2Name,
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 |
QueryObjectModelFactory.fullTextSearch(String selectorName,
String propertyName,
StaticOperand fullTextSearchExpression)
Performs a full-text search against the specified selector.
|
FullTextSearchScore |
QueryObjectModelFactory.fullTextSearchScore(String selectorName)
Evaluates to a
DOUBLE value equal to the full-text search
score of a node in the specified selector. |
Join |
QueryObjectModelFactory.join(Source left,
Source right,
String joinType,
JoinCondition joinCondition)
Performs a join between two node-tuple sources.
|
Length |
QueryObjectModelFactory.length(PropertyValue propertyValue)
Evaluates to the length (or lengths, if multi-valued) of a property.
|
Literal |
QueryObjectModelFactory.literal(Value literalValue)
Evaluates to a literal value.
|
LowerCase |
QueryObjectModelFactory.lowerCase(DynamicOperand operand)
Evaluates to the lower-case string value (or values, if multi-valued) of
an operand.
|
NodeLocalName |
QueryObjectModelFactory.nodeLocalName(String selectorName)
Evaluates to a
NAME value equal to the local (unprefixed)
name of a node in the specified selector. |
NodeName |
QueryObjectModelFactory.nodeName(String selectorName)
Evaluates to a
NAME value equal to the prefix-qualified name
of a node in the specified selector. |
Not |
QueryObjectModelFactory.not(Constraint constraint)
Performs a logical negation of another constraint.
|
Or |
QueryObjectModelFactory.or(Constraint constraint1,
Constraint constraint2)
Performs a logical disjunction of two other constraints.
|
PropertyExistence |
QueryObjectModelFactory.propertyExistence(String selectorName,
String propertyName)
Tests the existence of a property in the specified selector.
|
PropertyValue |
QueryObjectModelFactory.propertyValue(String selectorName,
String propertyName)
Evaluates to the value (or values, if multi-valued) of a property in the
specified selector.
|
SameNode |
QueryObjectModelFactory.sameNode(String selectorName,
String path)
Tests whether a node in the specified selector is reachable by a
specified absolute path.
|
SameNodeJoinCondition |
QueryObjectModelFactory.sameNodeJoinCondition(String selector1Name,
String selector2Name,
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 |
QueryObjectModelFactory.selector(String nodeTypeName,
String selectorName)
Selects a subset of the nodes in the repository based on node type.
|
UpperCase |
QueryObjectModelFactory.upperCase(DynamicOperand operand)
Evaluates to the upper-case string value (or values, if multi-valued) of
an operand.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.