OPENDJ-1368 Remove AttributeValue
Code review: Matthew Swift
Removing the last calls to AttributeValue.getNormalizedValue().
SortValues.java:
Added types field + getter.
SortValuesSet.java:
In add(), remove(), binarySearch() and attributeValuesToDatabase(), passed in AttributeType array as a parameter.
VLVIndex.java:
In getSortValuesSet(), containsValues() and encodeKey(), passed in AttributeType array as a parameter.
Added getSortTypes() and encodeKey().
VLVKeyComparator.java:
In compare(), passed in AttributeType array as a parameter.
VerifyJob.java, TestVerifyJob.java, TestVLVIndex.java:
Consequence of the changes above.
TestVLVIndex.java:
Extracted method getSortValuesSet().
StringPrepProfileTestCase.java:
Removed unused import.
| | |
| | | * contain a specific ordering matching rule that should be used for |
| | | * the sorting process, although if none is provided it will use the |
| | | * default ordering matching rule for the attribute type. |
| | | * <p> |
| | | * FIXME: replace with the equivalent SDK type. |
| | | */ |
| | | @org.opends.server.types.PublicAPI( |
| | | stability=org.opends.server.types.StabilityLevel.VOLATILE, |
| | |
| | | * will only be used if the first and second values are equal, etc. |
| | | * If all of the sort key attributes for two entries are identical, |
| | | * then the relative order for those entries is undefined. |
| | | * <p> |
| | | * FIXME: replace with the SDK's SortKey? |
| | | */ |
| | | @org.opends.server.types.PublicAPI( |
| | | stability=org.opends.server.types.StabilityLevel.VOLATILE, |