|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
org.jboss.dna.graph.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query. |
org.jboss.dna.graph.query.plan | This package defines the Planner interface, the CanonicalPlanner implementation, and the
PlanNode class that is used to represent a canonical query plan. |
org.jboss.dna.graph.query.process | This package defines the QueryProcessor interface, which is responsible for constructing for each query
a tree of ProcessingComponent objects that each are responsible for processing a specific aspect of
the query and returning the tuples to the parent component. |
org.jboss.dna.graph.request | Sometimes its useful to work with a graph using objects that represent individual commands on the graph. |
Uses of Constraint in org.jboss.dna.graph.query.model |
---|
Subclasses of Constraint in org.jboss.dna.graph.query.model | |
---|---|
class |
And
A constraint that evaluates to true when both of the other constraints evaluate to true. |
class |
Between
A constraint that evaluates to true when the value defined by the dynamic operand evaluates to be within the specified range. |
class |
ChildNode
A constraint requiring that the selected node is a child of the node reachable by the supplied absolute path |
class |
Comparison
A constraint that evaluates to true when the defined operation evaluates to true. |
class |
DescendantNode
A constraint requiring that the selected node is a descendant of the node reachable by the supplied absolute path |
class |
FullTextSearch
A constraint that evaluates to true only when a full-text search applied to the search scope results in positive findings. |
class |
Not
A constraint that negates another constraint. |
class |
Or
A constraint that evaluates to true when either of the other constraints evaluates to true. |
class |
PropertyExistence
A constraint that evaluates to true only when a named property exists on a node. |
class |
SameNode
A constraint requiring that the selected node is reachable by the supplied absolute path |
class |
SetCriteria
A constraint that evaluates to true when the defined operation evaluates to true. |
Methods in org.jboss.dna.graph.query.model that return Constraint | |
---|---|
Constraint |
Query.getConstraint()
Get the constraints, if there are any. |
Constraint |
Not.getConstraint()
The constraint being negated. |
Constraint |
Or.getLeft()
Get the left-hand constraint. |
Constraint |
And.getLeft()
Get the constraint that is on the left-hand-side of the AND operation. |
Constraint |
Or.getRight()
Get the right-hand constraint. |
Constraint |
And.getRight()
Get the constraint that is on the right-hand-side of the AND operation. |
Methods in org.jboss.dna.graph.query.model with parameters of type Constraint | |
---|---|
Query |
Query.constrainedBy(Constraint constraint)
Create a copy of this query, but one that uses the supplied constraint. |
Constructors in org.jboss.dna.graph.query.model with parameters of type Constraint | |
---|---|
And(Constraint left,
Constraint right)
|
|
Not(Constraint constraint)
Create a constraint that negates another constraint. |
|
Or(Constraint left,
Constraint right)
Create a constraint that evaluates to true if either of the two supplied constraints evaluates to true. |
|
Query(Source source,
Constraint constraint,
List<Ordering> orderings,
List<Column> columns,
Limit limit,
boolean isDistinct)
Create a new query that uses the supplied source, constraint, orderings, columns and limits. |
Uses of Constraint in org.jboss.dna.graph.query.plan |
---|
Methods in org.jboss.dna.graph.query.plan that return Constraint | |
---|---|
static Constraint |
PlanUtil.replaceReferences(QueryContext context,
Constraint constraint,
PlanUtil.ColumnMapping mapping,
PlanNode node)
|
static Constraint |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
Constraint constraint,
Map<SelectorName,SelectorName> rewrittenSelectors)
|
Methods in org.jboss.dna.graph.query.plan with parameters of type Constraint | |
---|---|
static Constraint |
PlanUtil.replaceReferences(QueryContext context,
Constraint constraint,
PlanUtil.ColumnMapping mapping,
PlanNode node)
|
static Constraint |
PlanUtil.replaceReferencesToRemovedSource(QueryContext context,
Constraint constraint,
Map<SelectorName,SelectorName> rewrittenSelectors)
|
Uses of Constraint in org.jboss.dna.graph.query.process |
---|
Methods in org.jboss.dna.graph.query.process with parameters of type Constraint | |
---|---|
static boolean |
QueryResultColumns.includeFullTextScores(Constraint constraint)
|
Method parameters in org.jboss.dna.graph.query.process with type arguments of type Constraint | |
---|---|
static boolean |
QueryResultColumns.includeFullTextScores(Iterable<Constraint> constraints)
|
Constructors in org.jboss.dna.graph.query.process with parameters of type Constraint | |
---|---|
SelectComponent(ProcessingComponent delegate,
Constraint constraint,
Map<String,Object> variables)
Create a SELECT processing component that pass those tuples that satisfy the supplied constraint. |
|
SelectComponent(ProcessingComponent delegate,
Constraint constraint,
Map<String,Object> variables,
SelectComponent.Analyzer analyzer)
Create a SELECT processing component that pass those tuples that satisfy the supplied constraint, using the supplied SelectComponent.Analyzer for the verification of the more complex/arduous constraints. |
Uses of Constraint in org.jboss.dna.graph.request |
---|
Methods in org.jboss.dna.graph.request that return types with arguments of type Constraint | |
---|---|
List<Constraint> |
AccessQueryRequest.andedConstraints()
Get the immutable list of constraints that are AND-ed together in this query. |
Constructor parameters in org.jboss.dna.graph.request with type arguments of type Constraint | |
---|---|
AccessQueryRequest(String workspace,
SelectorName tableName,
QueryResults.Columns resultColumns,
List<Constraint> andedConstraints,
Limit limit,
Schemata schemata,
Map<String,Object> variables)
Create a new request to execute the supplied query against the name workspace. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |