Class OScriptDocumentDatabaseWrapper
java.lang.Object
com.orientechnologies.orient.core.command.script.OScriptDocumentDatabaseWrapper
Deprecated.
Document Database wrapper class to use from scripts.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbegin()Deprecated.browseClass(String iClassName) Deprecated.browseClass(String iClassName, boolean iPolymorphic) Deprecated.browseCluster(String iClusterName) Deprecated.voidclose()Deprecated.Deprecated.Deprecated.commit()Deprecated.protected Object[]convertParameters(Object[] iParameters) Deprecated.longcountClass(String iClassName) Deprecated.<THISDB extends ODatabase>
THISDBcreate()Deprecated.booleandeclareIntent(OIntent iIntent) Deprecated.Deprecated.Deprecated.voiddrop()Deprecated.booleandropCluster(int iClusterId, boolean iTruncate) Deprecated.booleandropCluster(String iClusterName) Deprecated.executeCommand(String iText) Deprecated.To maintain the compatibility with JS API.executeCommand(String iText, Object... iParameters) Deprecated.To maintain the compatibility with JS API.booleanexists()Deprecated.get(ODatabase.ATTRIBUTES iAttribute) Deprecated.intgetClusterIdByName(String iClusterName) Deprecated.getClusterNameById(int iClusterId) Deprecated.Deprecated.longgetClusterRecordSizeById(int iClusterId) Deprecated.longgetClusterRecordSizeByName(String iClusterName) Deprecated.intDeprecated.intDeprecated.Deprecated.Deprecated.Deprecated.getName()Deprecated.Deprecated.getProperty(String iName) Deprecated.<RET extends ORecord>
RETgetRecord(OIdentifiable iIdentifiable) Deprecated.byteDeprecated.longgetSize()Deprecated.Deprecated.Deprecated.getType()Deprecated.getURL()Deprecated.getUser()Deprecated.booleanisClosed()Deprecated.booleanisMVCC()Deprecated.booleanDeprecated.booleanDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.<RET extends ORecord>
RETDeprecated.Deprecated.newInstance(String iClassName) Deprecated.<THISDB extends ODatabase>
THISDBDeprecated.Deprecated.Deprecated.Deprecated.voidreload()Deprecated.voidDeprecated.voidDeprecated.rollback()Deprecated.Deprecated.save(ORecord iRecord, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback) Deprecated.Deprecated.save(ORecord iRecord, String iClusterName, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback) Deprecated.Deprecated.Deprecated.<THISDB extends ODatabase>
THISDBset(ODatabase.ATTRIBUTES attribute, Object iValue) Deprecated.ODatabase<?>setDatabaseOwner(ODatabaseInternal<?> iOwner) Deprecated.voidsetInternal(ODatabase.ATTRIBUTES attribute, Object iValue) Deprecated.<RET extends ODatabase<?>>
RETsetMVCC(boolean iValue) Deprecated.setProperty(String iName, Object iValue) Deprecated.setRetainRecords(boolean iValue) Deprecated.<THISDB extends ODatabase>
THISDBsetStatus(ODatabase.STATUS iStatus) Deprecated.voidDeprecated.<RET extends ODatabaseDocument>
RETsetValidationEnabled(boolean iValue) Deprecated.voidswitchUser(String iUserName, String iUserPassword) Deprecated.
-
Field Details
-
database
Deprecated.
-
-
Constructor Details
-
OScriptDocumentDatabaseWrapper
Deprecated.
-
-
Method Details
-
switchUser
Deprecated. -
query
Deprecated. -
query
Deprecated. -
query
Deprecated. -
executeCommand
Deprecated.To maintain the compatibility with JS API. -
executeCommand
Deprecated.To maintain the compatibility with JS API. -
command
Deprecated. -
command
Deprecated. -
getIndex
Deprecated. -
exists
public boolean exists()Deprecated. -
newInstance
Deprecated. -
reload
public void reload()Deprecated. -
newInstance
Deprecated. -
browseClass
Deprecated. -
getStatus
Deprecated. -
browseClass
Deprecated. -
setStatus
Deprecated. -
drop
public void drop()Deprecated. -
getName
Deprecated. -
getURL
Deprecated. -
browseCluster
Deprecated. -
isClosed
public boolean isClosed()Deprecated. -
open
Deprecated. -
save
Deprecated. -
save
Deprecated. -
save
Deprecated. -
dropCluster
Deprecated. -
create
Deprecated. -
dropCluster
public boolean dropCluster(int iClusterId, boolean iTruncate) Deprecated. -
close
public void close()Deprecated. -
getClusters
public int getClusters()Deprecated. -
getClusterNames
Deprecated. -
getTransaction
Deprecated. -
begin
Deprecated. -
getClusterIdByName
Deprecated. -
isMVCC
public boolean isMVCC()Deprecated. -
getClusterNameById
Deprecated. -
setMVCC
Deprecated. -
getClusterRecordSizeById
public long getClusterRecordSizeById(int iClusterId) Deprecated. -
isValidationEnabled
public boolean isValidationEnabled()Deprecated. -
getClusterRecordSizeByName
Deprecated. -
setValidationEnabled
Deprecated. -
getUser
Deprecated. -
setUser
Deprecated. -
save
public ODocument save(ORecord iRecord, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback) Deprecated. -
getMetadata
Deprecated. -
getDictionary
Deprecated. -
getRecordType
public byte getRecordType()Deprecated. -
delete
Deprecated. -
load
Deprecated. -
load
Deprecated. -
load
Deprecated. -
getRecord
Deprecated. -
getDefaultClusterId
public int getDefaultClusterId()Deprecated. -
load
Deprecated. -
load
Deprecated. -
declareIntent
Deprecated. -
load
Deprecated. -
load
Deprecated. -
setDatabaseOwner
Deprecated. -
reload
Deprecated. -
reload
Deprecated. -
setProperty
Deprecated. -
save
Deprecated. -
getProperty
Deprecated. -
getProperties
Deprecated. -
get
Deprecated. -
set
Deprecated. -
setInternal
Deprecated. -
isRetainRecords
public boolean isRetainRecords()Deprecated. -
setRetainRecords
Deprecated. -
getSize
public long getSize()Deprecated. -
save
public ODocument save(ORecord iRecord, String iClusterName, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback) Deprecated. -
delete
Deprecated. -
countClass
Deprecated. -
commit
Deprecated. -
rollback
Deprecated. -
getType
Deprecated. -
convertParameters
Deprecated.
-