Enum QueryEvaluationMode
- java.lang.Object
-
- java.lang.Enum<QueryEvaluationMode>
-
- org.eclipse.rdf4j.common.transaction.QueryEvaluationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryEvaluationMode>
,TransactionSetting
public enum QueryEvaluationMode extends Enum<QueryEvaluationMode> implements TransactionSetting
The Query Evaluation Mode determines the behaviour of the SPARQL query engine on RDF4J repositories. It currently supports two modes,STRICT
and andSTANDARD
.- Author:
- Jeen Broekstra
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STANDARD
Standard mode extends minimal compliance with various practical operator behavioral extensions, in a way that is still compliant with the SPARQL 1.1 specification (as described in section 17.3.1 of the SPARQL 1.1 Query Recommendation).STRICT
Strict minimally-compliant mode for SPARQL 1.1.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryEvaluationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryEvaluationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.eclipse.rdf4j.common.transaction.TransactionSetting
getName, getValue
-
-
-
-
Enum Constant Detail
-
STRICT
public static final QueryEvaluationMode STRICT
Strict minimally-compliant mode for SPARQL 1.1. In this mode, no operators have been extended (as described in section 17.3.1 of the SPARQL 1.1 Query Recommendation).
-
STANDARD
public static final QueryEvaluationMode STANDARD
Standard mode extends minimal compliance with various practical operator behavioral extensions, in a way that is still compliant with the SPARQL 1.1 specification (as described in section 17.3.1 of the SPARQL 1.1 Query Recommendation).
-
-
Method Detail
-
values
public static QueryEvaluationMode[] 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 (QueryEvaluationMode c : QueryEvaluationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryEvaluationMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-