org.nsdl.mptstore.query.lang
Class QueryLanguage

java.lang.Object
  extended by org.nsdl.mptstore.query.lang.QueryLanguage

public class QueryLanguage
extends java.lang.Object

An RDF query language.

Author:
cwilper@cs.cornell.edu

Field Summary
static QueryLanguage SPARQL
          SPARQL.
static QueryLanguage SPO
          SPO.
 
Constructor Summary
protected QueryLanguage(java.lang.String name)
          Instantiate a QueryLanguage.
 
Method Summary
 java.lang.String getName()
          Get the name of this language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPO

public static final QueryLanguage SPO
SPO.

See Also:
SPOQueryCompiler

SPARQL

public static final QueryLanguage SPARQL
SPARQL.

See Also:
SPARQL Query Language for RDF
Constructor Detail

QueryLanguage

protected QueryLanguage(java.lang.String name)
Instantiate a QueryLanguage.

Parameters:
name - the name.
Method Detail

getName

public java.lang.String getName()
Get the name of this language.

Returns:
the name.