Enum Class SparqlResultType

java.lang.Object
java.lang.Enum<SparqlResultType>
com.iotics.api.SparqlResultType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SparqlResultType>, Constable

public enum SparqlResultType extends Enum<SparqlResultType> implements com.google.protobuf.ProtocolMessageEnum
 SparqlResultType defines the result content types for SPARQL requests. Note that applicable content types depend on
 the type of query.
 
Protobuf enum iotics.api.SparqlResultType
  • Enum Constant Details

    • SPARQL_JSON

      public static final SparqlResultType SPARQL_JSON
       Applicable to SELECT/ASK (SPARQL 1.1 Query Results JSON Format)
       
      SPARQL_JSON = 0;
    • SPARQL_XML

      public static final SparqlResultType SPARQL_XML
       Applicable to SELECT/ASK (SPARQL 1.1 Query Results XML Format)
       
      SPARQL_XML = 1;
    • SPARQL_CSV

      public static final SparqlResultType SPARQL_CSV
       Applicable to SELECT/ASK (SPARQL 1.1. Query Results CSV Format)
       
      SPARQL_CSV = 2;
    • RDF_TURTLE

      public static final SparqlResultType RDF_TURTLE
       Applicable to CONSTRUCT/DESCRIBE (Terse RDF Triple Language)
       
      RDF_TURTLE = 3;
    • RDF_XML

      public static final SparqlResultType RDF_XML
       Applicable to CONSTRUCT/DESCRIBE (RDF 1.1 XML)
       
      RDF_XML = 4;
    • RDF_NTRIPLES

      public static final SparqlResultType RDF_NTRIPLES
       Applicable to CONSTRUCT/DESCRIBE (RDF 1.1 N-Triples)
       
      RDF_NTRIPLES = 5;
    • UNRECOGNIZED

      public static final SparqlResultType UNRECOGNIZED
  • Field Details

    • SPARQL_JSON_VALUE

      public static final int SPARQL_JSON_VALUE
       Applicable to SELECT/ASK (SPARQL 1.1 Query Results JSON Format)
       
      SPARQL_JSON = 0;
      See Also:
    • SPARQL_XML_VALUE

      public static final int SPARQL_XML_VALUE
       Applicable to SELECT/ASK (SPARQL 1.1 Query Results XML Format)
       
      SPARQL_XML = 1;
      See Also:
    • SPARQL_CSV_VALUE

      public static final int SPARQL_CSV_VALUE
       Applicable to SELECT/ASK (SPARQL 1.1. Query Results CSV Format)
       
      SPARQL_CSV = 2;
      See Also:
    • RDF_TURTLE_VALUE

      public static final int RDF_TURTLE_VALUE
       Applicable to CONSTRUCT/DESCRIBE (Terse RDF Triple Language)
       
      RDF_TURTLE = 3;
      See Also:
    • RDF_XML_VALUE

      public static final int RDF_XML_VALUE
       Applicable to CONSTRUCT/DESCRIBE (RDF 1.1 XML)
       
      RDF_XML = 4;
      See Also:
    • RDF_NTRIPLES_VALUE

      public static final int RDF_NTRIPLES_VALUE
       Applicable to CONSTRUCT/DESCRIBE (RDF 1.1 N-Triples)
       
      RDF_NTRIPLES = 5;
      See Also:
  • Method Details

    • values

      public static SparqlResultType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SparqlResultType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static SparqlResultType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static SparqlResultType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<SparqlResultType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static SparqlResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null