Class SqlQuerySpecWithEncryption

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

public final class SqlQuerySpecWithEncryption extends Object
Represents a SQL query with encryption parameters in the Azure Cosmos DB database service.
  • 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