|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.orient.storage.OrientInstanceSink
public class OrientInstanceSink
Instance sink based on a LocalOrientDB
Constructor Summary | |
---|---|
OrientInstanceSink(LocalOrientDB database,
boolean lockNow)
Create an instance sink based on a LocalOrientDB |
Method Summary | |
---|---|
void |
addInstance(Instance instance)
Adds an instance to the sink |
void |
close()
|
protected void |
processInstance(Instance instance)
Process an instance before it is converted and saved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrientInstanceSink(LocalOrientDB database, boolean lockNow)
LocalOrientDB
database
- the sink databaselockNow
- if the database should be locked nowMethod Detail |
---|
public void addInstance(Instance instance)
InstanceSink
addInstance
in interface InstanceSink
instance
- the instance to addInstanceSink.addInstance(Instance)
protected void processInstance(Instance instance)
instance
- the instancepublic void close() throws IOException
close
in interface Closeable
IOException
Closeable.close()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |