Module spring.data.mongodb
Class EncryptionOptions.QueryableEncryptionOptions
java.lang.Object
org.springframework.data.mongodb.core.encryption.EncryptionOptions.QueryableEncryptionOptions
- Enclosing class:
- EncryptionOptions
Options, like the
getQueryType(), to apply when encrypting queryable values.- Since:
- 4.5
- Author:
- Ross Lawley, Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, Object> attributes) Define therangeOptionsto be used for queryable document encryption.contentionFactor(Long contentionFactor) Define thecontentionFactorto be used for queryable document encryption.booleanGet therangeOptionsto apply.Get thecontentionFactorto apply.Get thequeryTypeto apply.inthashCode()none()Create an emptyEncryptionOptions.QueryableEncryptionOptions.Define thequeryTypeto be used for queryable document encryption.toString()
-
Method Details
-
none
Create an emptyEncryptionOptions.QueryableEncryptionOptions.- Returns:
- unmodifiable
EncryptionOptions.QueryableEncryptionOptionsinstance.
-
queryType
Define thequeryTypeto be used for queryable document encryption.- Parameters:
queryType- can be null.- Returns:
- new instance of
EncryptionOptions.QueryableEncryptionOptions.
-
contentionFactor
public EncryptionOptions.QueryableEncryptionOptions contentionFactor(@Nullable Long contentionFactor) Define thecontentionFactorto be used for queryable document encryption.- Parameters:
contentionFactor- can be null.- Returns:
- new instance of
EncryptionOptions.QueryableEncryptionOptions.
-
attributes
Define therangeOptionsto be used for queryable document encryption.- Parameters:
attributes- can be null.- Returns:
- new instance of
EncryptionOptions.QueryableEncryptionOptions.
-
getQueryType
Get thequeryTypeto apply.- Returns:
- null if not set.
-
getContentionFactor
Get thecontentionFactorto apply.- Returns:
- null if not set.
-
getAttributes
Get therangeOptionsto apply.- Returns:
- never null.
-
toString
-
equals
-
hashCode
public int hashCode()
-