Class OScriptDocumentDatabaseWrapper

java.lang.Object
com.orientechnologies.orient.core.command.script.OScriptDocumentDatabaseWrapper

@Deprecated public class OScriptDocumentDatabaseWrapper extends Object
Deprecated.
Document Database wrapper class to use from scripts.
Author:
Luca Garulli (l.garulli--(at)--orientdb.com)
  • Field Details

  • Constructor Details

  • Method Details

    • switchUser

      public void switchUser(String iUserName, String iUserPassword)
      Deprecated.
    • query

      public OIdentifiable[] query(String iText)
      Deprecated.
    • query

      public OIdentifiable[] query(String iText, Object... iParameters)
      Deprecated.
    • query

      public OIdentifiable[] query(OSQLQuery iQuery, Object... iParameters)
      Deprecated.
    • executeCommand

      public Object executeCommand(String iText)
      Deprecated.
      To maintain the compatibility with JS API.
    • executeCommand

      public Object executeCommand(String iText, Object... iParameters)
      Deprecated.
      To maintain the compatibility with JS API.
    • command

      public Object command(String iText)
      Deprecated.
    • command

      public Object command(String iText, Object... iParameters)
      Deprecated.
    • getIndex

      public OIndex getIndex(String name)
      Deprecated.
    • exists

      public boolean exists()
      Deprecated.
    • newInstance

      public ODocument newInstance()
      Deprecated.
    • reload

      public void reload()
      Deprecated.
    • newInstance

      public ODocument newInstance(String iClassName)
      Deprecated.
    • browseClass

      public ORecordIteratorClass<ODocument> browseClass(String iClassName)
      Deprecated.
    • getStatus

      public ODatabase.STATUS getStatus()
      Deprecated.
    • browseClass

      public ORecordIteratorClass<ODocument> browseClass(String iClassName, boolean iPolymorphic)
      Deprecated.
    • setStatus

      public <THISDB extends ODatabase> THISDB setStatus(ODatabase.STATUS iStatus)
      Deprecated.
    • drop

      public void drop()
      Deprecated.
    • getName

      public String getName()
      Deprecated.
    • getURL

      public String getURL()
      Deprecated.
    • browseCluster

      public ORecordIteratorCluster<ODocument> browseCluster(String iClusterName)
      Deprecated.
    • isClosed

      public boolean isClosed()
      Deprecated.
    • open

      public <THISDB extends ODatabase> THISDB open(String iUserName, String iUserPassword)
      Deprecated.
    • save

      public ODocument save(Map<String,Object> iObject)
      Deprecated.
    • save

      public ODocument save(String iString)
      Deprecated.
    • save

      public ODocument save(ORecord iRecord)
      Deprecated.
    • dropCluster

      public boolean dropCluster(String iClusterName)
      Deprecated.
    • create

      public <THISDB extends ODatabase> THISDB create()
      Deprecated.
    • dropCluster

      public boolean dropCluster(int iClusterId, boolean iTruncate)
      Deprecated.
    • close

      public void close()
      Deprecated.
    • getClusters

      public int getClusters()
      Deprecated.
    • getClusterNames

      public Collection<String> getClusterNames()
      Deprecated.
    • getTransaction

      public OTransaction getTransaction()
      Deprecated.
    • begin

      public ODatabase<ORecord> begin()
      Deprecated.
    • getClusterIdByName

      public int getClusterIdByName(String iClusterName)
      Deprecated.
    • isMVCC

      public boolean isMVCC()
      Deprecated.
    • getClusterNameById

      public String getClusterNameById(int iClusterId)
      Deprecated.
    • setMVCC

      public <RET extends ODatabase<?>> RET setMVCC(boolean iValue)
      Deprecated.
    • getClusterRecordSizeById

      public long getClusterRecordSizeById(int iClusterId)
      Deprecated.
    • isValidationEnabled

      public boolean isValidationEnabled()
      Deprecated.
    • getClusterRecordSizeByName

      public long getClusterRecordSizeByName(String iClusterName)
      Deprecated.
    • setValidationEnabled

      public <RET extends ODatabaseDocument> RET setValidationEnabled(boolean iValue)
      Deprecated.
    • getUser

      public OSecurityUser getUser()
      Deprecated.
    • setUser

      public void setUser(OUser user)
      Deprecated.
    • save

      public ODocument save(ORecord iRecord, ODatabase.OPERATION_MODE iMode, boolean iForceCreate, ORecordCallback<? extends Number> iRecordCreatedCallback, ORecordCallback<Integer> iRecordUpdatedCallback)
      Deprecated.
    • getMetadata

      public OMetadata getMetadata()
      Deprecated.
    • getDictionary

      public ODictionary<ORecord> getDictionary()
      Deprecated.
    • getRecordType

      public byte getRecordType()
      Deprecated.
    • delete

      public ODatabase<ORecord> delete(ORID iRid)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORID iRecordId)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORID iRecordId, String iFetchPlan)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORID iRecordId, String iFetchPlan, boolean iIgnoreCache)
      Deprecated.
    • getRecord

      public <RET extends ORecord> RET getRecord(OIdentifiable iIdentifiable)
      Deprecated.
    • getDefaultClusterId

      public int getDefaultClusterId()
      Deprecated.
    • load

      public <RET extends ORecord> RET load(String iRidAsString)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORecord iRecord)
      Deprecated.
    • declareIntent

      public boolean declareIntent(OIntent iIntent)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORecord iRecord, String iFetchPlan)
      Deprecated.
    • load

      public <RET extends ORecord> RET load(ORecord iRecord, String iFetchPlan, boolean iIgnoreCache)
      Deprecated.
    • setDatabaseOwner

      public ODatabase<?> setDatabaseOwner(ODatabaseInternal<?> iOwner)
      Deprecated.
    • reload

      public void reload(ORecord iRecord)
      Deprecated.
    • reload

      public void reload(ORecord iRecord, String iFetchPlan, boolean iIgnoreCache)
      Deprecated.
    • setProperty

      public Object setProperty(String iName, Object iValue)
      Deprecated.
    • save

      public ODocument save(ORecord iRecord, String iClusterName)
      Deprecated.
    • getProperty

      public Object getProperty(String iName)
      Deprecated.
    • getProperties

      public Iterator<Map.Entry<String,Object>> getProperties()
      Deprecated.
    • get

      public Object get(ODatabase.ATTRIBUTES iAttribute)
      Deprecated.
    • set

      public <THISDB extends ODatabase> THISDB set(ODatabase.ATTRIBUTES attribute, Object iValue)
      Deprecated.
    • setInternal

      public void setInternal(ODatabase.ATTRIBUTES attribute, Object iValue)
      Deprecated.
    • isRetainRecords

      public boolean isRetainRecords()
      Deprecated.
    • setRetainRecords

      public ODatabaseDocument setRetainRecords(boolean iValue)
      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

      public ODatabaseDocument delete(ODocument iRecord)
      Deprecated.
    • countClass

      public long countClass(String iClassName)
      Deprecated.
    • commit

      public ODatabase<ORecord> commit()
      Deprecated.
    • rollback

      public ODatabase<ORecord> rollback()
      Deprecated.
    • getType

      public String getType()
      Deprecated.
    • convertParameters

      protected Object[] convertParameters(Object[] iParameters)
      Deprecated.