public interface ExternalStore
ExternalIdentifyable
objects.Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits all pending changes to the underlying storage
|
void |
dispose()
Closes the storage and releases all resources
|
StringPool |
getAttributeKeyPool() |
org.deckfour.xes.model.XAttributeMap |
getAttributes(ExternalAttributable attributable) |
IdFactory |
getIdFactory() |
StringPool |
getLiteralPool() |
org.processmining.xeslite.external.PumpService |
getPumpService() |
boolean |
hasAttributes(ExternalAttributable attributable) |
boolean |
isPumping() |
org.deckfour.xes.model.XLog |
loadLogStructure(XFactoryExternalStore factory)
Loads a saved XLog from the external store
|
org.deckfour.xes.model.XAttributeMap |
removeAttributes(ExternalAttributable attributable) |
void |
saveLogStructure(org.deckfour.xes.model.XLog log)
Saves the XLog to the external store
|
void |
setAttributes(ExternalAttributable attributable,
org.deckfour.xes.model.XAttributeMap attributes) |
org.processmining.xeslite.external.PumpService |
startPump()
Starts the batch import mode (can only be done once).
|
org.deckfour.xes.model.XAttributeMap getAttributes(ExternalAttributable attributable)
void setAttributes(ExternalAttributable attributable, org.deckfour.xes.model.XAttributeMap attributes)
org.deckfour.xes.model.XAttributeMap removeAttributes(ExternalAttributable attributable)
boolean hasAttributes(ExternalAttributable attributable)
StringPool getAttributeKeyPool()
StringPool
that is used to map key String
s to
Integer
sStringPool getLiteralPool()
StringPool
that is used to map general literals
String
s to Integer
sIdFactory getIdFactory()
IdFactory
that can be used to obtain new 'unique'
identifiers for objects stored in the ExternalStore
void commit()
void dispose()
org.processmining.xeslite.external.PumpService startPump()
PumpService
MUST be used. Any other operation will fail or lead to a deadlock!org.processmining.xeslite.external.PumpService getPumpService()
boolean isPumping()
void saveLogStructure(org.deckfour.xes.model.XLog log)
log
- org.deckfour.xes.model.XLog loadLogStructure(XFactoryExternalStore factory)
factory
-