## Uses of Class
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.engine | This package contains several fully-functional query engine implementations.
  org.modeshape.jcr.query.engine.process | When executing a query, the processing phase involves "running" each branch in the optimized query plan, determining the set of nodes that satisfies each branch, and then joining each branch into a single result.
  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.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()`

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

    Subclasses of TypeSystem in org.modeshape.jcr.query
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JcrTypeSystem`

    Fields in org.modeshape.jcr.query declared as TypeSystem
    Modifier and Type | Field and Description
    --- | ---
    `protected TypeSystem` | QueryContext.`typeSystem`
    `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.

    Methods in org.modeshape.jcr.query with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractFullText(int indexInRow, NodeCache cache, Name propertyName, TypeSystem types, BinaryStore binaries)` Obtain a new `RowExtractors.ExtractFromRow` instance that will extract the full text for a single property of a node.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractFullText(int indexInRow, NodeCache cache, TypeSystem types, BinaryStore binaries)` Obtain a new `RowExtractors.ExtractFromRow` instance that will extract the full text for a node.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractLocalName(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the name from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractName(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the name from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractNodeKey(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the `NodeKey` from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractParentNodeKey(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the parent's `NodeKey` from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractParentPath(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the parent path from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractPath(int indexInRow, NodeCache cache, TypeSystem types)` Create an extractor that extracts the path from the node at the given position in the row.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractRelativePath(int indexInRow, Path relativePath, NodeCache cache, TypeSystem types)` Create an extractor that extracts the path from the node at the given position in the row and applies the relative path.
    `static RowExtractors.ExtractFromRow` | RowExtractors.`extractUniqueKey(int rowWidth, TypeSystem types)` Create an extractor that extracts an object that uniquely identifies the row.

    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.engine

    Methods in org.modeshape.jcr.query.engine with parameters of type TypeSystem
    Modifier and Type | Method and Description
    --- | ---
    `String` | Results.`toString(TypeSystem typeSystem, int maxTuples)` Get a string representation of this result object, with a maximum number of tuples to include.
    `void` | Results.`toString(TypeSystem typeSystem, StringBuilder sb)` Get a string representation of this result object.
    `void` | Results.`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.engine.process

    Constructors in org.modeshape.jcr.query.engine.process with parameters of type TypeSystem
    Constructor and Description
    `AbstractNodeKeysSequence(String workspaceName, NodeSequence leftSequence, NodeSequence rightSequence, TypeSystem types, BufferManager bufferMgr, CachedNodeSupplier nodeCache, boolean pack, boolean useHeap)`
    `DistinctSequence(NodeSequence delegate, TypeSystem types, BufferManager bufferMgr, boolean useHeap)` Create a new distinct sequence given the type system and buffer manager.
    `ExceptSequence(String workspaceName, NodeSequence leftSequence, NodeSequence rightSequence, TypeSystem types, BufferManager bufferMgr, CachedNodeSupplier nodeCache, boolean pack, boolean useHeap)`
    `IntersectSequence(String workspaceName, NodeSequence leftSequence, NodeSequence rightSequence, TypeSystem types, BufferManager bufferMgr, CachedNodeSupplier nodeCache, boolean pack, boolean useHeap)`

  - ### 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.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

    Subclasses of TypeSystem in org.modeshape.jcr.value
    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.