Skip to content

Commit 9ee046b

Browse files
CSHARP-4182: Support for Range Indexes. (#988)
1 parent 9189a58 commit 9ee046b

File tree

110 files changed

+59896
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+59896
-37
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedDate",
11+
"bsonType": "date",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberLong": "1"
16+
},
17+
"min": {
18+
"$date": {
19+
"$numberLong": "0"
20+
}
21+
},
22+
"max": {
23+
"$date": {
24+
"$numberLong": "200"
25+
}
26+
}
27+
}
28+
}
29+
]
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedDecimalNoPrecision",
11+
"bsonType": "decimal",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberInt": "1"
16+
}
17+
}
18+
}
19+
]
20+
}
21+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedDecimalPrecision",
11+
"bsonType": "decimal",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberInt": "1"
16+
},
17+
"min": {
18+
"$numberDecimal": "0.0"
19+
},
20+
"max": {
21+
"$numberDecimal": "200.0"
22+
},
23+
"precision": {
24+
"$numberInt": "2"
25+
}
26+
}
27+
}
28+
]
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedDoubleNoPrecision",
11+
"bsonType": "double",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberLong": "1"
16+
}
17+
}
18+
}
19+
]
20+
}
21+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedDoublePrecision",
11+
"bsonType": "double",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberLong": "1"
16+
},
17+
"min": {
18+
"$numberDouble": "0.0"
19+
},
20+
"max": {
21+
"$numberDouble": "200.0"
22+
},
23+
"precision": {
24+
"$numberInt": "2"
25+
}
26+
}
27+
}
28+
]
29+
}
30+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedInt",
11+
"bsonType": "int",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberLong": "1"
16+
},
17+
"min": {
18+
"$numberInt": "0"
19+
},
20+
"max": {
21+
"$numberInt": "200"
22+
}
23+
}
24+
}
25+
]
26+
}
27+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"fields": [
3+
{
4+
"keyId": {
5+
"$binary": {
6+
"base64": "EjRWeBI0mHYSNBI0VniQEg==",
7+
"subType": "04"
8+
}
9+
},
10+
"path": "encryptedLong",
11+
"bsonType": "long",
12+
"queries": {
13+
"queryType": "rangePreview",
14+
"sparsity": {
15+
"$numberLong": "1"
16+
},
17+
"min": {
18+
"$numberLong": "0"
19+
},
20+
"max": {
21+
"$numberLong": "200"
22+
}
23+
}
24+
}
25+
]
26+
}
27+

0 commit comments

Comments
 (0)