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

- Packages that use TypeSystem
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  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.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.jcr.query.xpath | The components used to parse JCR XPath queries and translate them into equivalent JCR-SQL2 queries.
  org.modeshape.jcr.value | Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values.

- - ### Uses of TypeSystem in org.modeshape.jcr

    Methods in org.modeshape.jcr that return TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem` | ExecutionContext.ContextFactories.`getTypeSystem()`

    Methods in org.modeshape.jcr with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | NodeTypeSchemata.`addIndexRule(IndexRules.Builder builder, org.modeshape.jcr.JcrPropertyDefinition defn, String type, TypeSystem typeSystem, boolean canBeReference, boolean isStrongReference)` Add an index rule for the given property definition and the type in the `TypeSystem`.

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

    Subinterfaces of TypeSystem in org.modeshape.jcr.query
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `JcrTypeSystem`

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

    Methods in org.modeshape.jcr.query that return TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem` | QueryContext.`getTypeSystem()` Get the interface for working with literal values and types.

    Constructors in org.modeshape.jcr.query with parameters of type TypeSystem
    Constructor and Description
    `QueryBuilder(TypeSystem context)` Create a new builder that uses the supplied execution context.

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

    Methods in org.modeshape.jcr.query.parse with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `protected LiteralValue` | JcrSql2QueryParser.`literal(TypeSystem typeSystem, Object value)`
    `protected Literal` | BasicSqlQueryParser.`literal(TypeSystem typeSystem, Object value)`
    `QueryCommand` | QueryParsers.`parse(TypeSystem typeSystem, String language, String query)` Execute the supplied query by planning, optimizing, and then processing it.
    `protected BindVariableName` | BasicSqlQueryParser.`parseBindVariableName(TokenStream tokens, TypeSystem typeSystem)`
    `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 Source` | JcrSqlQueryParser.`parseFrom(TokenStream tokens, TypeSystem typeSystem)`
    `protected Source` | BasicSqlQueryParser.`parseFrom(TokenStream tokens, TypeSystem typeSystem)`
    `protected List<StaticOperand>` | BasicSqlQueryParser.`parseInClause(TokenStream tokens, TypeSystem typeSystem)`
    `protected JoinCondition` | BasicSqlQueryParser.`parseJoinCondition(TokenStream tokens, TypeSystem typeSystem)`
    `protected Literal` | BasicSqlQueryParser.`parseLiteral(TokenStream tokens, TypeSystem typeSystem)`
    `protected Object` | JcrSqlQueryParser.`parseLiteralValue(TokenStream tokens, TypeSystem typeSystem)`
    `protected Object` | BasicSqlQueryParser.`parseLiteralValue(TokenStream tokens, TypeSystem typeSystem)`
    `protected String` | BasicSqlQueryParser.`parseName(String token, TypeSystem typeSystem, Position position)`
    `protected String` | JcrSqlQueryParser.`parseName(TokenStream tokens, TypeSystem typeSystem)` Parsing behavior is overridden to that JCR-SQL style (unquoted prefixed) names are allowed.
    `protected String` | BasicSqlQueryParser.`parseName(TokenStream tokens, TypeSystem typeSystem)`
    `protected NamedSelector` | BasicSqlQueryParser.`parseNamedSelector(TokenStream tokens, TypeSystem typeSystem)`
    `protected List<Ordering>` | BasicSqlQueryParser.`parseOrderBy(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected Ordering` | BasicSqlQueryParser.`parseOrdering(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected String` | BasicSqlQueryParser.`parsePath(TokenStream tokens, TypeSystem typeSystem)`
    `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)`
    `QueryCommand` | QueryParser.`parseQuery(String query, TypeSystem typeSystem)` Parse the supplied query from a string representation into a `QueryCommand`.
    `QueryCommand` | FullTextSearchParser.`parseQuery(String query, TypeSystem typeSystem)`
    `QueryCommand` | BasicSqlQueryParser.`parseQuery(String query, TypeSystem typeSystem)`
    `protected Query` | JcrSqlQueryParser.`parseQuery(TokenStream tokens, TypeSystem typeSystem)`
    `protected Query` | BasicSqlQueryParser.`parseQuery(TokenStream tokens, TypeSystem typeSystem)`
    `protected QueryCommand` | BasicSqlQueryParser.`parseQueryCommand(TokenStream tokens, TypeSystem typeSystem)`
    `protected ReferenceValue` | BasicSqlQueryParser.`parseReferenceValue(TokenStream tokens, TypeSystem typeSystem, Source source)`
    `protected List<org.modeshape.jcr.query.parse.ColumnExpression>` | BasicSqlQueryParser.`parseSelect(TokenStream tokens, AtomicBoolean isDistinct, TypeSystem typeSystem)`
    `protected SelectorName` | BasicSqlQueryParser.`parseSelectorName(TokenStream tokens, TypeSystem typeSystem)`
    `protected SetQuery` | BasicSqlQueryParser.`parseSetQuery(TokenStream tokens, QueryCommand leftHandSide, TypeSystem typeSystem)`
    `protected StaticOperand` | BasicSqlQueryParser.`parseStaticOperand(TokenStream tokens, TypeSystem typeSystem)`
    `protected Constraint` | BasicSqlQueryParser.`parseWhere(TokenStream tokens, TypeSystem typeSystem, Source source)`

  - ### Uses of TypeSystem in org.modeshape.jcr.query.process

    Methods in org.modeshape.jcr.query.process with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `protected SelectComponent.ConstraintChecker` | SelectComponent.`createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, Constraint constraint, Map<String,Object> variables)` Create the constraint evaluator that is used by the `SelectComponent` to evaluate the supplied `criteria`.
    `protected SelectComponent.ConstraintChecker` | SelectComponent.`createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, ProcessingComponent.DynamicOperation dynamicOperation, Operator operator, StaticOperand staticOperand)`
    `protected ProcessingComponent.DynamicOperation` | ProcessingComponent.`createDynamicOperation(TypeSystem typeSystem, Schemata schemata, QueryResults.Columns columns, DynamicOperand operand)` Create a `ProcessingComponent.DynamicOperation` instance that is able to evaluate the supplied `DynamicOperand`.
    `protected int[]` | QueryResults.`determineColumnWidths(TypeSystem typeSystem, int maxWidth, boolean useData)` Determine the width of each column.
    `protected void` | QueryResults.`printLines(TypeSystem typeSystem, StringBuilder sb, int[] columnWidths, int maxRowsToPrint)`
    `protected String` | QueryResults.`stringOf(TypeSystem typeSystem, Object value)`
    `String` | QueryResults.`toString(TypeSystem typeSystem, int maxTuples)` Get a string representation of this result object, with a maximum number of tuples to include.
    `void` | QueryResults.`toString(TypeSystem typeSystem, StringBuilder sb)` Get a string representation of this result object.
    `void` | QueryResults.`toString(TypeSystem typeSystem, StringBuilder sb, int maxTuples)` Get a string representation of this result object, with a maximum number of tuples to include.

  - ### Uses of TypeSystem in org.modeshape.jcr.query.xpath

    Methods in org.modeshape.jcr.query.xpath with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `QueryCommand` | XPathQueryParser.`parseQuery(String query, TypeSystem typeSystem)`

    Constructors in org.modeshape.jcr.query.xpath with parameters of type TypeSystem
    Constructor and Description
    `XPathParser(TypeSystem context)`
    `XPathToQueryTranslator(TypeSystem context, String query)`

  - ### Uses of TypeSystem in org.modeshape.jcr.value

    Classes in org.modeshape.jcr.value that implement TypeSystem
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ValueTypeSystem`

    Methods in org.modeshape.jcr.value that return TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `TypeSystem` | ValueFactories.`getTypeSystem()` Get the type system associated with these factories.

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