Class EmbeddingJournalUpdateStrategy
- java.lang.Object
-
- org.projectbarbel.histo.functions.EmbeddingJournalUpdateStrategy
-
- All Implemented Interfaces:
BiConsumer<DocumentJournal,Bitemporal>
,UpdateCaseAware
public class EmbeddingJournalUpdateStrategy extends Object implements BiConsumer<DocumentJournal,Bitemporal>, UpdateCaseAware
The heart ofBarbelHisto
where the journal updates are performed according to the bitemporal data rules.- Author:
- Niklas Schlimm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmbeddingJournalUpdateStrategy.JournalUpdateCase
-
Constructor Summary
Constructors Constructor Description EmbeddingJournalUpdateStrategy(BarbelHistoContext context)
-
Method Summary
Modifier and Type Method Description void
accept(DocumentJournal journal, Bitemporal update)
EmbeddingJournalUpdateStrategy.JournalUpdateCase
getActualCase()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Constructor Detail
-
EmbeddingJournalUpdateStrategy
public EmbeddingJournalUpdateStrategy(BarbelHistoContext context)
-
-
Method Detail
-
getActualCase
public EmbeddingJournalUpdateStrategy.JournalUpdateCase getActualCase()
- Specified by:
getActualCase
in interfaceUpdateCaseAware
-
accept
public void accept(DocumentJournal journal, Bitemporal update)
- Specified by:
accept
in interfaceBiConsumer<DocumentJournal,Bitemporal>
-
-