public static enum Query.QueryType extends Enum<Query.QueryType>
Enum Constant and Description |
---|
BOOLEAN
Boolean queries (such as the SPARQL ASK query form) return either
true or false as the
result. |
GRAPH
Graph queries (such as the SPARQL CONSTRUCT and DESCRIBE query form) return a sequence of RDF
statements as the result. |
TUPLE
Tuple queries (such as the SPARQL SELECT query form) return a sequence of
sets of variable
bindings as the result. |
Modifier and Type | Method and Description |
---|---|
static Query.QueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.QueryType BOOLEAN
true
or false
as the
result.public static final Query.QueryType GRAPH
statements
as the result.public static final Query.QueryType TUPLE
sets of variable
bindings
as the result.public static Query.QueryType[] values()
for (Query.QueryType c : Query.QueryType.values()) System.out.println(c);
public static Query.QueryType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.