public abstract class PostProcessor extends Object
Simple helper class which contains IndexPostProcessor and CountPostProcessor.
This is so we can hold all the logic for post processing in one place without encapsulating too much
diverging logic in one class
| Constructor and Description |
|---|
PostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
abstract CountPostProcessor |
count() |
static PostProcessor |
create(IndexPostProcessor indexPostProcessor,
CountPostProcessor countPostProcessor) |
abstract IndexPostProcessor |
index() |
void |
submit(ai.grakn.kb.log.CommitLog commitLog)
Submits a
CommitLog to be stored and post processed later |
public abstract IndexPostProcessor index()
public abstract CountPostProcessor count()
public static PostProcessor create(IndexPostProcessor indexPostProcessor, CountPostProcessor countPostProcessor)
public void submit(ai.grakn.kb.log.CommitLog commitLog)
CommitLog to be stored and post processed latercommitLog - The CommitLog to store for usage laterCopyright © 2018 Grakn Labs Ltd. All rights reserved.