java.lang.Object
org.apache.jena.sparql.exec.RowSetOps
RowSetFormatter - Convenience ways to call the various output formatters.
in various formats.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
This operation faithfully walks the rowSet but does nothing with the rows.static long
Count the rows in the RowSet (from the current point of RowSet).static void
out
(boolean answer) Output an ASK answerstatic void
out
(OutputStream out, boolean answer) Output an ASK answerstatic void
out
(OutputStream out, RowSet rowSet) Output a result set in a text format.static void
out
(OutputStream out, RowSet resultSet, PrefixMap pmap) Output a result set in a text format.static void
out
(OutputStream out, RowSet rowSet, Prologue prologue) Output a result set in a text format.static void
Output a result set in a text format.
-
Method Details
-
consume
This operation faithfully walks the rowSet but does nothing with the rows. -
count
Count the rows in the RowSet (from the current point of RowSet). This operation consumes the RowSet. -
out
Output a result set in a text format. The result set is consumed. Use @see{ResultSetFactory.makeRewindable(ResultSet)} for a rewindable one.This caches the entire results in memory in order to determine the appropriate column widths and therefore may exhaust memory for large results
- Parameters:
rowSet
- result set
-
out
Output a result set in a text format.This caches the entire results in memory in order to determine the appropriate column widths and therefore may exhaust memory for large results
- Parameters:
out
- OutputStreamrowSet
- result set
-
out
Output a result set in a text format.This caches the entire results in memory in order to determine the appropriate column widths and therefore may exhaust memory for large results
- Parameters:
out
- OutputStreamresultSet
- Result setpmap
- Prefix mapping for abbreviating URIs.
-
out
Output a result set in a text format. The result set is consumed. Use @see{ResultSetFactory.makeRewindable(ResultSet)} for a rewindable one.This caches the entire results in memory in order to determine the appropriate column widths and therefore may exhaust memory for large results
- Parameters:
out
- OutputStreamrowSet
- result setprologue
- Prologue, used to abbreviate IRIs
-
out
public static void out(boolean answer) Output an ASK answer- Parameters:
answer
- The boolean answer
-
out
Output an ASK answer- Parameters:
out
- OutputStreamanswer
- The boolean answer
-