## Uses of Interface
org.modeshape.jcr.query.model.Source

- Packages that use Source
  Package | Description
  --- | ---
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
  org.modeshape.jcr.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.jcr.query.plan | This package defines the `Planner` interface, the `CanonicalPlanner` implementation, and the `PlanNode` class that is used to represent a canonical query plan.

- - ### Uses of Source in org.modeshape.jcr.query

    Fields in org.modeshape.jcr.query declared as Source
    Modifier and Type | Field and Description
    --- | ---
    `protected Source` | QueryBuilder.`source`

  - ### Uses of Source in org.modeshape.jcr.query.model

    Methods in org.modeshape.jcr.query.model that return Source
    Modifier and Type | Method and Description
    --- | ---
    `Source` | Join.`getLeft()`
    `Source` | Join.`getRight()`
    `Source` | SelectQuery.`getSource()`
    `Source` | Query.`source()` Get the source for the results.

    Constructors in org.modeshape.jcr.query.model with parameters of type Source
    Constructor and Description
    `Join(Source left, JoinType type, Source right, JoinCondition joinCondition)` Create a join of the left and right sources, using the supplied join condition.
    `Query(Source source)` Create a new query that uses the supplied source.
    `Query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.
    `SelectQuery(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean isDistinct)` Create a new query that uses the supplied source, constraint, orderings, columns and limits.

  - ### Uses of Source in org.modeshape.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse that return Source
    Modifier and Type | Method and Description
    --- | ---
    `protected Source` | JcrSqlQueryParser.`parseFrom(TokenStream tokens, TypeSystem typeSystem)`
    `protected Source` | BasicSqlQueryParser.`parseFrom(TokenStream tokens, TypeSystem typeSystem)`
    `protected Source` | JcrSqlQueryParser.`rewrite(JcrSqlQueryParser.JoinableSources joinableSources)`

    Methods in org.modeshape.jcr.query.parse with parameters of type Source
    Modifier and Type | Method and Description
    --- | ---
    `protected SelectorName` | JcrSqlQueryParser.`getSelectorNameFor(Source source)`
    `protected Join` | BasicSqlQueryParser.`join(Source left, JoinType joinType, Source right, JoinCondition joinCondition)`
    `protected Constraint` | JcrSqlQueryParser.`parseConstraint(TokenStream tokens, TypeSystem typeSystem, Source source)` Parse a constraint clause.
    `protected Constraint` | BasicSqlQueryParser.`parseConstraint(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected DynamicOperand` | BasicSqlQueryParser.`parseDynamicOperand(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected List<Ordering>` | BasicSqlQueryParser.`parseOrderBy(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Ordering` | BasicSqlQueryParser.`parseOrdering(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Constraint` | JcrSqlQueryParser.`parsePropertyExistance(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Constraint` | BasicSqlQueryParser.`parsePropertyExistance(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected PropertyValue` | BasicSqlQueryParser.`parsePropertyValue(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected ReferenceValue` | BasicSqlQueryParser.`parseReferenceValue(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Constraint` | BasicSqlQueryParser.`parseWhere(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Query` | BasicSqlQueryParser.`query(Source source, Constraint constraint, List<? extends Ordering> orderings, List<? extends Column> columns, Limit limit, boolean distinct)`

  - ### Uses of Source in org.modeshape.jcr.query.plan

    Methods in org.modeshape.jcr.query.plan with parameters of type Source
    Modifier and Type | Method and Description
    --- | ---
    `protected PlanNode` | CanonicalPlanner.`createPlanNode(QueryContext context, Source source, Map<SelectorName,Schemata.Table> usedSelectors)` Create a JOIN or SOURCE node that contain the source information.

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