Strabon

changeset 104:beed37629a44

added a query() function
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Apr 11 12:39:36 2012 +0300 (2012-04-11)
parents 4291d3c2a7d0
children a6f6ebee019c
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 03:18:58 2012 +0300
     1.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Wed Apr 11 12:39:36 2012 +0300
     1.3 @@ -143,6 +143,12 @@
     1.4  			}
     1.5  	}
     1.6  
     1.7 +	public Object query(String queryString)
     1.8 +	throws  MalformedQueryException, QueryEvaluationException, IOException, TupleQueryResultHandlerException
     1.9 +	{
    1.10 +		return query(queryString, "", this.getSailRepoConnection());	
    1.11 +	}
    1.12 +	
    1.13  	public Object query(String queryString, SailRepositoryConnection con)
    1.14  	throws  MalformedQueryException, QueryEvaluationException, IOException, TupleQueryResultHandlerException
    1.15  	{