public class SPARQLQuery extends Object implements Comparable
Constructor and Description |
---|
SPARQLQuery(String id,
File queryFile)
Creates a new SPARQL query.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object t) |
String |
getId()
Gets the id of the SPARQL query.
|
String |
getQuery()
Gets the query text of a SPARQL query.
|
File |
getQueryFile()
Gets the path of the query file.
|
void |
readQueryFile()
Reads the query text from the SPARQL query file and stores it in the query variable.
|
void |
setId(String id)
Sets/Changes the id of a SPARQL query.
|
public String getId()
public void setId(String id)
id
- The id of the SPARQL query.public File getQueryFile()
public void readQueryFile()
public String getQuery()
public int compareTo(Object t)
compareTo
in interface Comparable
Copyright © 2014. All rights reserved.