[SERVER-22372] Implement CollatorInterfaceMock Created: 29/Jan/16  Updated: 16/Mar/16  Resolved: 10/Mar/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.3

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-22374 Implement CollatorInterface and Colla... Closed
is depended on by SERVER-22785 Update QueryPlannerIXSelect's index s... Closed
is depended on by SERVER-22786 Update index bounds builder to genera... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 11 (03/14/16)
Participants:

 Description   

This will allow us write unit tests for planning with respect to a collation, and will break the dependency between many collation subtasks and vendorizing ICU (SERVER-22371).

The CollatorInterface has two basic virtual methods:

  • getComparisonKey() which takes a string and returns a CollationKey.
  • compare() which takes two strings to compare with respect to the collation and returns -1, 0, or 1.


 Comments   
Comment by Githook User [ 10/Mar/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-22372 add test coverage for CollationSerializer::appendCollationKey()
Branch: master
https://github.com/mongodb/mongo/commit/02394e910c4f31c7a4e6701d5201844b2742c86c

Comment by Githook User [ 09/Mar/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-22372 CollatorInterfaceMock
Branch: master
https://github.com/mongodb/mongo/commit/e0db3edb8a3edac4b9dbe331f4eb8dc280c909a6

Generated at Thu Feb 08 04:00:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.