azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Sql...

123 строки
7.2 KiB
YAML
Исходник Обычный вид История

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class SqlQuerySpec"
constructors:
- 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"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
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"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- 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"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- description: "the query parameters."
name: "parameters"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />&gt;"
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."
methods:
- 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."
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />&gt;"
- 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."
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- 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"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.cosmos.models.SqlParameter?alt=com.azure.cosmos.models.SqlParameter&text=SqlParameter\" data-throw-if-not-resolved=\"False\" />&gt;"
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"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
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\" />"
type: "class"
desc: "Represents a SQL query in the Azure Cosmos DB database service."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.35.1