public final class IndexQueryFactoryImpl extends Object implements org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>
| Constructor and Description |
|---|
IndexQueryFactoryImpl(Map<String,Index> indexMap,
org.forgerock.opendj.ldap.spi.IndexingOptions indexingOptions,
AttributeType attribute)
Creates a new IndexQueryFactoryImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
IndexQuery |
createExactMatchQuery(String indexID,
org.forgerock.opendj.ldap.ByteSequence value) |
IndexQuery |
createIntersectionQuery(Collection<IndexQuery> subqueries) |
IndexQuery |
createMatchAllQuery() |
IndexQuery |
createRangeMatchQuery(String indexID,
org.forgerock.opendj.ldap.ByteSequence lowerBound,
org.forgerock.opendj.ldap.ByteSequence upperBound,
boolean includeLowerBound,
boolean includeUpperBound) |
IndexQuery |
createUnionQuery(Collection<IndexQuery> subqueries) |
org.forgerock.opendj.ldap.spi.IndexingOptions |
getIndexingOptions() |
public IndexQueryFactoryImpl(Map<String,Index> indexMap, org.forgerock.opendj.ldap.spi.IndexingOptions indexingOptions, AttributeType attribute)
indexMap - A map containing the index id and the corresponding index.indexingOptions - The options to use for indexingattribute - The Attribute type of this index, for error messagespublic IndexQuery createExactMatchQuery(String indexID, org.forgerock.opendj.ldap.ByteSequence value)
createExactMatchQuery in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>public IndexQuery createRangeMatchQuery(String indexID, org.forgerock.opendj.ldap.ByteSequence lowerBound, org.forgerock.opendj.ldap.ByteSequence upperBound, boolean includeLowerBound, boolean includeUpperBound)
createRangeMatchQuery in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>public IndexQuery createIntersectionQuery(Collection<IndexQuery> subqueries)
createIntersectionQuery in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>public IndexQuery createUnionQuery(Collection<IndexQuery> subqueries)
createUnionQuery in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>public IndexQuery createMatchAllQuery()
It returns an empty EntryIDSet object when either all or no record sets are requested.
createMatchAllQuery in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>public org.forgerock.opendj.ldap.spi.IndexingOptions getIndexingOptions()
getIndexingOptions in interface org.forgerock.opendj.ldap.spi.IndexQueryFactory<IndexQuery>Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.