/** * {@inheritDoc} */ public Tuples findStringPoolType( SPObject.TypeCategory typeCategory, URI typeURI ) throws StringPoolException { try { // get the nodes from both string pools Tuples[] tuples = new Tuples[2]; tuples[0] = persistentStringPool.findGNodes(typeCategory, typeURI); tuples[1] = temporaryStringPool.findGNodes(typeCategory, typeURI); return appendTuples(tuples); } catch (TuplesException te) { throw new StringPoolException(te); } }
/** * {@inheritDoc} */ public Tuples findStringPoolRange( SPObject lowValue, boolean inclLowValue, SPObject highValue, boolean inclHighValue ) throws StringPoolException { try { // get the nodes from both string pools Tuples[] tuples = new Tuples[2]; tuples[0] = persistentStringPool.findGNodes(lowValue, inclLowValue, highValue, inclHighValue); tuples[1] = temporaryStringPool.findGNodes(lowValue, inclLowValue, highValue, inclHighValue); Tuples result = appendTuples(tuples); tuples[0].close(); tuples[1].close(); return result; } catch (TuplesException te) { throw new StringPoolException(te); } }