java.lang.Object
org.apache.jena.riot.rowset.rw.RowSetReaderJSONStreaming
- All Implemented Interfaces:
RowSetReader
Stream JSON format SPARQL Results.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationSettings
configureValidationFromContext
(ValidationSettings settings, Context cxt) Apply settings present in the context to a given ValidationSettings instancestatic RowSetBuffered<RowSetJSONStreaming<?>>
createRowSet
(InputStream in, Context context) static QueryExecResult
process
(InputStream in, Context context) readAny
(InputStream in, Context context) Read from anInputStream
and produce aQueryExecResult
.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.riot.rowset.RowSetReader
read, read
-
Field Details
-
rsJsonSearchHeadEagerly
Search for the head key eagerly on row set creation. This may immediately consume (and buffer) the whole stream if the head is located at the end. default: false -
rsJsonSeverityEmptyJson
-
rsJsonSeverityMissingHead
-
rsJsonSeverityInvalidatedResults
-
rsJsonSeverityInvalidatedHead
-
rsJsonSeverityMixedResults
-
rsJsonSeverityUnexpectedJsonElement
-
factory
-
-
Constructor Details
-
RowSetReaderJSONStreaming
public RowSetReaderJSONStreaming()
-
-
Method Details
-
readAny
Description copied from interface:RowSetReader
Read from anInputStream
and produce aQueryExecResult
. Note that return result may stream and so the input stream may be read while theRowSet
is used. SeeRowSetReader.read(InputStream, Context)
for more details- Specified by:
readAny
in interfaceRowSetReader
- Parameters:
in
- InputStream to read from.- Returns:
- QueryExecResult
-
process
-
createRowSet
-
configureValidationFromContext
public static ValidationSettings configureValidationFromContext(ValidationSettings settings, Context cxt) Apply settings present in the context to a given ValidationSettings instance
-