Interface ResultSetReader

    • Method Detail

      • read

        default ResultSet read​(java.io.InputStream in,
                               Context context)
        Read from an InputStream and produce a ResultSet. Note that return result may stream and so the input stream may be read while the ResultSet is used. See ResultSetFactory.copyResults(ResultSet) for a ResultSet that is detached from the InputStream.
        Parameters:
        in - InputStream to read from.
        context -
        Returns:
        ResultSet
      • readAny

        SPARQLResult readAny​(java.io.InputStream in,
                             Context context)
        Read from an InputStream and produce a SPARQLResult. Note that return result may stream and so the input stream may be read while the ResultSet is used. See read(InputStream, Context) for more details
        Parameters:
        in - InputStream to read from.
        context -
        Returns:
        SPARQLResult
      • read

        default ResultSet read​(java.io.Reader in,
                               Context context)
        Using read(InputStream, Context) is preferred.

        Notall formast support reading from a java.io.Reader.

        Read from an Reader and produce a ResultSet. Note that return result may stream and so the reader may be read while the ResultSet is used. See ResultSetFactory.copyResults(ResultSet) for a ResultSet that is detached from the InputStream.

        Parameters:
        in - Reader
        context -
        Returns:
        ResultSet