Class IteratorAsGraphQueryResult

    • Constructor Detail

      • IteratorAsGraphQueryResult

        public IteratorAsGraphQueryResult​(CloseableIterator<Statement> theIter,
                                          java.lang.Iterable<Namespace> theNamespacesProvider,
                                          java.lang.Runnable theOnClose,
                                          java.lang.Runnable theOnSuccess,
                                          java.util.function.Function<java.lang.Exception,​java.lang.RuntimeException> theOnFailure)
    • Method Detail

      • namespaces

        @Nonnull
        public Namespaces namespaces()
        The set of namespaces, if specified, that are to be used with the result set.
        Specified by:
        namespaces in interface GraphQueryResult
        Returns:
        the namespaces
      • computeNext

        protected T computeNext()
        Specified by:
        computeNext in class com.google.common.collect.AbstractIterator<T>