Skip to content

Commit

Permalink
update Java bindings documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinAlbs committed Jul 12, 2024
1 parent 8b2b683 commit 82fc536
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,8 @@ public interface mongocrypt_random_fn extends Callback {
mongocrypt_ctx_setopt_query_type (mongocrypt_ctx_t ctx, cstring query_type, int len);

/**
* Set options for explicit encryption with the "rangePreview" algorithm.
* NOTE: The RangePreview algorithm is experimental only. It is not intended for
* public use.
* Set options for explicit encryption with the "range" algorithm.
* NOTE: "range" is currently unstable API and subject to backwards breaking changes.
*
* opts is a BSON document of the form:
* {
Expand Down Expand Up @@ -887,9 +886,8 @@ public interface mongocrypt_random_fn extends Callback {
/**
* Explicit helper method to encrypt a Match Expression or Aggregate Expression.
* Contexts created for explicit encryption will not go through mongocryptd.
* Requires query_type to be "rangePreview".
* NOTE: The RangePreview algorithm is experimental only. It is not intended for
* public use.
* Requires query_type to be "range".
* NOTE: "range" is currently unstable API and subject to backwards breaking changes.
*
* This method expects the passed-in BSON to be of the form:
* { "v" : FLE2RangeFindDriverSpec }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public Builder queryType(final String queryType) {
/**
* The Range Options.
*
* <p>It is an error to set rangeOptions when the algorithm is not "rangePreview".</p>
* <p>It is an error to set rangeOptions when the algorithm is not "range".</p>
*
* @param rangeOptions the range options
* @return this
Expand Down

0 comments on commit 82fc536

Please sign in to comment.