Database 类

定义

Represents a Database in the Azure Cosmos DB database service. A database manages users, permissions and a set of collections

Each Azure Cosmos DB Service is able to support multiple independent named databases, with the database being the logical container for data. Each Database consists of one or more collections, each of which in turn contain one or more documents. Since databases are an an administrative resource and the Service Master Key will be required in order to access and successfully complete any action using the User APIs.

public class Database extends Resource
继承
java.lang.Object
Serializable
Database

继承成员

构造函数

Database()

Initialize a database object.

Database(JSONObject jsonObject)

Initialize a database object from json string.

Database(String jsonString)

Initialize a database object from json string.

方法

getCollectionsLink()

Gets the self-link for collections in the database

getUsersLink()

Gets the self-link for users in the database.

适用于