Package com.iotics.api
Interface SparqlQueryRequest.PayloadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparqlQueryRequest.Payload,SparqlQueryRequest.Payload.Builder
- Enclosing class:
- SparqlQueryRequest
public static interface SparqlQueryRequest.PayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetQuery()A UTF8-encoded SPARQL 1.1 queryThe desired result content type.intThe desired result content type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResultContentTypeValue
int getResultContentTypeValue()The desired result content type. Note that choosing an invalid result type for the type of query will result in an error status reported in the response. (See SparqlResultType for valid content-query type combinations.)
.iotics.api.SparqlResultType resultContentType = 1;- Returns:
- The enum numeric value on the wire for resultContentType.
-
getResultContentType
SparqlResultType getResultContentType()The desired result content type. Note that choosing an invalid result type for the type of query will result in an error status reported in the response. (See SparqlResultType for valid content-query type combinations.)
.iotics.api.SparqlResultType resultContentType = 1;- Returns:
- The resultContentType.
-
getQuery
com.google.protobuf.ByteString getQuery()A UTF8-encoded SPARQL 1.1 query
bytes query = 2;- Returns:
- The query.
-