Package com.iotics.api
Class MetaAPIGrpc.MetaAPIBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MetaAPIGrpc.MetaAPIBlockingStub>
com.iotics.api.MetaAPIGrpc.MetaAPIBlockingStub
- Enclosing class:
- MetaAPIGrpc
public static final class MetaAPIGrpc.MetaAPIBlockingStub
extends io.grpc.stub.AbstractBlockingStub<MetaAPIGrpc.MetaAPIBlockingStub>
MetaAPI enables querying of metadata associated with Twins and Feeds. Services only affect local resources, unless stated otherwise.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected MetaAPIGrpc.MetaAPIBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) explorerQuery(ExplorerRequest request) ExplorerQuery - Deprecated - use SparqlQuery instead.sparqlQuery(SparqlQueryRequest request) SparqlQuery performs a SPARQL 1.1 query and returns one or more results, each as a sequence of chunks.sparqlUpdate(SparqlUpdateRequest request) SparqlUpdate performs a SPARQL 1.1 update.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected MetaAPIGrpc.MetaAPIBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetaAPIGrpc.MetaAPIBlockingStub>
-
sparqlQuery
SparqlQuery performs a SPARQL 1.1 query and returns one or more results, each as a sequence of chunks. Note that: - Chunks for a particular result will arrive in-order though they might be interleaved with chunks from other results (when performing a non-local query). See scope parameter in SparqlQueryRequest; - The call will only complete once the (specified or host default) request timeout has been reached. The client can choose to end the stream early once they have received enough results. (E.g. in the case of Scope.LOCAL this would be after the one and only sequence of chunks has been received.). (local and remote)
-
sparqlUpdate
SparqlUpdate performs a SPARQL 1.1 update. When performing an update, the update query must contain a reference to one of the following graph IRIs: 1. http://data.iotics.com/graph#custom-public (aka custom public graph) - All metadata written to this graph will be visible during SPARQL queries both with local & global scope (and thus, the Iotics network). -
explorerQuery
ExplorerQuery - Deprecated - use SparqlQuery instead.
-