com.clarkparsia.pellet.sparqldl.jena
Enum SparqlDLExecutionFactory.QueryEngineType

java.lang.Object
  extended by java.lang.Enum<SparqlDLExecutionFactory.QueryEngineType>
      extended by com.clarkparsia.pellet.sparqldl.jena.SparqlDLExecutionFactory.QueryEngineType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SparqlDLExecutionFactory.QueryEngineType>
Enclosing class:
SparqlDLExecutionFactory

public static enum SparqlDLExecutionFactory.QueryEngineType
extends java.lang.Enum<SparqlDLExecutionFactory.QueryEngineType>

Different types of query engine that can be used for answering queries.


Enum Constant Summary
ARQ
          This is the standard ARQ query engine where all the query answering bits are handled by ARQ and Jena and the underlying Pellet model is queried with single triple patterns.
MIXED
          The mixed query engine uses ARQ to handle SPARQL algebra and the Pellet query engine is used to answer Basic Graph Patterns (BGPs).
PELLET
          This is the specialized Pellet query engine that will answer SPARQL-DL queries.
 
Method Summary
static SparqlDLExecutionFactory.QueryEngineType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SparqlDLExecutionFactory.QueryEngineType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARQ

public static final SparqlDLExecutionFactory.QueryEngineType ARQ
This is the standard ARQ query engine where all the query answering bits are handled by ARQ and Jena and the underlying Pellet model is queried with single triple patterns. For this reason, this query engine cannot handle complex class expressions in the query.


MIXED

public static final SparqlDLExecutionFactory.QueryEngineType MIXED
The mixed query engine uses ARQ to handle SPARQL algebra and the Pellet query engine is used to answer Basic Graph Patterns (BGPs). Unlike pure Pellet engine, this engine can answer any kind of SPARQL query however it might be slightly slower for queries supported by Pellet engine. On the other hand, this engine typically performs better than the ARQ engine since answering a BGP as a whole is faster than answering each triple in isolation.


PELLET

public static final SparqlDLExecutionFactory.QueryEngineType PELLET
This is the specialized Pellet query engine that will answer SPARQL-DL queries. This is the most efficient query engine to answer SPARQL queries with Pellet. However, some queries are not supported by this query engine and will cause QueryException to be thrown. Unsupported features are: All other SPARQL operators and query forms are supported.

Method Detail

values

public static SparqlDLExecutionFactory.QueryEngineType[] 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 (SparqlDLExecutionFactory.QueryEngineType c : SparqlDLExecutionFactory.QueryEngineType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SparqlDLExecutionFactory.QueryEngineType 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 name
java.lang.NullPointerException - if the argument is null


Copyright © 2004 Evren Sirin. All Rights Reserved.