StoredProcedure 类
定义
Represents a stored procedure in the Azure Cosmos DB database service.
Azure 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.
public class StoredProcedure extends Resource
- 继承
继承成员
JsonSerializable.get(String propertyName)
JsonSerializable.getBoolean(String propertyName)
JsonSerializable.getCollection(String propertyName)
JsonSerializable.getDouble(String propertyName)
Resource.getETag()
JsonSerializable.getHashMap()
Resource.getId()
JsonSerializable.getInt(String propertyName)
JsonSerializable.getLogger()
JsonSerializable.getLong(String propertyName)
JsonSerializable.getMapper()
JsonSerializable.getObject(String propertyName)
JsonSerializable.getObjectByPath(Collection<String> propertyNames)
Resource.getResourceId()
Resource.getSelfLink()
JsonSerializable.getString(String propertyName)
Resource.getTimestamp()
JsonSerializable.has(String propertyName)
JsonSerializable.JsonSerializable()
JsonSerializable.JsonSerializable(String jsonString, ObjectMapper objectMapper)
JsonSerializable.JsonSerializable(String jsonString)
JsonSerializable.JsonSerializable(JSONObject jsonObject)
JsonSerializable.remove(String propertyName)
Resource.Resource()
Resource.Resource(String jsonString, ObjectMapper objectMapper)
Resource.Resource(String jsonString)
Resource.Resource(JSONObject jsonObject)
Resource.setId(String id)
Resource.setResourceId(String resourceId)
JsonSerializable.toJson()
JsonSerializable.toJson(SerializationFormattingPolicy formattingPolicy)
JsonSerializable.toString()
JsonSerializable.toString(int indentFactor)
构造函数
StoredProcedure() |
Constructor. |
StoredProcedure(JSONObject jsonObject) |
Constructor.
|
StoredProcedure(String jsonString) |
Constructor.
|
方法
getBody() |
Get the body of the stored procedure.
|
setBody(String body) |
Set the body of the stored procedure.
|