Strabon

changeset 105:a6f6ebee019c

added one more query function
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Apr 11 13:11:45 2012 +0300 (2012-04-11)
parents beed37629a44
children 34f36d90635b
files runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java
line diff
     1.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Wed Apr 11 12:39:36 2012 +0300
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Wed Apr 11 13:11:45 2012 +0300
     1.3 @@ -148,6 +148,11 @@
     1.4  	{
     1.5  		return query(queryString, "", this.getSailRepoConnection());	
     1.6  	}
     1.7 +
     1.8 +	public ArrayList<String> query(String queryString, String resultsFormat)
     1.9 +			throws  MalformedQueryException {
    1.10 +		return query (queryString, resultsFormat, this.getSailRepoConnection());
    1.11 +	}
    1.12  	
    1.13  	public Object query(String queryString, SailRepositoryConnection con)
    1.14  	throws  MalformedQueryException, QueryEvaluationException, IOException, TupleQueryResultHandlerException