Database operation interfaces of collection space. More...
Public Member Functions | |||||
| DBCollection | GetCollection (string collectionName) | ||||
| Get the named collection. | |||||
| bool | IsCollectionExist (string colName) | ||||
| Verify the existence of collection in current colleciont space. | |||||
| DBCollection | CreateCollection (string collectionName) | ||||
| Create the named collection in current collection space. | |||||
| DBCollection | CreateCollection (string collectionName, BsonDocument options) | ||||
| Create the named collection in current collection space. | |||||
| void | DropCollection (string collectionName) | ||||
| Remove the named collection of current collection space. | |||||
| void | Alter (BsonDocument options) | ||||
| Alter collection space. | |||||
| void | SetDomain (BsonDocument options) | ||||
| Alter collection space to set domain. | |||||
| void | RemoveDomain () | ||||
Alter collection space to remove domain
| |||||
| void | EnableCapped () | ||||
Alter collection space to enable capped
| |||||
| void | DisableCapped () | ||||
Alter collection space to disable capped
| |||||
| void | SetAttributes (BsonDocument options) | ||||
| Alter collection space. | |||||
| void | RenameCollection (String oldName, String newName) | ||||
| Rename the collection. | |||||
Properties | |
| string | Name [get] |
| Return the name of current collection space. | |
| Sequoiadb | SequoiaDB [get] |
| Return the Sequoiadb handle of current collection space. | |
Database operation interfaces of collection space.
|
inline |
Alter collection space.
| [in] | options | The options of collection space to be changed, e.g. { "PageSize": 4096, "Domain": "mydomain" }. PageSize : The page size of the collection space
LobPageSize : The page size of LOB objects in the collection space
Domain : The domain which the collection space belongs to
|
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Create the named collection in current collection space.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Create the named collection in current collection space.
| collectionName | The collection name |
| options | The options for creating collection. Please reference here for more detail. |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter collection space to disable capped
| SequoiaDB.BaseException | |
| System.Exception. |
|
inline |
Remove the named collection of current collection space.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter collection space to enable capped
| SequoiaDB.BaseException | |
| System.Exception. |
|
inline |
Get the named collection.
| collectionName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Verify the existence of collection in current colleciont space.
| colName | The collection name |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter collection space to remove domain
| SequoiaDB.BaseException | |
| System.Exception. |
|
inline |
Rename the collection.
| oldName | The original name of current collection. |
| newName | The new name of current collection. |
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter collection space.
| [in] | options | The options of collection space to be changed, e.g. { "PageSize": 4096, "Domain": "mydomain" }. PageSize : The page size of the collection space
LobPageSize : The page size of LOB objects in the collection space
Domain : The domain which the collection space belongs to
|
| SequoiaDB.BaseException | |
| System.Exception |
|
inline |
Alter collection space to set domain.
| [in] | options | The options of collection space to be changed. Domain : The domain which the collection space belongs to |
| SequoiaDB.BaseException | |
| System.Exception |
|
get |
Return the name of current collection space.
|
get |
1.8.2