SqlQuerySpecWithEncryption Class
- java.
lang. Object - com.
azure. cosmos. encryption. models. SqlQuerySpecWithEncryption
- com.
public final class SqlQuerySpecWithEncryption
Represents a SQL query with encryption parameters in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
SqlQuerySpecWithEncryption(SqlQuerySpec sqlQuerySpec) |
Creates a new instance of SQL query spec with encryption. |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addEncryptionParameter(String path, SqlParameter sqlParameter)
Adds an encryption parameter. |
Methods inherited from java.lang.Object
Constructor Details
SqlQuerySpecWithEncryption
public SqlQuerySpecWithEncryption(SqlQuerySpec sqlQuerySpec)
Creates a new instance of SQL query spec with encryption.
Parameters:
sqlQuerySpec
- the SQL query spec.
Method Details
addEncryptionParameter
public void addEncryptionParameter(String path, SqlParameter sqlParameter)
Adds an encryption parameter.
Parameters:
path
- Path
sqlParameter
- SQL parameter