public class OScriptDatabaseWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected ODatabaseDocumentInternal |
database |
Constructor and Description |
---|
OScriptDatabaseWrapper(ODatabaseDocumentInternal database) |
Modifier and Type | Method and Description |
---|---|
OResultSet |
command(String query,
Map<String,Object> iParameters) |
OResultSet |
command(String iText,
Object... iParameters) |
void |
delete(ORecord record) |
OResultSet |
execute(String language,
String script,
Map<String,Object> iParameters) |
OResultSet |
execute(String language,
String script,
Object... iParameters) |
OBlob |
newBlob() |
OEdge |
newEdge(OVertex from,
OVertex to) |
OEdge |
newEdge(OVertex from,
OVertex to,
String edgeClassName) |
OElement |
newInstance() |
OElement |
newInstance(String className) |
OVertex |
newVertex() |
OVertex |
newVertex(String className) |
OResultSet |
query(String query,
Map<String,Object> iParameters) |
OResultSet |
query(String iText,
Object... iParameters) |
ORecord |
save(ORecord element) |
protected ODatabaseDocumentInternal database
public OScriptDatabaseWrapper(ODatabaseDocumentInternal database)
public OResultSet query(String iText, Object... iParameters)
public OResultSet query(String query, Map<String,Object> iParameters)
public OResultSet command(String iText, Object... iParameters)
public OResultSet command(String query, Map<String,Object> iParameters)
public OResultSet execute(String language, String script, Object... iParameters)
public OElement newInstance()
public OVertex newVertex()
public void delete(ORecord record)
public OBlob newBlob()
Copyright © 2009–2020 OrientDB. All rights reserved.