## Uses of Interface
org.modeshape.jcr.query.lucene.CompareQuery.Evaluator

- Packages that use CompareQuery.Evaluator
  Package | Description
  --- | ---
  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.

- - ### Uses of CompareQuery.Evaluator in org.modeshape.jcr.query.lucene

    Fields in org.modeshape.jcr.query.lucene declared as CompareQuery.Evaluator
    Modifier and Type | Field and Description
    --- | ---
    `protected static CompareQuery.Evaluator<String>` | CompareStringQuery.`EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`EQUAL_TO`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`EQUAL_TO_NO_SNS`
    `protected CompareQuery.Evaluator<ValueType>` | CompareQuery.`evaluator`
    `protected static CompareQuery.Evaluator<String>` | CompareStringQuery.`IS_GREATER_THAN`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_GREATER_THAN`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`IS_GREATER_THAN`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_GREATER_THAN_NO_SNS`
    `protected static CompareQuery.Evaluator<String>` | CompareStringQuery.`IS_GREATER_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_GREATER_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`IS_GREATER_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_GREATER_THAN_OR_EQUAL_TO_NO_SNS`
    `protected static CompareQuery.Evaluator<String>` | CompareStringQuery.`IS_LESS_THAN`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_LESS_THAN`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`IS_LESS_THAN`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_LESS_THAN_NO_SNS`
    `protected static CompareQuery.Evaluator<String>` | CompareStringQuery.`IS_LESS_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_LESS_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`IS_LESS_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path.Segment>` | CompareNameQuery.`IS_LESS_THAN_OR_EQUAL_TO_NO_SNS`
    `protected static CompareQuery.Evaluator<Long>` | CompareLengthQuery.`NOT_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path>` | ComparePathQuery.`PATH_IS_GREATER_THAN`
    `protected static CompareQuery.Evaluator<Path>` | ComparePathQuery.`PATH_IS_GREATER_THAN_OR_EQUAL_TO`
    `protected static CompareQuery.Evaluator<Path>` | ComparePathQuery.`PATH_IS_LESS_THAN`
    `protected static CompareQuery.Evaluator<Path>` | ComparePathQuery.`PATH_IS_LESS_THAN_OR_EQUAL_TO`

    Constructors in org.modeshape.jcr.query.lucene with parameters of type CompareQuery.Evaluator
    Constructor and Description
    `CompareLengthQuery(String fieldName, Long constraintValue, ValueFactory<String> stringFactory, CompareQuery.Evaluator<Long> evaluator)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareNameQuery(String localNameField, String snsIndexFieldName, Path.Segment constraintValue, PathFactory pathFactory, ValueFactory<String> stringFactory, ValueFactory<Long> longFactory, CompareQuery.Evaluator<Path.Segment> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `ComparePathQuery(String fieldName, Path constraintPath, ValueFactory<Path> pathFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<Path> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator, org.apache.lucene.document.FieldSelector fieldSelector)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareStringQuery(String fieldName, String constraintValue, ValueFactory<String> valueFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<String> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.

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