Modifier and Type | Class and Description |
---|---|
class |
OObjectDatabaseTx
Object Database instance.
|
class |
OObjectDatabaseTxPooled
Pooled wrapper to the OObjectDatabaseTx class.
|
Modifier and Type | Method and Description |
---|---|
ODatabaseObject |
ODatabaseObjectPool.acquire() |
ODatabaseObject |
OObjectDatabaseTx.delete(Object iPojo) |
ODatabaseObject |
OObjectDatabaseTx.delete(ORecord iRecord) |
ODatabaseObject |
OObjectDatabaseTx.delete(ORID iRID) |
ODatabaseObject |
OObjectDatabaseTx.delete(ORID iRID,
int iVersion) |
ODatabaseObject |
OrientDBObject.open(String name,
String user,
String password)
Open a database specified by name using the username and password if needed
|
ODatabaseObject |
OrientDBObject.open(String name,
String user,
String password,
OrientDBConfig config)
Open a database specified by name using the username and password if needed, with specific
configuration
|
Constructor and Description |
---|
ODictionaryWrapper(ODatabaseObject iDatabase,
OIndex index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
OObjectEntitySerializer.attach(T o,
ODatabaseObject db)
Method that attaches all data contained in the object to the associated document
|
static <T> T |
OObjectEntitySerializer.detach(T o,
ODatabaseObject db)
Method that detaches all fields contained in the document to the given object.
|
static <T> T |
OObjectEntitySerializer.detach(T o,
ODatabaseObject db,
boolean returnNonProxiedInstance)
Method that detaches all fields contained in the document to the g(e non fare al solitiven
object.
|
static <T> T |
OObjectEntitySerializer.detachAll(T o,
ODatabaseObject db,
boolean returnNonProxiedInstance,
Map<Object,Object> alreadyDetached,
Map<Object,Object> lazyObjects)
Method that detaches all fields contained in the document to the given object and recursively
all object tree.
|
protected void |
OObjectEntityEnhancer.initDocument(Class<?> iClass,
Object iInstance,
ODocument iDocument,
ODatabaseObject db) |
static <T> T |
OObjectEntitySerializer.serializeObject(T o,
ODatabaseObject db)
Method that given an object serialize it an creates a proxy entity, in case the object isn't
generated using the ODatabaseObject.newInstance()
|
protected static <T> T |
OObjectEntitySerializer.toStream(T iPojo,
javassist.util.proxy.Proxy iProxiedPojo,
ODatabaseObject db)
Serialize the user POJO to a ORecordDocument instance.
|
static Object |
OObjectEntitySerializer.typeToStream(Object iFieldValue,
OType iType,
ODatabaseObject db,
ODocument iRecord) |
Modifier and Type | Method and Description |
---|---|
static ORecordId |
OObjectSerializerHelper.getObjectID(ODatabaseObject iDb,
Object iPojo) |
static ODocument |
OObjectSerializerHelper.toStream(Object iPojo,
ODocument iRecord,
OEntityManager iEntityManager,
OClass schemaClass,
OUserObject2RecordHandler iObj2RecHandler,
ODatabaseObject db,
boolean iSaveOnlyDirty)
Serialize the user POJO to a ORecordDocument instance.
|
Copyright © 2009–2020 OrientDB. All rights reserved.