public class QueryLanguage extends Object
Modifier and Type | Field and Description |
---|---|
static QueryLanguage |
SERQL
SeRQL (Sesame RDF Query Language) is a Sesame-specific query language for RDF, which predates SPARQL.
|
static QueryLanguage |
SERQO
Deprecated.
since 2.0. This language is no longer actively supported.
|
static QueryLanguage |
SPARQL
SPARQL (Simple Protocol and RDF Query Language) is a W3C Recommendation for querying and updating RDF data.
|
Constructor and Description |
---|
QueryLanguage(String name)
Creates a new QueryLanguage object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName()
Gets the name of this query language.
|
int |
hashCode() |
boolean |
hasName(String name) |
static void |
register(QueryLanguage ql)
Registers the specified query language.
|
static QueryLanguage |
register(String name)
Registers the specified query language.
|
String |
toString() |
static QueryLanguage |
valueOf(String qlName)
Returns the query language whose name matches the specified name.
|
static Collection<QueryLanguage> |
values()
Returns all known/registered query languages.
|
public static final QueryLanguage SERQL
public static final QueryLanguage SPARQL
@Deprecated public static final QueryLanguage SERQO
public QueryLanguage(String name)
name
- The (case-insensitive) name of the query language, e.g. "SPARQL".public static Collection<QueryLanguage> values()
public static QueryLanguage register(String name)
name
- The name of the query language, e.g. "SPARQL".public static void register(QueryLanguage ql)
public static QueryLanguage valueOf(String qlName)
qlName
- A query language name.public String getName()
public boolean hasName(String name)
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.