StoredProcedure Class
- java.
lang. Object - JsonSerializable
- Resource
- com.
microsoft. azure. cosmosdb. StoredProcedure
- com.
public class StoredProcedure extends Resource
Represents a stored procedure in the Azure Cosmos DB database service.
Cosmos DB allows stored procedures to be executed in the storage tier, directly against a document collection. The script gets executed under ACID transactions on the primary storage partition of the specified collection. For additional details, refer to the server-side JavaScript API documentation.
Constructor Summary
Constructor | Description |
---|---|
StoredProcedure() |
Constructor. |
StoredProcedure(String jsonString) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getBody()
Get the body of the stored procedure. |
void |
setBody(String body)
Set the body of the stored procedure. |
Inherited Members
Constructor Details
StoredProcedure
public StoredProcedure()
Constructor.
StoredProcedure
public StoredProcedure(String jsonString)
Constructor.
Parameters:
Method Details
getBody
public String getBody()
Get the body of the stored procedure.
Returns:
setBody
public void setBody(String body)
Set the body of the stored procedure.
Parameters:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기