## 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.lucene | The core query engine, which currently uses Lucene for indexing and raw queries, and the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA) for updating and querying the Lucene indexes.
  org.modeshape.jcr.query.lucene.basic | The "basic" `Lucene schema` has a single index in which all node and property information are indexed into separate fields.
  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.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.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.`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.lucene

    Methods in org.modeshape.jcr.query.lucene with parameters of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.lucene.search.Query` | LuceneQueryFactory.`createQuery(SelectorName selectorName, DynamicOperand left, Operator operator, StaticOperand right)`
    `protected org.apache.lucene.search.Query` | LuceneQueryFactory.`createQuery(SelectorName selectorName, DynamicOperand left, Operator operator, StaticOperand right, CaseOperations.CaseOperation caseOperation)` Create a comparison query
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, Length propertyLength, Operator operator, Object value)` Create a query that finds documents with fields whose lengths fit the supplied operator/value criteria.
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeDepth depthConstraint, Operator operator, Object value)`
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeLocalName nodeName, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeName nodeName, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodePath nodePath, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, PropertyValue propertyValue, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)` Create a query that finds documents with fields whose values fit the supplied operator/value criteria.
    `protected abstract org.apache.lucene.search.Query` | LuceneQueryFactory.`findNodesWith(SelectorName selectorName, ReferenceValue referenceValue, Operator operator, Object value)` Create a query that finds documents with fields that are references that fit the supplied operator/value criteria.

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

    Methods in org.modeshape.jcr.query.lucene.basic with parameters of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, Length propertyLength, Operator operator, Object value)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeDepth depthConstraint, Operator operator, Object value)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeLocalName nodeName, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodeName nodeName, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, NodePath nodePath, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, PropertyValue propertyValue, Operator operator, Object value, CaseOperations.CaseOperation caseOperation)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, PropertyValue propertyValue, Operator operator, Object value, CaseOperations.CaseOperation caseOperation, PropertyType valueType, Schemata.Column metadata)`
    `protected org.apache.lucene.search.Query` | BasicLuceneQueryFactory.`findNodesWith(SelectorName selectorName, ReferenceValue referenceValue, Operator operator, Object value)`

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

    Methods in org.modeshape.jcr.query.process with parameters of type Operator
    Modifier and Type | Method and Description
    --- | ---
    `protected SelectComponent.ConstraintChecker` | SelectComponent.`createChecker(TypeSystem types, Schemata schemata, QueryResults.Columns columns, ProcessingComponent.DynamicOperation dynamicOperation, Operator operator, StaticOperand staticOperand)`

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