Interface RdfDataSourceObservable
- All Known Implementing Classes:
RdfDataSourceObservableImpl
public interface RdfDataSourceObservable
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<org.aksw.jenax.arq.util.binding.ResultTable>observeSelect(org.apache.jena.query.Query query) Returns a flowable for the result table of the given query.voidrefreshAll(boolean cancelRunning)
-
Method Details
-
observeSelect
io.reactivex.rxjava3.core.Flowable<org.aksw.jenax.arq.util.binding.ResultTable> observeSelect(org.apache.jena.query.Query query) Returns a flowable for the result table of the given query. The flowable is idle until subscription. Upon subscription either the query is executed or if there is a cached value from a prior execution then this one will be re-emitted. To re-execute a query it needs to be refreshed e.g. via#refreshAll(). If no change is detected after a refresh then no additional event should be sent. -
refreshAll
void refreshAll(boolean cancelRunning)
-