| | |
| | | */ |
| | | class State extends AbstractTree |
| | | { |
| | | |
| | | /** |
| | | * Use COMPACTED serialization for new indexes. |
| | | * @see {@link EntryIDSet.EntryIDSetCompactCodec} |
| | |
| | | { |
| | | TRUSTED(0x01), |
| | | |
| | | /** |
| | | * Use compact encoding for indexes' ID storage. |
| | | */ |
| | | /** Use compact encoding for indexes' ID storage. */ |
| | | COMPACTED(0x02); |
| | | |
| | | static final EnumSet<IndexFlag> ALL_FLAGS = EnumSet.allOf(IndexFlag.class); |
| | |
| | | return ByteString.valueOf(new byte[] { value }); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Ensure that the specified flags are not set for the given index |
| | | * @param txn a non null transaction |