你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlQuerySpecWithEncryption Class

  • java.lang.Object
    • com.azure.cosmos.encryption.models.SqlQuerySpecWithEncryption

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

Applies to