All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
ODatabase<ORecord> |
begin() |
ORecordIteratorClass<ODocument> |
browseClass(String iClassName) |
ORecordIteratorClass<ODocument> |
browseClass(String iClassName,
boolean iPolymorphic) |
ORecordIteratorCluster<ODocument> |
browseCluster(String iClusterName) |
void |
close() |
Object |
command(String iText) |
Object |
command(String iText,
Object... iParameters) |
ODatabase<ORecord> |
commit() |
protected Object[] |
convertParameters(Object[] iParameters) |
long |
countClass(String iClassName) |
<THISDB extends ODatabase> THISDB |
create() |
boolean |
declareIntent(OIntent iIntent) |
ODatabaseDocumentTx |
delete(ODocument iRecord) |
ODatabase<ORecord> |
delete(ORID iRid) |
void |
drop() |
boolean |
dropCluster(int iClusterId,
boolean iTruncate) |
boolean |
dropCluster(String iClusterName,
boolean iTruncate) |
Object |
executeCommand(String iText)
To maintain the compatibility with JS API.
|
Object |
executeCommand(String iText,
Object... iParameters)
To maintain the compatibility with JS API.
|
boolean |
exists() |
Object |
get(ODatabase.ATTRIBUTES iAttribute) |
int |
getClusterIdByName(String iClusterName) |
String |
getClusterNameById(int iClusterId) |
Collection<String> |
getClusterNames() |
long |
getClusterRecordSizeById(int iClusterId) |
long |
getClusterRecordSizeByName(String iClusterName) |
int |
getClusters() |
int |
getDefaultClusterId() |
ODictionary<ORecord> |
getDictionary() |
OIndex<?> |
getIndex(String iName) |
OMetadata |
getMetadata() |
String |
getName() |
Iterator<Map.Entry<String,Object>> |
getProperties() |
Object |
getProperty(String iName) |
<RET extends ORecord> RET |
getRecord(OIdentifiable iIdentifiable) |
byte |
getRecordType() |
long |
getSize() |
ODatabase.STATUS |
getStatus() |
OTransaction |
getTransaction() |
String |
getType() |
String |
getURL() |
OSecurityUser |
getUser() |
boolean |
isClosed() |
boolean |
isMVCC() |
boolean |
isRetainRecords() |
boolean |
isValidationEnabled() |
<RET extends ORecord> RET |
load(ORecord iRecord) |
<RET extends ORecord> RET |
load(ORecord iRecord,
String iFetchPlan) |
<RET extends ORecord> RET |
load(ORecord iRecord,
String iFetchPlan,
boolean iIgnoreCache) |
<RET extends ORecord> RET |
load(ORID iRecordId) |
<RET extends ORecord> RET |
load(ORID iRecordId,
String iFetchPlan) |
<RET extends ORecord> RET |
load(ORID iRecordId,
String iFetchPlan,
boolean iIgnoreCache) |
<RET extends ORecord> RET |
load(String iRidAsString) |
ODocument |
newInstance() |
ODocument |
newInstance(String iClassName) |
<THISDB extends ODatabase> THISDB |
open(String iUserName,
String iUserPassword) |
OIdentifiable[] |
query(OSQLQuery iQuery,
Object... iParameters) |
OIdentifiable[] |
query(String iText) |
OIdentifiable[] |
query(String iText,
Object... iParameters) |
void |
reload() |
void |
reload(ORecord iRecord) |
void |
reload(ORecord iRecord,
String iFetchPlan,
boolean iIgnoreCache) |
ODatabase<ORecord> |
rollback() |
ODocument |
save(Map<String,Object> iObject) |
ODocument |
save(ORecord iRecord) |
ODocument |
save(ORecord iRecord,
ODatabase.OPERATION_MODE iMode,
boolean iForceCreate,
ORecordCallback<? extends Number> iRecordCreatedCallback,
ORecordCallback<Integer> iRecordUpdatedCallback) |
ODocument |
save(ORecord iRecord,
String iClusterName) |
ODocument |
save(ORecord iRecord,
String iClusterName,
ODatabase.OPERATION_MODE iMode,
boolean iForceCreate,
ORecordCallback<? extends Number> iRecordCreatedCallback,
ORecordCallback<Integer> iRecordUpdatedCallback) |
ODocument |
save(String iString) |
<THISDB extends ODatabase> THISDB |
set(ODatabase.ATTRIBUTES attribute,
Object iValue) |
ODatabase<?> |
setDatabaseOwner(ODatabaseInternal<?> iOwner) |
void |
setInternal(ODatabase.ATTRIBUTES attribute,
Object iValue) |
<RET extends ODatabase<?>> RET |
setMVCC(boolean iValue) |
Object |
setProperty(String iName,
Object iValue) |
ODatabaseDocument |
setRetainRecords(boolean iValue) |
<THISDB extends ODatabase> THISDB |
setStatus(ODatabase.STATUS iStatus) |
void |
setUser(OUser user) |
<RET extends ODatabaseDocument> RET |
setValidationEnabled(boolean iValue) |
void |
switchUser(String iUserName,
String iUserPassword) |