E
- type of entitypublic class ODBPersistTransformer<E,T> extends Object implements UpdatableContext<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>, org.apache.commons.collections.Transformer, Function<E,T>
connectionPool
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
clusterName
Will specify cluster in which document is to be persisted
|
protected com.orientechnologies.orient.core.db.OPartitionedDatabasePool |
connectionPool |
protected List<RegisterClass> |
registerClasses |
Constructor and Description |
---|
ODBPersistTransformer() |
ODBPersistTransformer(ODBPersistTransformer t) |
Modifier and Type | Method and Description |
---|---|
T |
apply(E input) |
String |
getClusterName()
Will specify cluster in which document is to be persisted
|
com.orientechnologies.orient.core.db.OPartitionedDatabasePool |
getConnectionPool() |
List<RegisterClass> |
getRegisterClasses() |
void |
setClusterName(String clusterName)
Will specify cluster in which document is to be persisted
|
void |
setConnectionPool(com.orientechnologies.orient.core.db.OPartitionedDatabasePool connectionPool) |
void |
setRegisterClasses(List<RegisterClass> registerClasses) |
Object |
transform(Object input) |
void |
updateContext(com.orientechnologies.orient.core.db.OPartitionedDatabasePool odbConnectionPool) |
protected transient com.orientechnologies.orient.core.db.OPartitionedDatabasePool connectionPool
protected String clusterName
protected List<RegisterClass> registerClasses
public ODBPersistTransformer()
public ODBPersistTransformer(ODBPersistTransformer t)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public String getClusterName()
public void setClusterName(String clusterName)
public List<RegisterClass> getRegisterClasses()
public void setRegisterClasses(List<RegisterClass> registerClasses)
registerClasses
- the registerClasses to setpublic com.orientechnologies.orient.core.db.OPartitionedDatabasePool getConnectionPool()
public void setConnectionPool(com.orientechnologies.orient.core.db.OPartitionedDatabasePool connectionPool)
public void updateContext(com.orientechnologies.orient.core.db.OPartitionedDatabasePool odbConnectionPool)
updateContext
in interface UpdatableContext<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>
Copyright © 2018. All rights reserved.