Search in sources :

Example 1 with RDFNode

use of com.questdb.model.RDFNode in project questdb by bluestreak01.

the class LinkedJournalSymbolTableTest method setUp.

@Before
public void setUp() throws Exception {
    origin = getFactory().writer(RDFNode.class, "origin");
    master = getFactory().writer(RDFNode.class, "master");
    slave = getFactory().writer(RDFNode.class, "slave");
    channel = new MockByteChannel();
    journalSymbolTableProducer = new JournalSymbolTableProducer(master);
    journalSymbolTableConsumer = new JournalSymbolTableConsumer(slave);
    origin.append(new RDFNode().setObj("O1").setSubj("S1"));
    origin.append(new RDFNode().setObj("O2").setSubj("S1"));
    origin.append(new RDFNode().setObj("O3").setSubj("S2"));
    origin.append(new RDFNode().setObj("S2").setSubj("S1"));
}
Also used : JournalSymbolTableProducer(com.questdb.net.ha.producer.JournalSymbolTableProducer) RDFNode(com.questdb.model.RDFNode) JournalSymbolTableConsumer(com.questdb.net.ha.comsumer.JournalSymbolTableConsumer) Before(org.junit.Before)

Aggregations

RDFNode (com.questdb.model.RDFNode)1 JournalSymbolTableConsumer (com.questdb.net.ha.comsumer.JournalSymbolTableConsumer)1 JournalSymbolTableProducer (com.questdb.net.ha.producer.JournalSymbolTableProducer)1 Before (org.junit.Before)1