java.lang.Object
org.apache.jena.riot.rowset.rw.RowSetReaderJSONStreaming
- All Implemented Interfaces:
RowSetReader
Stream JSON format SPARQL Results.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationSettingsconfigureValidationFromContext(ValidationSettings settings, Context cxt) Apply settings present in the context to a given ValidationSettings instancestatic RowSetBuffered<RowSetJSONStreaming<?>>createRowSet(InputStream in, Context context) static QueryExecResultprocess(InputStream in, Context context) readAny(InputStream in, Context context) Read from anInputStreamand produce aQueryExecResult.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:RowSetReaderRead from anInputStreamand produce aQueryExecResult. Note that return result may stream and so the input stream may be read while theRowSetis used. SeeRowSetReader.read(InputStream, Context)for more details- Specified by:
readAnyin 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
-