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