summaryrefslogtreecommitdiff
path: root/src/mongo/db/keypattern.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-56513 remove KeyPattern::isIdKeyPattern()Benety Goh2021-05-061-6/+0
| | | | This is redundant when we have IndexDescriptor::isIdIndex().
* SERVER-41658 Convert ShardCollectionType into an IDL typeJamie Heppenstall2019-07-121-2/+13
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-27175 Improve performance of planSummary string generationJames Wahlin2016-12-271-1/+7
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-69/+72
|
* SERVER-14973 consolidate shard key parsing, cleanup shard key patternsGreg Studer2014-10-161-90/+30
|
* SERVER-5022 cleanup keypattern.h and shardkey.h, remove dead codeGreg Studer2014-09-031-61/+6
|
* SERVER-5022 allow covered queries with shard filterGreg Studer2014-09-021-3/+27
|
* SERVER-13256: Remove pch - qualify std in headersMark Benvenuto2014-05-191-2/+2
|
* SERVER-13807 Remove old query framework related to shard targetingSiyuan Zhou2014-05-051-36/+4
|
* SERVER-13656 Use new query framework in getShardsForQuery on mongosSiyuan Zhou2014-05-011-4/+26
|
* SERVER-11324: Allow unique index if prefixed by hashed shard keyScott Hernandez2013-11-131-8/+0
|
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-8791 SERVER-9212 remove IndexSpecHari Khalsa2013-05-021-6/+0
|
* migrate fts/haystack + add/del logic SERVER-8791 SERVER-9164 SERVER-9165Hari Khalsa2013-04-121-0/+6
|
* migrate hash index to new index api SERVER-8791 SERVER-9164Hari Khalsa2013-04-081-0/+6
|
* SERVER-5710 Changed KeyPattern.hasField() sematics to consider dotted field ↵Alberto Lerner2013-01-161-5/+31
| | | | prefixes.
* SERVER-7668 append MinKey instead of null when extending tag boundaryKevin Matulef2012-12-271-0/+25
|
* StringData for KeyPattern and ShardKeyPatternEliot Horowitz2012-12-191-1/+2
|
* SERVER-2001 declare FieldInterval as struct for consistency. avoids windows ↵Kevin Matulef2012-10-161-1/+1
| | | | compile warnings
* SERVER-2001 filter queries on mongod using new key extraction pathKevin Matulef2012-10-161-1/+13
| | | | | | | | Queries on mongod must filter out documents that do not currently belong to the shard. The belongsToMe function now uses the new key extraction path to make this determination. An optimization is also added to the clientcursor class so that it can make this determination using a covered index if available.
* SERVER-2001 calculate query bounds using more general key expressionsKevin Matulef2012-10-151-5/+41
| | | | | | | | In sharding, given a key expression like {a : 1} or {a : -1} we must translate a query to a set of bounds to figure out which shards are relevant. This patch amends the keyBounds calculation function so that patterns which start with "hashed" fields calculate the right bounds.
* SERVER-2001 KeyPattern class; utilities for more general index & shard key specsKevin Matulef2012-10-151-0/+108
The KeyPattern class is an abstraction for defining more general expression-based keys (both index keys and shard keys). This class provide some utility functions for extracting keys based on an expression, and computing range bounds based on an expression. This patch lays the groundwork and begins to make use of KeyPatterns. The idea is that to implement more general key expressions, we will only need to enhance the functions in this class.