Class IteratorAsTupleQueryResult

    • Constructor Detail

      • IteratorAsTupleQueryResult

        public IteratorAsTupleQueryResult​(CloseableIterator<BindingSet> theIter,
                                          java.util.List<java.lang.String> theBindingNames)
      • IteratorAsTupleQueryResult

        public IteratorAsTupleQueryResult​(CloseableIterator<BindingSet> theIter,
                                          java.util.List<java.lang.String> theBindingNames,
                                          java.lang.Runnable theOnClose,
                                          java.lang.Runnable theOnSuccess,
                                          java.util.function.Function<java.lang.Exception,​java.lang.RuntimeException> theOnError)
    • Method Detail

      • variables

        public java.util.List<java.lang.String> variables()
        Return the list of projected variables from the query
        Specified by:
        variables in interface SelectQueryResult
        Returns:
        the projection
      • computeNext

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