Skip to content

Commit 50a01d4

Browse files
committed
Remove "Public Technical Preview" from Queryable Encryption Equality API (#1132)
JAVA-4958
1 parent 84fddb0 commit 50a01d4

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

driver-core/src/main/com/mongodb/AutoEncryptionSettings.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.mongodb;
1818

19-
import com.mongodb.annotations.Beta;
2019
import com.mongodb.annotations.NotThreadSafe;
2120
import com.mongodb.lang.Nullable;
2221
import org.bson.BsonDocument;
@@ -216,7 +215,6 @@ public Builder bypassAutoEncryption(final boolean bypassAutoEncryption) {
216215
* @since 4.7
217216
* @mongodb.server.release 7.0
218217
*/
219-
@Beta(Beta.Reason.SERVER)
220218
public Builder encryptedFieldsMap(final Map<String, BsonDocument> encryptedFieldsMap) {
221219
this.encryptedFieldsMap = notNull("encryptedFieldsMap", encryptedFieldsMap);
222220
return this;
@@ -231,8 +229,8 @@ public Builder encryptedFieldsMap(final Map<String, BsonDocument> encryptedField
231229
* @param bypassQueryAnalysis whether query analysis should be bypassed
232230
* @return this
233231
* @since 4.7
232+
* @mongodb.server.release 7.0
234233
*/
235-
@Beta(Beta.Reason.SERVER)
236234
public Builder bypassQueryAnalysis(final boolean bypassQueryAnalysis) {
237235
this.bypassQueryAnalysis = bypassQueryAnalysis;
238236
return this;
@@ -465,7 +463,6 @@ public boolean isBypassAutoEncryption() {
465463
* @since 4.7
466464
* @mongodb.server.release 7.0
467465
*/
468-
@Beta(Beta.Reason.SERVER)
469466
@Nullable
470467
public Map<String, BsonDocument> getEncryptedFieldsMap() {
471468
return encryptedFieldsMap;
@@ -479,8 +476,8 @@ public Map<String, BsonDocument> getEncryptedFieldsMap() {
479476
*
480477
* @return true if query analysis should be bypassed
481478
* @since 4.7
479+
* @mongodb.server.release 7.0
482480
*/
483-
@Beta(Beta.Reason.SERVER)
484481
public boolean isBypassQueryAnalysis() {
485482
return bypassQueryAnalysis;
486483
}

driver-core/src/main/com/mongodb/client/model/vault/EncryptOptions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ public EncryptOptions keyAltName(final String keyAltName) {
120120
* @param contentionFactor the contention factor, which must be {@code >= 0} or null.
121121
* @return this
122122
* @since 4.7
123+
* @mongodb.server.release 7.0
123124
*/
124-
@Beta(Beta.Reason.SERVER)
125125
public EncryptOptions contentionFactor(@Nullable final Long contentionFactor) {
126126
this.contentionFactor = contentionFactor;
127127
return this;
@@ -133,9 +133,9 @@ public EncryptOptions contentionFactor(@Nullable final Long contentionFactor) {
133133
* @see #contentionFactor(Long)
134134
* @return the contention factor
135135
* @since 4.7
136+
* @mongodb.server.release 7.0
136137
*/
137138
@Nullable
138-
@Beta(Beta.Reason.SERVER)
139139
public Long getContentionFactor() {
140140
return contentionFactor;
141141
}
@@ -149,8 +149,8 @@ public Long getContentionFactor() {
149149
* @param queryType the query type
150150
* @return this
151151
* @since 4.7
152+
* @mongodb.server.release 7.0
152153
*/
153-
@Beta(Beta.Reason.SERVER)
154154
public EncryptOptions queryType(@Nullable final String queryType) {
155155
this.queryType = queryType;
156156
return this;
@@ -163,9 +163,9 @@ public EncryptOptions queryType(@Nullable final String queryType) {
163163
* @see #queryType(String)
164164
* @return the queryType or null
165165
* @since 4.7
166+
* @mongodb.server.release 7.0
166167
*/
167168
@Nullable
168-
@Beta(Beta.Reason.SERVER)
169169
public String getQueryType() {
170170
return queryType;
171171
}

driver-reactive-streams/src/main/com/mongodb/reactivestreams/client/vault/ClientEncryption.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ public interface ClientEncryption extends Closeable {
215215
* @mongodb.server.release 7.0
216216
* @mongodb.driver.manual reference/command/create Create Command
217217
*/
218-
@Beta(Beta.Reason.SERVER)
219218
Publisher<BsonDocument> createEncryptedCollection(MongoDatabase database, String collectionName,
220219
CreateCollectionOptions createCollectionOptions, CreateEncryptedCollectionParams createEncryptedCollectionParams);
221220

driver-sync/src/main/com/mongodb/client/vault/ClientEncryption.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ public interface ClientEncryption extends Closeable {
217217
* @mongodb.server.release 7.0
218218
* @mongodb.driver.manual reference/command/create Create Command
219219
*/
220-
@Beta(Beta.Reason.SERVER)
221220
BsonDocument createEncryptedCollection(MongoDatabase database, String collectionName, CreateCollectionOptions createCollectionOptions,
222221
CreateEncryptedCollectionParams createEncryptedCollectionParams);
223222

0 commit comments

Comments
 (0)