Strabon

changeset 251:bf7bfbae8c29

removed "In MonetDB evaluation is..." print out and put it in debug
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Jun 05 00:22:01 2012 +0300 (2012-06-05)
parents a05e91b214cd
children 9506ccf3b545
files monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java
line diff
     1.1 --- a/monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java	Tue Jun 05 00:18:25 2012 +0300
     1.2 +++ b/monetdb/src/main/java/org/openrdf/sail/monetdb/evaluation/MonetDBEvaluation.java	Tue Jun 05 00:22:01 2012 +0300
     1.3 @@ -24,11 +24,12 @@
     1.4  import org.openrdf.sail.generaldb.evaluation.GeneralDBEvaluation;
     1.5  import org.openrdf.sail.generaldb.evaluation.GeneralDBQueryBuilderFactory;
     1.6  import org.openrdf.sail.generaldb.iteration.GeneralDBBindingIteration;
     1.7 +import org.openrdf.sail.generaldb.schema.IdSequence;
     1.8  import org.openrdf.sail.monetdb.iteration.MonetDBBindingIteration;
     1.9  import org.openrdf.sail.rdbms.exceptions.RdbmsException;
    1.10  import org.openrdf.sail.rdbms.exceptions.RdbmsQueryEvaluationException;
    1.11  import org.openrdf.sail.rdbms.exceptions.UnsupportedRdbmsOperatorException;
    1.12 -import org.openrdf.sail.generaldb.schema.IdSequence;
    1.13 +import org.slf4j.Logger;
    1.14  import org.slf4j.LoggerFactory;
    1.15  
    1.16  /**
    1.17 @@ -40,6 +41,7 @@
    1.18   */
    1.19  public class MonetDBEvaluation extends GeneralDBEvaluation {
    1.20  
    1.21 +	private static Logger logger = LoggerFactory.getLogger(org.openrdf.sail.monetdb.evaluation.MonetDBEvaluation.class);
    1.22  
    1.23  	public MonetDBEvaluation(GeneralDBQueryBuilderFactory factory, GeneralDBTripleRepository triples, Dataset dataset,
    1.24  			IdSequence ids)
    1.25 @@ -86,8 +88,8 @@
    1.26  				result.setConstructIndexesAndNames(this.constructIndexesAndNames);
    1.27  				//
    1.28  
    1.29 -				System.out.println("In MonetDB Evaluation, query is: ");
    1.30 -				System.out.println(query); // In MonetDb this stmt.toString() returns just a reference
    1.31 +				logger.debug("In MonetDB Evaluation, query is: \n" + query);
    1.32 +				// In MonetDb this stmt.toString() returns just a reference
    1.33  				return result;
    1.34  			}
    1.35  			catch (SQLException e) {