/** * Internal variant of find which omits the filters which block illegal RDF data. * @param pattern a TriplePattern to be matched against the data */ public ExtendedIterator<Triple> findFull(TriplePattern pattern) { checkOpen(); this.requirePrepared(); return bEngine.find(pattern).filterKeep( new UniqueFilter<Triple>()); }
/** * Internal variant of find which omits the filters which block illegal RDF data. * @param pattern a TriplePattern to be matched against the data */ public ExtendedIterator<Triple> findFull(TriplePattern pattern) { checkOpen(); this.requirePrepared(); return bEngine.find(pattern).filterKeep( new UniqueFilter<Triple>()); }
this.requirePrepared(); engine.add(validateOn);
this.requirePrepared(); engine.add(validateOn);
/** * Extended find interface used in situations where the implementator * may or may not be able to answer the complete query. It will * attempt to answer the pattern but if its answers are not known * to be complete then it will also pass the request on to the nested * Finder to append more results. * @param pattern a TriplePattern to be matched against the data * @param continuation either a Finder or a normal Graph which * will be asked for additional match results if the implementor * may not have completely satisfied the query. */ @Override public ExtendedIterator<Triple> findWithContinuation(TriplePattern pattern, Finder continuation) { checkOpen(); this.requirePrepared(); ExtendedIterator<Triple> result =bEngine.find(pattern).filterKeep( new UniqueFilter<Triple>()); if (continuation != null) { result = result.andThen(continuation.find(pattern)); } if (filterFunctors) { // return result.filterDrop(Functor.acceptFilter); return result.filterDrop( t -> FBRuleInfGraph.this.accept( t ) ); } else { return result; } }
/** * Extended find interface used in situations where the implementator * may or may not be able to answer the complete query. It will * attempt to answer the pattern but if its answers are not known * to be complete then it will also pass the request on to the nested * Finder to append more results. * @param pattern a TriplePattern to be matched against the data * @param continuation either a Finder or a normal Graph which * will be asked for additional match results if the implementor * may not have completely satisfied the query. */ @Override public ExtendedIterator<Triple> findWithContinuation(TriplePattern pattern, Finder continuation) { checkOpen(); this.requirePrepared(); ExtendedIterator<Triple> result =bEngine.find(pattern).filterKeep( new UniqueFilter<Triple>()); if (continuation != null) { result = result.andThen(continuation.find(pattern)); } if (filterFunctors) { // return result.filterDrop(Functor.acceptFilter); return result.filterDrop( t -> FBRuleInfGraph.this.accept( t ) ); } else { return result; } }