@Test public void getQuadIDs() throws Exception { final Value s = buildResource(randomString()); final Value p = buildResource(randomString()); final Value o = buildResource(randomString()); final Value c = buildResource(randomString()); _cut.getIDs(s, p, o, c); verify(_cut).getID(s, false); verify(_cut).getID(p, true); verify(_cut).getID(o, false); verify(_cut).getID(c, false); }
@Override public byte[][] getIDs(final Value s, final Value p, final Value o) throws DataAccessLayerException { return new byte[][] { getID(s, false), getID(p, true), getID(o, false) }; }
ValueDictionaryBase extends DictionaryBase<Value> implements ITopLevelDictionary { @Override public byte[][] getIDs(final Value s, final Value p, final Value o) throws DataAccessLayerException { return new byte[][] { getID(s, false), getID(p, true), getID(o, false) }; } }
ValueDictionaryBase extends DictionaryBase<Value> implements ITopLevelDictionary { @Override public byte[][] getIDs(final Value s, final Value p, final Value o) throws DataAccessLayerException { return new byte[][] { getID(s, false), getID(p, true), getID(o, false) }; } ValueDictionaryBase(final String id); }
ValueDictionaryBase extends DictionaryBase<Value> implements ITopLevelDictionary { @Override public byte[][] getIDs(final Value s, final Value p, final Value o) throws DataAccessLayerException { return new byte[][] { getID(s, false), getID(p, true), getID(o, false) }; } ValueDictionaryBase(final String id); @Override byte[][] getIDs(final Value s, final Value p, final Value o); @Override byte[][] getIDs(final Value s, final Value p, final Value o, final Value c); @Override Statement getValues(final byte[] s, final byte[] p, final byte[] o); @Override Statement getValues(final byte[] s, final byte[] p, final byte[] o, final byte[] c); @Override Iterator<byte[][]> toIDQuadIterator(final Iterator<Statement> quads); @Override Iterator<byte[][]> toIDTripleIterator(final Iterator<Statement> triples); @Override Iterator<Statement> toValueQuadIterator(final Iterator<byte[][]> quads); @Override Iterator<Statement> toValueTripleIterator(final Iterator<byte[][]> triples); @Override byte[][] decompose(final byte[] compositeId); @Override byte[] compose(final byte[] id1, final byte[] id2); @Override byte[] compose(final byte[] id1, final byte[] id2, final byte[] id3); }
ValueDictionaryBase extends DictionaryBase<Value> implements ITopLevelDictionary { @Override public byte[][] getIDs(final Value s, final Value p, final Value o) throws DataAccessLayerException { return new byte[][] { getID(s, false), getID(p, true), getID(o, false) }; } ValueDictionaryBase(final String id); @Override byte[][] getIDs(final Value s, final Value p, final Value o); @Override byte[][] getIDs(final Value s, final Value p, final Value o, final Value c); @Override Statement getValues(final byte[] s, final byte[] p, final byte[] o); @Override Statement getValues(final byte[] s, final byte[] p, final byte[] o, final byte[] c); @Override Iterator<byte[][]> toIDQuadIterator(final Iterator<Statement> quads); @Override Iterator<byte[][]> toIDTripleIterator(final Iterator<Statement> triples); @Override Iterator<Statement> toValueQuadIterator(final Iterator<byte[][]> quads); @Override Iterator<Statement> toValueTripleIterator(final Iterator<byte[][]> triples); @Override byte[][] decompose(final byte[] compositeId); @Override byte[] compose(final byte[] id1, final byte[] id2); @Override byte[] compose(final byte[] id1, final byte[] id2, final byte[] id3);  }