## Uses of Class
org.modeshape.jcr.api.query.qom.Operator

- Packages that use Operator
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.api.query.qom |
  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.validate | This package provides the interfaces that define the tables and columns that can be queried.
  org.modeshape.jcr.query.xpath | The components used to parse JCR XPath queries and translate them into equivalent JCR-SQL2 queries.

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

    Methods in org.modeshape.jcr that return types with arguments of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `protected Set<Operator>` | NodeTypeSchemata.`operatorsFor(org.modeshape.jcr.JcrPropertyDefinition defn)`

  - ### Uses of Operator in org.modeshape.jcr.api.query.qom

    Methods in org.modeshape.jcr.api.query.qom that return Operator
    Modifier and Type | Method and Description
    --- | ---
    `static Operator` | Operator.`forSymbol(String symbol)` Attempt to find the Operator given a symbol.
    `Operator` | Operator.`not()` Get the NOT of this operator.
    `Operator` | Operator.`reverse()` Get the equivalent operator if the operands are to be reversed.
    `static Operator` | Operator.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Operator[]` | Operator.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

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

    Fields in org.modeshape.jcr.query declared as Operator
    Modifier and Type | Field and Description
    --- | ---
    `protected Operator` | QueryBuilder.RightHandSide.`operator`

    Methods in org.modeshape.jcr.query with parameters of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `QueryBuilder.RightHandSide` | QueryBuilder.ComparisonBuilder.`is(Operator operator)` Define the operator that will be used in the comparison, returning an interface that can be used to define the right-hand-side of the comparison.
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.ComparisonBuilder.`is(Operator operator, Object literalOrSubquery)` Define the right-hand-side of the constraint using the supplied operator.
    `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.`is(Operator operator, Subquery subquery)` Define the right-hand-side of the constraint using the supplied operator.
    `QueryBuilder.ConstraintBuilder` | QueryBuilder.ComparisonBuilder.`isVariable(Operator operator, String variableName)` Define the right-hand-side of the constraint using the supplied operator.

    Constructors in org.modeshape.jcr.query with parameters of type Operator
    Constructor and Description
    `QueryBuilder.RightHandSide(QueryBuilder.ComparisonBuilder comparisonBuilder, Operator operator)`

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

    Methods in org.modeshape.jcr.query.model that return Operator
    Modifier and Type | Method and Description
    --- | ---
    `Operator` | Comparison.`operator()` Get the operator for this comparison

    Constructors in org.modeshape.jcr.query.model with parameters of type Operator
    Constructor and Description
    `Comparison(DynamicOperand operand1, Operator operator, StaticOperand operand2)`

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

    Methods in org.modeshape.jcr.query.parse that return Operator
    Modifier and Type | Method and Description
    --- | ---
    `protected Operator` | BasicSqlQueryParser.`parseComparisonOperator(TokenStream tokens)`

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

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

    Fields in org.modeshape.jcr.query.validate with type parameters of type Operator
    Modifier and Type | Field and Description
    --- | ---
    `static Set<Operator>` | ImmutableColumn.`ALL_OPERATORS`
    `static Set<Operator>` | ImmutableColumn.`NO_OPERATORS`

    Methods in org.modeshape.jcr.query.validate that return types with arguments of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `Set<Operator>` | Schemata.Column.`getOperators()` Get the set of operators that can be used in a comparison involving this column.
    `Set<Operator>` | ImmutableColumn.`getOperators()`
    `protected Set<Operator>` | ImmutableSchemata.Builder.`operators(SelectorName tableName, String columnName, Set<Operator> defaultOperators)`

    Methods in org.modeshape.jcr.query.validate with parameters of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | Validator.`verifyComparison(DynamicOperand operand, Operator op, StaticOperand rhs)`
    `protected void` | Validator.`verifyOperator(SelectorName selectorName, String propertyName, Operator op)`

    Method parameters in org.modeshape.jcr.query.validate with type arguments of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `ImmutableSchemata.Builder` | ImmutableSchemata.Builder.`addColumn(String tableName, String columnName, String type, PropertyType requiredType, boolean fullTextSearchable, boolean orderable, Object minimum, Object maximum, Set<Operator> operations)` Add a column with the supplied name and type to the named table.
    `ImmutableSchemata.Builder` | ImmutableSchemata.Builder.`markOperators(String tableName, String columnName, Set<Operator> operators)` Record the operators that are allowed for the named column on the named table.
    `protected Set<Operator>` | ImmutableSchemata.Builder.`operators(SelectorName tableName, String columnName, Set<Operator> defaultOperators)`

    Constructors in org.modeshape.jcr.query.validate with parameters of type Operator
    Constructor and Description
    `ImmutableColumn(String name, String type, PropertyType requiredType, boolean fullTextSearchable, boolean orderable, boolean canContainReferences, Object minimum, Object maximum, Operator... operators)`

    Constructor parameters in org.modeshape.jcr.query.validate with type arguments of type Operator
    Constructor and Description
    `ImmutableColumn(String name, String type, PropertyType requiredType, boolean fullTextSearchable, boolean orderable, Object minimum, Object maximum, Set<Operator> operators)`

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

    Methods in org.modeshape.jcr.query.xpath that return Operator
    Modifier and Type | Method and Description
    --- | ---
    `Operator` | XPath.Comparison.`getOperator()`
    `protected Operator` | XPathParser.`parseGeneralComp(TokenStream tokens)`

    Constructors in org.modeshape.jcr.query.xpath with parameters of type Operator
    Constructor and Description
    `XPath.Comparison(XPath.Component left, Operator operator, XPath.Component right)`

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