Class ResultsWriter

java.lang.Object
org.apache.jena.sparql.resultset.ResultsWriter

public class ResultsWriter extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a ResultsWriter.Builder.
    void
    write(OutputStream output, boolean booleanResult)
    Write a boolean result, using the configuration of the ResultWriter, to an OutputStream.
    void
    write(OutputStream output, ResultSet resultSet)
    Write a result set, using the configuration of the ResultWriter, to an OutputStream.
    void
    write(OutputStream output, RowSet rowSet)
    Write a result set, using the configuration of the ResultWriter, to an OutputStream.
    void
    write(String filename, boolean booleanResult)
    Write a boolean result, using the configuration of the ResultWriter, to a file
    void
    write(String filename, ResultSet resultSet)
    Write a result set, using the configuration of the ResultsWriter, to a file
    void
    write(String filename, RowSet rowSet)
    Write a result set, using the configuration of the ResultsWriter, to a file

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static ResultsWriter.Builder create()
      Create a ResultsWriter.Builder.
    • write

      public void write(String filename, ResultSet resultSet)
      Write a result set, using the configuration of the ResultsWriter, to a file
    • write

      public void write(String filename, RowSet rowSet)
      Write a result set, using the configuration of the ResultsWriter, to a file
    • write

      public void write(OutputStream output, ResultSet resultSet)
      Write a result set, using the configuration of the ResultWriter, to an OutputStream.
    • write

      public void write(OutputStream output, RowSet rowSet)
      Write a result set, using the configuration of the ResultWriter, to an OutputStream.
    • write

      public void write(String filename, boolean booleanResult)
      Write a boolean result, using the configuration of the ResultWriter, to a file
    • write

      public void write(OutputStream output, boolean booleanResult)
      Write a boolean result, using the configuration of the ResultWriter, to an OutputStream.