|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
org.modeshape.graph.query | The Query API provides a mechanism for building and executing queries. |
org.modeshape.graph.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query. |
org.modeshape.graph.query.optimize | This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules. |
org.modeshape.graph.query.parse | This package defines the QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation. |
org.modeshape.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.modeshape.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.modeshape.graph.request | Sometimes its useful to work with a graph using objects that represent individual commands on the graph. |
org.modeshape.search.lucene | An implementation of the SearchEngine interface that uses the Lucene library. |
Uses of Constraint in org.modeshape.graph.query |
---|
Fields in org.modeshape.graph.query declared as Constraint | |
---|---|
protected Constraint |
QueryBuilder.constraint
|
Methods in org.modeshape.graph.query with parameters of type Constraint | |
---|---|
protected QueryBuilder.ConstraintBuilder |
QueryBuilder.ConstraintBuilder.setConstraint(Constraint constraint)
|
protected QueryBuilder.ConstraintBuilder |
QueryBuilder.UpperCaser.setConstraint(Constraint constraint)
|
protected QueryBuilder.ConstraintBuilder |
QueryBuilder.LowerCaser.setConstraint(Constraint constraint)
|
Uses of Constraint in org.modeshape.graph.query.model |
---|
Subclasses of Constraint in org.modeshape.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.modeshape.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.modeshape.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.modeshape.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.modeshape.graph.query.optimize |
---|
Fields in org.modeshape.graph.query.optimize declared as Constraint | |
---|---|
protected static Constraint |
RewriteAsRangeCriteria.CONFLICTING_CONSTRAINT
|
Methods in org.modeshape.graph.query.optimize that return Constraint | |
---|---|
protected Constraint |
RewriteAsRangeCriteria.rewrite(QueryContext context,
List<Comparison> comparisons)
Rewrite the supplied comparisons, returning the new constraint and nulling in the supplied list those comparisons that were rewritten (and leaving those that were not rewritten) |
Uses of Constraint in org.modeshape.graph.query.parse |
---|
Methods in org.modeshape.graph.query.parse that return Constraint | |
---|---|
protected Constraint |
SqlQueryParser.parseConstraint(TokenStream tokens,
TypeSystem typeSystem,
Source source)
|
protected Constraint |
SqlQueryParser.parsePropertyExistance(TokenStream tokens,
TypeSystem typeSystem,
Source source)
|
protected Constraint |
SqlQueryParser.parseWhere(TokenStream tokens,
TypeSystem typeSystem,
Source source)
|
Uses of Constraint in org.modeshape.graph.query.plan |
---|
Methods in org.modeshape.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.modeshape.graph.query.plan with parameters of type Constraint | |
---|---|
protected PlanNode |
CanonicalPlanner.attachCriteria(QueryContext context,
PlanNode plan,
Constraint constraint)
Attach all criteria above the join nodes. |
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)
|
protected void |
CanonicalPlanner.separateAndConstraints(Constraint constraint,
List<Constraint> andableConstraints)
Walk the supplied constraint to extract a list of the constraints that can be AND-ed together. |
Method parameters in org.modeshape.graph.query.plan with type arguments of type Constraint | |
---|---|
protected void |
CanonicalPlanner.separateAndConstraints(Constraint constraint,
List<Constraint> andableConstraints)
Walk the supplied constraint to extract a list of the constraints that can be AND-ed together. |
Uses of Constraint in org.modeshape.graph.query.process |
---|
Fields in org.modeshape.graph.query.process with type parameters of type Constraint | |
---|---|
protected List<Constraint> |
AbstractAccessComponent.andedConstraints
|
Methods in org.modeshape.graph.query.process with parameters of type Constraint | |
---|---|
protected SelectComponent.ConstraintChecker |
SelectComponent.createChecker(TypeSystem types,
Schemata schemata,
QueryResults.Columns columns,
Constraint constraint,
Map<String,Object> variables,
SelectComponent.Analyzer analyzer)
Create the constraint evaluator that is used by the SelectComponent to evaluate the supplied criteria . |
static boolean |
QueryResultColumns.includeFullTextScores(Constraint constraint)
|
Method parameters in org.modeshape.graph.query.process with type arguments of type Constraint | |
---|---|
static boolean |
QueryResultColumns.includeFullTextScores(Iterable<Constraint> constraints)
|
Constructors in org.modeshape.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.modeshape.graph.request |
---|
Methods in org.modeshape.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.modeshape.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. |
Uses of Constraint in org.modeshape.search.lucene |
---|
Methods in org.modeshape.search.lucene with parameters of type Constraint | |
---|---|
org.apache.lucene.search.Query |
AbstractLuceneSearchEngine.AbstractLuceneProcessor.QueryFactory.createQuery(Constraint constraint)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |