Package com.complexible.common.rdf.query
Enum SPARQLUtil.QueryType
- java.lang.Object
-
- java.lang.Enum<SPARQLUtil.QueryType>
-
- com.complexible.common.rdf.query.SPARQLUtil.QueryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SPARQLUtil.QueryType>
- Enclosing class:
- SPARQLUtil
public static enum SPARQLUtil.QueryType extends java.lang.Enum<SPARQLUtil.QueryType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SPARQLUtil.QueryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SPARQLUtil.QueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final SPARQLUtil.QueryType SELECT
-
GRAPH
public static final SPARQLUtil.QueryType GRAPH
-
ASK
public static final SPARQLUtil.QueryType ASK
-
UPDATE
public static final SPARQLUtil.QueryType UPDATE
-
DESCRIBE
public static final SPARQLUtil.QueryType DESCRIBE
A query of the same type asGRAPH
, but used in a few instances to disambiguate between construct and describe. It is not inferred from eithergetType
method.
-
VALIDATE
public static final SPARQLUtil.QueryType VALIDATE
-
PATH
public static final SPARQLUtil.QueryType PATH
-
PLAN
public static final SPARQLUtil.QueryType PLAN
-
-
Method Detail
-
values
public static SPARQLUtil.QueryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SPARQLUtil.QueryType c : SPARQLUtil.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SPARQLUtil.QueryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-