Package org.eclipse.rdf4j.query
Class QueryLanguage
java.lang.Object
org.eclipse.rdf4j.query.QueryLanguage
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QueryLanguage
SPARQL (Simple Protocol and RDF Query Language) is a W3C Recommendation for querying and updating RDF data. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Gets the name of this query language.int
hashCode()
boolean
static QueryLanguage
Registers the specified query language.static void
Registers the specified query language.toString()
static QueryLanguage
Returns the query language whose name matches the specified name.static Collection
<QueryLanguage> values()
Returns all known/registered query languages.
-
Field Details
-
SPARQL
SPARQL (Simple Protocol and RDF Query Language) is a W3C Recommendation for querying and updating RDF data.- See Also:
-
-
Constructor Details
-
QueryLanguage
Creates a new QueryLanguage object.- Parameters:
name
- The (case-insensitive) name of the query language, e.g. "SPARQL".
-
-
Method Details
-
values
Returns all known/registered query languages. -
register
Registers the specified query language.- Parameters:
name
- The name of the query language, e.g. "SPARQL".
-
register
Registers the specified query language. -
valueOf
Returns the query language whose name matches the specified name.- Parameters:
qlName
- A query language name.- Returns:
- The query language whose name matches the specified name, or null if there is no such query language.
-
getName
Gets the name of this query language.- Returns:
- A human-readable format name, e.g. "SPARQL".
-
hasName
-
equals
-
hashCode
-
toString
-