Package | Description |
---|---|
org.modeshape.jcr.index.lucene.query |
Modifier and Type | Field and Description |
---|---|
static CaseOperations.CaseOperation |
CaseOperations.AS_IS
The CaseOperation instance that leaves as is the string used within the indexes before being evaluated.
|
protected CaseOperations.CaseOperation |
CompareQuery.caseOperation |
static CaseOperations.CaseOperation |
CaseOperations.LOWERCASE
The CaseOperation instance that lowercases the string used within the indexes before being evaluated.
|
static CaseOperations.CaseOperation |
CaseOperations.UPPERCASE
The CaseOperation instance that uppercases the string used within the indexes before being evaluated.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
LuceneQueryFactory.createPropertyValueQuery(PropertyValue propertyValue,
Operator operator,
Object value,
CaseOperations.CaseOperation caseOperation) |
protected org.apache.lucene.search.Query |
LuceneQueryFactory.createQuery(DynamicOperand left,
Operator operator,
StaticOperand right,
CaseOperations.CaseOperation caseOperation) |
static org.apache.lucene.search.Query |
CompareStringQuery.createQueryForNodesWithFieldEqualTo(String constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is equal to the supplied
constraint value. |
static CompareStringQuery |
CompareStringQuery.createQueryForNodesWithFieldGreaterThan(String constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is greater than the supplied
constraint value. |
static CompareStringQuery |
CompareStringQuery.createQueryForNodesWithFieldGreaterThanOrEqualTo(String constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is greater than or equal to
the supplied constraint value. |
static CompareStringQuery |
CompareStringQuery.createQueryForNodesWithFieldLessThan(String constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is less than the supplied
constraint value. |
static CompareStringQuery |
CompareStringQuery.createQueryForNodesWithFieldLessThanOrEqualTo(String constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is less than or equal to the
supplied constraint value. |
static org.apache.lucene.search.Query |
CompareStringQuery.createQueryForNodesWithFieldLike(String likeExpression,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents with a string field value that is LIKE the supplied
constraint value, where the LIKE expression contains the SQL wildcard characters '%' and '_' or the regular expression
wildcard characters '*' and '?'. |
static org.apache.lucene.search.Query |
CompareNameQuery.createQueryForNodesWithNameEqualTo(Name constraintValue,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a name
that is greater than the supplied constraint name. |
static CompareNameQuery |
CompareNameQuery.createQueryForNodesWithNameGreaterThan(Name constraintValue,
String localNameField,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a name
that is greater than the supplied constraint name. |
static CompareNameQuery |
CompareNameQuery.createQueryForNodesWithNameGreaterThanOrEqualTo(Name constraintValue,
String localNameField,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a name
that is greater than or equal to the supplied constraint name. |
static CompareNameQuery |
CompareNameQuery.createQueryForNodesWithNameLessThan(Name constraintValue,
String localNameField,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a name
that is less than the supplied constraint name. |
static CompareNameQuery |
CompareNameQuery.createQueryForNodesWithNameLessThanOrEqualTo(Name constraintValue,
String localNameField,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a name
that is less than or equal to the supplied constraint name. |
static ComparePathQuery |
ComparePathQuery.createQueryForNodesWithPathGreaterThan(Path constraintPath,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a path
that is greater than the supplied constraint path. |
static ComparePathQuery |
ComparePathQuery.createQueryForNodesWithPathGreaterThanOrEqualTo(Path constraintPath,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a path
that is greater than or equal to the supplied constraint path. |
static ComparePathQuery |
ComparePathQuery.createQueryForNodesWithPathLessThan(Path constraintPath,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a path
that is less than the supplied constraint path. |
static ComparePathQuery |
ComparePathQuery.createQueryForNodesWithPathLessThanOrEqualTo(Path constraintPath,
String fieldName,
ValueFactories factories,
CaseOperations.CaseOperation caseOperation)
Construct a
Query implementation that scores documents such that the node represented by the document has a path
that is less than or equal to the supplied constraint path. |
protected org.apache.lucene.search.Query |
LuceneQueryFactory.decimalFieldQuery(String field,
Operator operator,
Object value,
CaseOperations.CaseOperation caseOperation) |
protected org.apache.lucene.search.Query |
LuceneQueryFactory.nameFieldQuery(String field,
Operator operator,
Object value,
CaseOperations.CaseOperation caseOperation) |
protected org.apache.lucene.search.Query |
LuceneQueryFactory.pathFieldQuery(String field,
Operator operator,
Object value,
CaseOperations.CaseOperation caseOperation) |
protected org.apache.lucene.search.Query |
LuceneQueryFactory.stringFieldQuery(String field,
Operator operator,
Object value,
CaseOperations.CaseOperation caseOperation) |
Constructor and Description |
---|
CompareNameQuery(String field,
Name constraintValue,
ValueFactory<Name> nameFactory,
ValueFactory<String> stringFactory,
CompareQuery.Evaluator<Name> 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,
CaseOperations.CaseOperation caseOperation)
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–2016 JBoss, a division of Red Hat. All rights reserved.