## Uses of Class
org.modeshape.jcr.query.model.Comparison

- Packages that use Comparison
  Package | Description
  --- | ---
  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.optimize | This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules.
  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.validate | This package provides the interfaces that define the tables and columns that can be queried.
  org.modeshape.jcr.spi.index.provider | This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate how ModeShape updates and uses a set of particular indexes.

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

    Methods in org.modeshape.jcr.query.model that return Comparison
    Modifier and Type | Method and Description
    --- | ---
    `Comparison` | QueryObjectModelFactory.`comparison(DynamicOperand operand1, String operator, StaticOperand operand2)`

    Methods in org.modeshape.jcr.query.model with parameters of type Comparison
    Modifier and Type | Method and Description
    --- | ---
    `void` | Visitors.AbstractVisitor.`visit(Comparison obj)`
    `void` | Visitors.WalkAllVisitor.`visit(Comparison comparison)`
    `void` | Visitors.ReadableVisitor.`visit(Comparison comparison)`
    `void` | Visitor.`visit(Comparison obj)`

  - ### Uses of Comparison in org.modeshape.jcr.query.optimize

    Methods in org.modeshape.jcr.query.optimize that return Comparison
    Modifier and Type | Method and Description
    --- | ---
    `protected Comparison` | RewriteAsRangeCriteria.`getComparison(QueryContext context, Comparison comparison1, Comparison comparison2, boolean smallest)` Get the comparison with the smallest (or largest) value.

    Methods in org.modeshape.jcr.query.optimize with parameters of type Comparison
    Modifier and Type | Method and Description
    --- | ---
    `protected int` | RewriteAsRangeCriteria.`compareStaticOperands(QueryContext context, Comparison comparison1, Comparison comparison2)` Compare the values used in the two comparisons
    `protected Comparison` | RewriteAsRangeCriteria.`getComparison(QueryContext context, Comparison comparison1, Comparison comparison2, boolean smallest)` Get the comparison with the smallest (or largest) value.
    `protected void` | RewriteAsRangeCriteria.`nullReference(List<Comparison> comparisons, Comparison comparisonToNull)` Find all occurrences of the comparison object in the supplied list and null the list's reference to it.

    Method parameters in org.modeshape.jcr.query.optimize with type arguments of type Comparison
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RewriteAsRangeCriteria.`nullReference(List<Comparison> comparisons, Comparison comparisonToNull)` Find all occurrences of the comparison object in the supplied list and null the list's reference to it.
    `protected void` | RewriteAsRangeCriteria.`nullReference(List<Comparison> comparisons, Iterable<Comparison> comparisonsToNull)` Find all references in the supplied list that match those supplied and set them to null.
    `protected void` | RewriteAsRangeCriteria.`nullReference(List<Comparison> comparisons, Iterable<Comparison> comparisonsToNull)` Find all references in the supplied list that match those supplied and set them to null.
    `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 Comparison in org.modeshape.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse that return Comparison
    Modifier and Type | Method and Description
    --- | ---
    `protected Comparison` | BasicSqlQueryParser.`comparison(DynamicOperand left, Operator operator, StaticOperand right)`

  - ### Uses of Comparison in org.modeshape.jcr.query.validate

    Methods in org.modeshape.jcr.query.validate with parameters of type Comparison
    Modifier and Type | Method and Description
    --- | ---
    `void` | Validator.`visit(Comparison obj)`

  - ### Uses of Comparison in org.modeshape.jcr.spi.index.provider

    Methods in org.modeshape.jcr.spi.index.provider with parameters of type Comparison
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | IndexUsage.`indexAppliesTo(Comparison constraint)`

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