| | |
| | | */ |
| | | package org.opends.server.backends.pluggable; |
| | | |
| | | import static org.opends.messages.JebMessages.*; |
| | | |
| | | import java.util.Collection; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessageBuilder; |
| | |
| | | import org.forgerock.opendj.ldap.spi.IndexingOptions; |
| | | import org.opends.server.backends.pluggable.spi.ReadableStorage; |
| | | |
| | | import static org.opends.messages.JebMessages.*; |
| | | |
| | | /** |
| | | * This class is an implementation of IndexQueryFactory which creates |
| | | * IndexQuery objects as part of the query of the JEB index. |
| | |
| | | } |
| | | return entrySet; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() |
| | | { |
| | | return "ExactMatch(" + indexID + "=" + key + ")"; |
| | | } |
| | | }; |
| | | } |
| | | |
| | |
| | | } |
| | | return entrySet; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() |
| | | { |
| | | final StringBuilder sb = new StringBuilder("RangeMatch("); |
| | | sb.append(lowerBound).append(" "); |
| | | sb.append(includeLowerBound ? "<=" : "<").append(" "); |
| | | sb.append(indexID).append(" "); |
| | | sb.append(includeUpperBound ? ">=" : ">").append(" "); |
| | | sb.append(upperBound); |
| | | sb.append(")"); |
| | | return sb.toString(); |
| | | } |
| | | }; |
| | | } |
| | | |
| | |
| | | } |
| | | return entrySet; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() |
| | | { |
| | | return "MatchAll(" + PRESENCE_INDEX_KEY + ")"; |
| | | } |
| | | }; |
| | | } |
| | | |