Class OutputModes
java.lang.Object
org.aksw.jena_sparql_api.rx.io.resultset.OutputModes
Utils to derive an
OutputMode from given arguments such as
a collection of statements.- Author:
- raven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputModedetectOutputMode(Collection<? extends SparqlStmt> stmts) If the last query is a json query then the mode is json.static OutputModedetermineOutputMode(org.apache.jena.riot.Lang lang)
-
Constructor Details
-
OutputModes
public OutputModes()
-
-
Method Details
-
detectOutputMode
If the last query is a json query then the mode is json. If there is a construct query the mode is quads. If there is no construct query but a select one, the mode is bindings. -
determineOutputMode
-