Class RowSetReaderTSV

java.lang.Object
org.apache.jena.riot.rowset.rw.RowSetReaderTSV
All Implemented Interfaces:
RowSetReader

public class RowSetReaderTSV extends Object implements RowSetReader
  • Field Details

  • Method Details

    • readAny

      public QueryExecResult readAny(InputStream in, Context context)
      Description copied from interface: RowSetReader
      Read from an InputStream and produce a QueryExecResult. Note that return result may stream and so the input stream may be read while the RowSet is used. See RowSetReader.read(InputStream, Context) for more details
      Specified by:
      readAny in interface RowSetReader
      Parameters:
      in - InputStream to read from.
      context -
      Returns:
      QueryExecResult
    • read

      public RowSet read(InputStream in, Context context)
      Description copied from interface: RowSetReader
      Read from an InputStream and produce a RowSet. Note that return row set may stream and so the input stream may be read while the RowSet is used. See RowSet.materialize() for a RowSet that is detached from the InputStream.
      Specified by:
      read in interface RowSetReader
      Parameters:
      in - InputStream to read from.
      context -
      Returns:
      RowSet
    • resultSetFromTSV

      public static RowSet resultSetFromTSV(InputStream in)
      Reads SPARQL Results from TSV format into a RowSet instance
      Parameters:
      in - Input Stream
    • booleanFromTSV

      public static boolean booleanFromTSV(InputStream in)
      Reads SPARQL Boolean result from TSV
      Parameters:
      in - Input Stream
      Returns:
      boolean