public class Domain extends Object
限定符和类型 | 方法和说明 |
---|---|
void |
addGroups(BSONObject options)
Alter current domain to add groups
|
void |
alterDomain(BSONObject options)
Alter current domain.
|
String |
getName() |
Sequoiadb |
getSequoiadb() |
DBCursor |
listCLInDomain()
List all the collections in current domain.
|
DBCursor |
listCSInDomain()
List all the collection spaces in current domain.
|
void |
removeGroups(BSONObject options)
Alter current domain to remove groups
|
void |
setAttributes(BSONObject options)
Alter current domain to set attributes.
|
void |
setGroups(BSONObject options)
Alter current domain to set groups
|
public void addGroups(BSONObject options) throws BaseException
options
- the options user wants to alter:
BaseException
- If error happens.public void alterDomain(BSONObject options) throws BaseException
options
- the options user wants to alter:
BaseException
- If error happens.public String getName()
public Sequoiadb getSequoiadb()
public DBCursor listCLInDomain() throws BaseException
BaseException
- If error happens.public DBCursor listCSInDomain() throws BaseException
BaseException
- If error happens.public void removeGroups(BSONObject options) throws BaseException
options
- the options user wants to alter:
BaseException
- If error happens.public void setAttributes(BSONObject options) throws BaseException
options
- the options user wants to alter:
BaseException
- If error happens.public void setGroups(BSONObject options) throws BaseException
options
- the options user wants to alter:
BaseException
- If error happens.Copyright © 2018. All rights reserved.