Class MetaAPIGrpc.MetaAPIImplBase

java.lang.Object
com.iotics.api.MetaAPIGrpc.MetaAPIImplBase
All Implemented Interfaces:
io.grpc.BindableService
Enclosing class:
MetaAPIGrpc

public abstract static class MetaAPIGrpc.MetaAPIImplBase extends Object implements io.grpc.BindableService
 MetaAPI enables querying of metadata associated with Twins and Feeds.
 Services only affect local resources, unless stated otherwise.
 
  • Constructor Details

    • MetaAPIImplBase

      public MetaAPIImplBase()
  • Method Details

    • sparqlQuery

      public void sparqlQuery(SparqlQueryRequest request, io.grpc.stub.StreamObserver<SparqlQueryResponse> responseObserver)
       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 void sparqlUpdate(SparqlUpdateRequest request, io.grpc.stub.StreamObserver<SparqlUpdateResponse> responseObserver)
       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 void explorerQuery(ExplorerRequest request, io.grpc.stub.StreamObserver<SparqlQueryResponse> responseObserver)
       ExplorerQuery - Deprecated - use SparqlQuery instead.
       
    • bindService

      public final io.grpc.ServerServiceDefinition bindService()
      Specified by:
      bindService in interface io.grpc.BindableService