| | |
| | | package org.opends.server.backends.pluggable; |
| | | |
| | | import static org.forgerock.util.Reject.*; |
| | | import static org.forgerock.util.Utils.joinAsString; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.Collection; |
| | |
| | | { |
| | | /** |
| | | * Use COMPACTED serialization for new indexes. |
| | | * @see {@link EntryIDSet.EntryIDSetCompactCodec} |
| | | * @see {@link EntryIDSet.EntryIDSetCodecV2} |
| | | */ |
| | | private static final Collection<IndexFlag> DEFAULT_FLAGS = Collections.unmodifiableCollection(Arrays |
| | | .asList(IndexFlag.COMPACTED)); |
| | |
| | | }); |
| | | } |
| | | |
| | | @Override |
| | | public String valueToString(ByteString value) |
| | | { |
| | | return joinAsString(" ", decodeFlagsOrGetDefault(value)); |
| | | } |
| | | |
| | | /** |
| | | * Remove a record from the entry tree. |
| | | * |