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

113 строки
7.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties"
name: "CosmosStoredProcedureProperties"
nameWithType: "CosmosStoredProcedureProperties"
summary: "Represents a stored procedure in the Azure Cosmos DB database service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
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>"
syntax: "public final class **CosmosStoredProcedureProperties**"
constructors:
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.CosmosStoredProcedureProperties(java.lang.String,java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.CosmosStoredProcedureProperties(String id, String body)"
name: "CosmosStoredProcedureProperties(String id, String body)"
nameWithType: "CosmosStoredProcedureProperties.CosmosStoredProcedureProperties(String id, String body)"
summary: "Constructor."
parameters:
- description: "the id of the stored procedure"
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the body of the stored procedure"
name: "body"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CosmosStoredProcedureProperties(String id, String body)"
desc: "Constructor."
methods:
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getBody()"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getBody()"
name: "getBody()"
nameWithType: "CosmosStoredProcedureProperties.getBody()"
summary: "Get the body of the stored procedure."
syntax: "public String getBody()"
desc: "Get the body of the stored procedure."
returns:
description: "the body of the stored procedure."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getETag()"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getETag()"
name: "getETag()"
nameWithType: "CosmosStoredProcedureProperties.getETag()"
summary: "Get the entity tag associated with the resource."
syntax: "public String getETag()"
desc: "Get the entity tag associated with the resource. This is only relevant when getting response from the server."
returns:
description: "the e tag."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getId()"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getId()"
name: "getId()"
nameWithType: "CosmosStoredProcedureProperties.getId()"
summary: "Gets the name of the resource."
syntax: "public String getId()"
desc: "Gets the name of the resource."
returns:
description: "the name of the resource."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getTimestamp()"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.getTimestamp()"
name: "getTimestamp()"
nameWithType: "CosmosStoredProcedureProperties.getTimestamp()"
summary: "Get the last modified timestamp associated with the resource."
syntax: "public Instant getTimestamp()"
desc: "Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server."
returns:
description: "the timestamp."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.setBody(java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.setBody(String body)"
name: "setBody(String body)"
nameWithType: "CosmosStoredProcedureProperties.setBody(String body)"
summary: "Set the body of the stored procedure."
parameters:
- description: "the body of the stored procedure."
name: "body"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CosmosStoredProcedureProperties setBody(String body)"
desc: "Set the body of the stored procedure."
returns:
description: "return the Cosmos stored procedure properties."
type: "<xref href=\"com.azure.cosmos.models.CosmosStoredProcedureProperties?alt=com.azure.cosmos.models.CosmosStoredProcedureProperties&text=CosmosStoredProcedureProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosStoredProcedureProperties.setId(java.lang.String)"
fullName: "com.azure.cosmos.models.CosmosStoredProcedureProperties.setId(String id)"
name: "setId(String id)"
nameWithType: "CosmosStoredProcedureProperties.setId(String id)"
summary: "Sets the id"
parameters:
- description: "the name of the resource."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public CosmosStoredProcedureProperties setId(String id)"
desc: "Sets the id"
returns:
description: "return the Cosmos stored procedure properties with id set"
type: "<xref href=\"com.azure.cosmos.models.CosmosStoredProcedureProperties?alt=com.azure.cosmos.models.CosmosStoredProcedureProperties&text=CosmosStoredProcedureProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents a stored procedure in the Azure Cosmos DB database service.\n\nCosmos DB allows stored procedures to be executed in the storage tier, directly against a container. The script gets executed under ACID transactions on the primary storage partition of the specified container. For additional details, refer to [documentation][]\n\n\n[documentation]: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-write-stored-procedures-triggers-udfs"
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.4