2020-12-04 14:02:06 +03:00
|
|
|
### YamlMime:JavaType
|
|
|
|
uid: "com.azure.cosmos.models.SqlQuerySpec"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec"
|
|
|
|
name: "SqlQuerySpec"
|
|
|
|
nameWithType: "SqlQuerySpec"
|
|
|
|
summary: "Represents a SQL query in the Azure Cosmos DB database service."
|
|
|
|
inheritances:
|
2022-08-11 07:43:16 +03:00
|
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
2022-09-27 07:22:51 +03:00
|
|
|
inheritedClassMethods:
|
|
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
|
|
methodsRef:
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
2022-11-01 07:30:49 +03:00
|
|
|
syntax: "public final class **SqlQuerySpec**"
|
2020-12-04 14:02:06 +03:00
|
|
|
constructors:
|
2022-08-22 08:55:24 +03:00
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec()"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec()"
|
|
|
|
name: "SqlQuerySpec()"
|
|
|
|
nameWithType: "SqlQuerySpec.SqlQuerySpec()"
|
|
|
|
summary: "Initializes a new instance of the Sql<wbr>Query<wbr>Spec class."
|
|
|
|
syntax: "public SqlQuerySpec()"
|
|
|
|
desc: "Initializes a new instance of the SqlQuerySpec class."
|
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(java.lang.String)"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(String queryText)"
|
|
|
|
name: "SqlQuerySpec(String queryText)"
|
|
|
|
nameWithType: "SqlQuerySpec.SqlQuerySpec(String queryText)"
|
|
|
|
summary: "Initializes a new instance of the Sql<wbr>Query<wbr>Spec class with the text of the query."
|
|
|
|
parameters:
|
|
|
|
- description: "the query text."
|
|
|
|
name: "queryText"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
2022-08-22 08:55:24 +03:00
|
|
|
syntax: "public SqlQuerySpec(String queryText)"
|
|
|
|
desc: "Initializes a new instance of the SqlQuerySpec class with the text of the query."
|
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(java.lang.String,com.azure.cosmos.models.SqlParameter...)"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(String queryText, SqlParameter[] parameters)"
|
|
|
|
name: "SqlQuerySpec(String queryText, SqlParameter[] parameters)"
|
|
|
|
nameWithType: "SqlQuerySpec.SqlQuerySpec(String queryText, SqlParameter[] parameters)"
|
|
|
|
summary: "Initializes a new instance of the Sql<wbr>Query<wbr>Spec class with the text of the query and parameters."
|
|
|
|
parameters:
|
|
|
|
- description: "the query text."
|
|
|
|
name: "queryText"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
2022-08-22 08:55:24 +03:00
|
|
|
- description: "the query parameters."
|
|
|
|
name: "parameters"
|
|
|
|
type: "<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />[]"
|
|
|
|
syntax: "public SqlQuerySpec(String queryText, SqlParameter[] parameters)"
|
|
|
|
desc: "Initializes a new instance of the SqlQuerySpec class with the text of the query and parameters."
|
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(java.lang.String,java.util.List<com.azure.cosmos.models.SqlParameter>)"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.SqlQuerySpec(String queryText, List<SqlParameter> parameters)"
|
|
|
|
name: "SqlQuerySpec(String queryText, List<SqlParameter> parameters)"
|
|
|
|
nameWithType: "SqlQuerySpec.SqlQuerySpec(String queryText, List<SqlParameter> parameters)"
|
|
|
|
summary: "Initializes a new instance of the Sql<wbr>Query<wbr>Spec class with the text of the query and parameters."
|
|
|
|
parameters:
|
|
|
|
- description: "the query text."
|
|
|
|
name: "queryText"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
2022-08-22 08:55:24 +03:00
|
|
|
- description: "the query parameters."
|
|
|
|
name: "parameters"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />>"
|
2022-08-22 08:55:24 +03:00
|
|
|
syntax: "public SqlQuerySpec(String queryText, List<SqlParameter> parameters)"
|
|
|
|
desc: "Initializes a new instance of the SqlQuerySpec class with the text of the query and parameters."
|
2020-12-04 14:02:06 +03:00
|
|
|
methods:
|
2022-08-22 08:55:24 +03:00
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.getParameters()"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.getParameters()"
|
|
|
|
name: "getParameters()"
|
|
|
|
nameWithType: "SqlQuerySpec.getParameters()"
|
|
|
|
summary: "Gets the container of query parameters."
|
|
|
|
syntax: "public List<SqlParameter> getParameters()"
|
|
|
|
desc: "Gets the container of query parameters."
|
|
|
|
returns:
|
|
|
|
description: "the query parameters."
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />>"
|
2022-08-22 08:55:24 +03:00
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.getQueryText()"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.getQueryText()"
|
|
|
|
name: "getQueryText()"
|
|
|
|
nameWithType: "SqlQuerySpec.getQueryText()"
|
|
|
|
summary: "Gets the text of the query."
|
|
|
|
syntax: "public String getQueryText()"
|
|
|
|
desc: "Gets the text of the query."
|
|
|
|
returns:
|
|
|
|
description: "the query text."
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
2022-08-22 08:55:24 +03:00
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.setParameters(java.util.List<com.azure.cosmos.models.SqlParameter>)"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.setParameters(List<SqlParameter> parameters)"
|
|
|
|
name: "setParameters(List<SqlParameter> parameters)"
|
|
|
|
nameWithType: "SqlQuerySpec.setParameters(List<SqlParameter> parameters)"
|
|
|
|
summary: "Sets the container of query parameters."
|
|
|
|
parameters:
|
|
|
|
- description: "the query parameters."
|
|
|
|
name: "parameters"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />>"
|
2022-08-22 08:55:24 +03:00
|
|
|
syntax: "public SqlQuerySpec setParameters(List<SqlParameter> parameters)"
|
|
|
|
desc: "Sets the container of query parameters."
|
|
|
|
returns:
|
|
|
|
description: "the SqlQuerySpec."
|
|
|
|
type: "<xref href=\"com.azure.cosmos.models.SqlQuerySpec?alt=com.azure.cosmos.models.SqlQuerySpec&text=SqlQuerySpec\" data-throw-if-not-resolved=\"False\" />"
|
|
|
|
- uid: "com.azure.cosmos.models.SqlQuerySpec.setQueryText(java.lang.String)"
|
|
|
|
fullName: "com.azure.cosmos.models.SqlQuerySpec.setQueryText(String queryText)"
|
|
|
|
name: "setQueryText(String queryText)"
|
|
|
|
nameWithType: "SqlQuerySpec.setQueryText(String queryText)"
|
|
|
|
summary: "Sets the text of the query."
|
|
|
|
parameters:
|
|
|
|
- description: "the query text."
|
|
|
|
name: "queryText"
|
2022-09-07 07:25:44 +03:00
|
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
2022-08-22 08:55:24 +03:00
|
|
|
syntax: "public SqlQuerySpec setQueryText(String queryText)"
|
|
|
|
desc: "Sets the text of the query."
|
|
|
|
returns:
|
|
|
|
description: "the SqlQuerySpec."
|
|
|
|
type: "<xref href=\"com.azure.cosmos.models.SqlQuerySpec?alt=com.azure.cosmos.models.SqlQuerySpec&text=SqlQuerySpec\" data-throw-if-not-resolved=\"False\" />"
|
2020-12-04 14:02:06 +03:00
|
|
|
type: "class"
|
2022-08-11 07:43:16 +03:00
|
|
|
desc: "Represents a SQL query in the Azure Cosmos DB database service."
|
2020-12-04 14:02:06 +03:00
|
|
|
metadata: {}
|
|
|
|
package: "com.azure.cosmos.models"
|
2024-09-12 07:59:27 +03:00
|
|
|
artifact: com.azure:azure-cosmos:4.63.3
|