Uses of Interface
org.modeshape.graph.query.model.QueryCommand

Packages that use QueryCommand
org.modeshape.graph The ModeShape Graph API defines the types that allow you to work with content organized as a graph. 
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.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.query.validate This package provides the interfaces that define the tables and columns that can be queried. 
org.modeshape.jcr.query   
org.modeshape.jcr.query.qom   
 

Uses of QueryCommand in org.modeshape.graph
 

Methods in org.modeshape.graph with parameters of type QueryCommand
 Graph.BuildQuery Graph.query(QueryCommand query, Schemata schemata)
          Query the current workspace using the supplied Schemata.
 

Uses of QueryCommand in org.modeshape.graph.query
 

Fields in org.modeshape.graph.query declared as QueryCommand
protected  QueryCommand QueryBuilder.firstQuery
           
 

Methods in org.modeshape.graph.query that return QueryCommand
 QueryCommand QueryBuilder.query()
          Return a QueryCommand representing the currently-built query.
 

Methods in org.modeshape.graph.query with parameters of type QueryCommand
 QueryResults Queryable.execute(QueryContext context, QueryCommand query)
          Execute the supplied query by planning, optimizing, and then processing it.
 QueryResults QueryEngine.execute(QueryContext context, QueryCommand query)
          Execute the supplied query by planning, optimizing, and then processing it.
 QueryBuilder.ConstraintBuilder QueryBuilder.ComparisonBuilder.is(Operator operator, QueryCommand subquery)
          Define the right-hand-side of the constraint using the supplied operator.
 QueryBuilder.ConstraintBuilder QueryBuilder.ComparisonBuilder.isInSubquery(QueryCommand subquery)
           
 QueryBuilder.ConstraintBuilder QueryBuilder.RightHandSide.literal(QueryCommand subquery)
          Define the right-hand side of a comparison.
 QueryBuilder.ConstraintBuilder QueryBuilder.UpperBoundary.subquery(QueryCommand subquery)
          Define the upper boundary value of a range.
 QueryBuilder.AndBuilder<QueryBuilder.UpperBoundary> QueryBuilder.LowerBoundary.subquery(QueryCommand subquery)
          Define the lower boundary value of a range.
 

Uses of QueryCommand in org.modeshape.graph.query.model
 

Classes in org.modeshape.graph.query.model that implement QueryCommand
 class Query
           
 class SetQuery
          This object acts as a Set operator on multiple queries, such as performing UNION, INTERSECT, and EXCEPT operations.
 

Methods in org.modeshape.graph.query.model that return QueryCommand
 QueryCommand SetQuery.left()
          Get the left-hand query.
 QueryCommand Subquery.query()
          Get the query representing the subquery.
 QueryCommand SetQuery.right()
          Get the right-hand query.
 QueryCommand QueryCommand.withLimit(int rowLimit)
          Create a copy of this query, but one that uses the supplied limit on the number of result rows.
 QueryCommand QueryCommand.withOffset(int offset)
          Create a copy of this query, but one that uses the supplied offset.
 

Constructors in org.modeshape.graph.query.model with parameters of type QueryCommand
SetQuery(QueryCommand left, SetQuery.Operation operation, QueryCommand right, boolean all)
          Create a set query involving the supplied left- and right-hand-side queries.
SetQuery(QueryCommand left, SetQuery.Operation operation, QueryCommand right, boolean all, List<? extends Ordering> orderings, Limit limit)
          Create a set query involving the supplied left- and right-hand-side queries.
Subquery(QueryCommand query)
          Create a new subquery component that uses the supplied query as the subquery expression.
 

Uses of QueryCommand in org.modeshape.graph.query.parse
 

Methods in org.modeshape.graph.query.parse that return QueryCommand
 QueryCommand QueryParsers.parse(TypeSystem typeSystem, String language, String query)
          Execute the supplied query by planning, optimizing, and then processing it.
 QueryCommand SqlQueryParser.parseQuery(String query, TypeSystem typeSystem)
          Parse the supplied query from a string representation into a QueryCommand.
 QueryCommand QueryParser.parseQuery(String query, TypeSystem typeSystem)
          Parse the supplied query from a string representation into a QueryCommand.
protected  QueryCommand SqlQueryParser.parseQueryCommand(TokenStream tokens, TypeSystem typeSystem)
           
 

Methods in org.modeshape.graph.query.parse with parameters of type QueryCommand
protected  SetQuery SqlQueryParser.parseSetQuery(TokenStream tokens, QueryCommand leftHandSide, TypeSystem typeSystem)
           
protected  SetQuery SqlQueryParser.setQuery(QueryCommand leftQuery, SetQuery.Operation operation, QueryCommand rightQuery, boolean all)
           
protected  Subquery SqlQueryParser.subquery(QueryCommand queryCommand)
           
 

Uses of QueryCommand in org.modeshape.graph.query.plan
 

Methods in org.modeshape.graph.query.plan with parameters of type QueryCommand
 PlanNode Planner.createPlan(QueryContext context, QueryCommand query)
          Create a canonical query plan for the given command.
 PlanNode CanonicalPlanner.createPlan(QueryContext context, QueryCommand query)
          Create a canonical query plan for the given command.
protected  void CanonicalPlanner.validate(QueryContext context, QueryCommand query, Map<SelectorName,Schemata.Table> usedSelectors)
          Validate the supplied query.
 

Uses of QueryCommand in org.modeshape.graph.query.process
 

Methods in org.modeshape.graph.query.process with parameters of type QueryCommand
protected abstract  ProcessingComponent QueryProcessor.createAccessComponent(QueryCommand originalQuery, QueryContext context, PlanNode accessNode, QueryResults.Columns resultColumns, SelectComponent.Analyzer analyzer)
          Create the ProcessingComponent that processes a single PlanNode.Type.ACCESS branch of a query plan.
protected  ProcessingComponent QueryProcessor.createComponent(QueryCommand originalQuery, QueryContext context, PlanNode node, QueryResults.Columns columns, SelectComponent.Analyzer analyzer)
          Method that is called to build up the ProcessingComponent objects that correspond to the optimized query plan.
 QueryResults QueryProcessor.execute(QueryContext context, QueryCommand command, QueryResults.Statistics statistics, PlanNode plan)
          Process the supplied query plan for the given command and return the results.
 QueryResults Processor.execute(QueryContext context, QueryCommand command, QueryResults.Statistics statistics, PlanNode plan)
          Process the supplied query plan for the given command and return the results.
 

Uses of QueryCommand in org.modeshape.graph.query.validate
 

Methods in org.modeshape.graph.query.validate that return QueryCommand
 QueryCommand Schemata.View.getDefinition()
          Get the query that is the definition of the view.
 

Methods in org.modeshape.graph.query.validate with parameters of type QueryCommand
 ImmutableSchemata.Builder ImmutableSchemata.Builder.addView(String name, QueryCommand definition)
          Add a view with the supplied name and definition.
 

Uses of QueryCommand in org.modeshape.jcr.query
 

Methods in org.modeshape.jcr.query that return QueryCommand
 QueryCommand JcrQuery.getAbstractQueryModel()
          Get the underlying and immutable Abstract Query Model representation of this query.
protected  QueryCommand JcrQuery.query()
           
 

Methods in org.modeshape.jcr.query with parameters of type QueryCommand
 QueryResults JcrQueryContext.execute(QueryCommand query, PlanHints hints, Map<String,Object> variables)
           
protected  SetQuery JcrSql2QueryParser.parseSetQuery(TokenStream tokens, QueryCommand leftHandSide, TypeSystem typeSystem)
          
protected  JcrSetQuery JcrSql2QueryParser.setQuery(QueryCommand leftQuery, SetQuery.Operation operation, QueryCommand rightQuery, boolean all)
          
protected  Subquery JcrSql2QueryParser.subquery(QueryCommand queryCommand)
          
 

Constructors in org.modeshape.jcr.query with parameters of type QueryCommand
JcrQuery(JcrQueryContext context, String statement, String language, QueryCommand query, PlanHints hints, Path storedAtPath)
          Creates a new JCR Query by specifying the query statement itself, the language in which the query is stated, the QueryCommand representation and, optionally, the node from which the query was loaded.
 

Uses of QueryCommand in org.modeshape.jcr.query.qom
 

Subinterfaces of QueryCommand in org.modeshape.jcr.query.qom
 interface JcrQueryCommand
          Representation of an abstract query command the Graph API and extension to the JCR API.
 

Classes in org.modeshape.jcr.query.qom that implement QueryCommand
 class JcrSelectQuery
           
 class JcrSetQuery
           
 



Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.