Package | Description |
---|---|
org.apache.jackrabbit.spi.commons.query |
Modifier and Type | Class and Description |
---|---|
class |
NAryQueryNode<T extends QueryNode>
Defines an abstract query node for nodes that have child nodes.
|
Modifier and Type | Class and Description |
---|---|
class |
AndQueryNode
Implements a query node that defines an AND operation between arbitrary
other
QueryNode s. |
class |
DerefQueryNode
Represents query node that dereferences a reference property into a node and
does an optional name test on the target node.
|
class |
ExactQueryNode
Implements a query node that defines an exact match of a property and a
value.
|
class |
LocationStepQueryNode
Defines a location step for querying the path of a node.
|
class |
NAryQueryNode<T extends QueryNode>
Defines an abstract query node for nodes that have child nodes.
|
class |
NodeTypeQueryNode
Implements a query node that defines a node type match.
|
class |
NotQueryNode
Implements a query node that defines a not operation on the child query.
|
class |
OrderQueryNode
Implements a query node that defines the order of nodes according to the
values of properties.
|
class |
OrQueryNode
Implements a query node that defines an OR operation between arbitrary
other
QueryNode s. |
class |
PathQueryNode
Implements a query node that defines a path restriction.
|
class |
PropertyFunctionQueryNode
PropertyFunctionQueryNode allows to place function calls on properties
in a query. |
class |
QueryRootNode
Implements the root node of a query tree.
|
class |
RelationQueryNode
Implements a query node that defines property value relation.
|
class |
TextsearchQueryNode
Implements a query node that defines a textsearch clause.
|
Modifier and Type | Method and Description |
---|---|
QueryNode[] |
NAryQueryNode.getOperands()
Returns an array of currently set
QueryNode operands of this
QueryNode . |
QueryNode |
QueryNode.getParent()
Returns the parent
QueryNode or null if this is
the root node of a query tree. |
QueryNode[] |
LocationStepQueryNode.getPredicates()
Returns the predicate nodes for this location step.
|
Modifier and Type | Method and Description |
---|---|
void |
LocationStepQueryNode.addPredicate(QueryNode predicate)
Adds a predicate node to this location step.
|
AndQueryNode |
DefaultQueryNodeFactory.createAndQueryNode(QueryNode parent)
Creates a
AndQueryNode instance. |
AndQueryNode |
QueryNodeFactory.createAndQueryNode(QueryNode parent)
Creates a
AndQueryNode instance. |
DerefQueryNode |
DefaultQueryNodeFactory.createDerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a
DerefQueryNode instance. |
DerefQueryNode |
QueryNodeFactory.createDerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a
DerefQueryNode instance. |
LocationStepQueryNode |
DefaultQueryNodeFactory.createLocationStepQueryNode(QueryNode parent)
Creates a
LocationStepQueryNode instance. |
LocationStepQueryNode |
QueryNodeFactory.createLocationStepQueryNode(QueryNode parent)
Creates a
LocationStepQueryNode instance. |
NodeTypeQueryNode |
DefaultQueryNodeFactory.createNodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a
NodeTypeQueryNode instance. |
NodeTypeQueryNode |
QueryNodeFactory.createNodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a
NodeTypeQueryNode instance. |
NotQueryNode |
DefaultQueryNodeFactory.createNotQueryNode(QueryNode parent)
Creates a
NotQueryNode instance. |
NotQueryNode |
QueryNodeFactory.createNotQueryNode(QueryNode parent)
Creates a
NotQueryNode instance. |
OrderQueryNode |
DefaultQueryNodeFactory.createOrderQueryNode(QueryNode parent)
Creates a
OrderQueryNode instance. |
OrderQueryNode |
QueryNodeFactory.createOrderQueryNode(QueryNode parent)
Creates a
OrderQueryNode instance. |
OrQueryNode |
DefaultQueryNodeFactory.createOrQueryNode(QueryNode parent)
Creates a
OrQueryNode instance. |
OrQueryNode |
QueryNodeFactory.createOrQueryNode(QueryNode parent)
Creates a
OrQueryNode instance. |
PathQueryNode |
DefaultQueryNodeFactory.createPathQueryNode(QueryNode parent)
Creates a
PathQueryNode instance. |
PathQueryNode |
QueryNodeFactory.createPathQueryNode(QueryNode parent)
Creates a
PathQueryNode instance. |
PropertyFunctionQueryNode |
DefaultQueryNodeFactory.createPropertyFunctionQueryNode(QueryNode parent,
String functionName)
Creates a
PropertyFunctionQueryNode instance. |
PropertyFunctionQueryNode |
QueryNodeFactory.createPropertyFunctionQueryNode(QueryNode parent,
String functionName)
Creates a
PropertyFunctionQueryNode instance. |
RelationQueryNode |
DefaultQueryNodeFactory.createRelationQueryNode(QueryNode parent,
int operation)
Creates a
RelationQueryNode instance. |
RelationQueryNode |
QueryNodeFactory.createRelationQueryNode(QueryNode parent,
int operation)
Creates a
RelationQueryNode instance. |
TextsearchQueryNode |
DefaultQueryNodeFactory.createTextsearchQueryNode(QueryNode parent,
String query)
Creates a
TextsearchQueryNode instance. |
TextsearchQueryNode |
QueryNodeFactory.createTextsearchQueryNode(QueryNode parent,
String query)
Creates a
TextsearchQueryNode instance. |
static void |
QueryTreeDump.dump(QueryNode node,
StringBuffer buffer)
Dumps a query node tree to the string
buffer . |
Constructor and Description |
---|
AndQueryNode(QueryNode parent)
Creates a new
AndQueryNode with a parent
query node. |
DerefQueryNode(QueryNode parent,
Name nameTest,
boolean descendants)
Creates a new
DerefQueryNode without a name set for the
reference property. |
ExactQueryNode(QueryNode parent,
Name property,
Name value)
Creates a new
ExactQueryNode instance. |
LocationStepQueryNode(QueryNode parent)
Creates a new
LocationStepQueryNode that matches only the
empty name (the repository root). |
NAryQueryNode(QueryNode parent)
Creates a new
NAryQueryNode with a reference to a parent
QueryNode . |
NAryQueryNode(QueryNode parent,
T[] operands)
|
NAryQueryNode(QueryNode parent,
T[] operands)
|
NodeTypeQueryNode(QueryNode parent,
Name nodeType)
Creates a new
NodeTypeQueryNode . |
NotQueryNode(QueryNode parent)
Creates a new
NotQueryNode instance. |
OrderQueryNode(QueryNode parent)
Creates a new
OrderQueryNode with a reference to a parent
node and sort properties. |
OrQueryNode(QueryNode parent)
Creates a new
OrQueryNode with a parent
query node. |
PathQueryNode(QueryNode parent,
Collection<Name> validJcrSystemNodeTypeNames)
Creates a relative
PathQueryNode with no location steps and
the collection of node types under /jcr:system. |
PropertyFunctionQueryNode(QueryNode parent,
String functionName)
Creates a property function query node.
|
QueryNode(QueryNode parent)
Constructs a new
QueryNode with a reference to it's parent. |
RelationQueryNode(QueryNode parent,
int operation,
QueryNodeFactory factory)
Creates a new
RelationQueryNode without a type nor value
assigned. |
TextsearchQueryNode(QueryNode parent,
String query)
Creates a new
TextsearchQueryNode with a parent
and a textsearch query statement. |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.