-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSHARP-4182: Support for Range Indexes. (#988)
- Loading branch information
1 parent
9189a58
commit 9ee046b
Showing
110 changed files
with
59,896 additions
and
37 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
specifications/client-side-encryption/prose-tests/etc/data/range-encryptedFields-Date.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDate", | ||
"bsonType": "date", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$date": { | ||
"$numberLong": "0" | ||
} | ||
}, | ||
"max": { | ||
"$date": { | ||
"$numberLong": "200" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
...client-side-encryption/prose-tests/etc/data/range-encryptedFields-DecimalNoPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalNoPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberInt": "1" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
29 changes: 29 additions & 0 deletions
29
...s/client-side-encryption/prose-tests/etc/data/range-encryptedFields-DecimalPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberInt": "1" | ||
}, | ||
"min": { | ||
"$numberDecimal": "0.0" | ||
}, | ||
"max": { | ||
"$numberDecimal": "200.0" | ||
}, | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
} | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
.../client-side-encryption/prose-tests/etc/data/range-encryptedFields-DoubleNoPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDoubleNoPrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
30 changes: 30 additions & 0 deletions
30
...ns/client-side-encryption/prose-tests/etc/data/range-encryptedFields-DoublePrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDoublePrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberDouble": "0.0" | ||
}, | ||
"max": { | ||
"$numberDouble": "200.0" | ||
}, | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
27 changes: 27 additions & 0 deletions
27
specifications/client-side-encryption/prose-tests/etc/data/range-encryptedFields-Int.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedInt", | ||
"bsonType": "int", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberInt": "0" | ||
}, | ||
"max": { | ||
"$numberInt": "200" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
27 changes: 27 additions & 0 deletions
27
specifications/client-side-encryption/prose-tests/etc/data/range-encryptedFields-Long.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedLong", | ||
"bsonType": "long", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberLong": "0" | ||
}, | ||
"max": { | ||
"$numberLong": "200" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
Oops, something went wrong.