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.
 
  • Method Details

    • build

      protected MetaAPIGrpc.MetaAPIBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<MetaAPIGrpc.MetaAPIBlockingStub>
    • sparqlQuery

      public Iterator<SparqlQueryResponse> sparqlQuery(SparqlQueryRequest request)
       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

      public SparqlUpdateResponse sparqlUpdate(SparqlUpdateRequest request)
       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

      public Iterator<SparqlQueryResponse> explorerQuery(ExplorerRequest request)
       ExplorerQuery - Deprecated - use SparqlQuery instead.