Strabon

changeset 1170:2aaa9fc419cf temporals

it seems that if the TemporalJoinOptimizer is called before the spatialJoinOptimizer then the spatial and temporal joins can be executed with both of the orpimizers enables. More tests to be done.
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Fri May 10 19:46:20 2013 +0300 (2013-05-10)
parents d41bcd569028
children 2edfddc24e0d
files generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBQueryOptimizer.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBQueryOptimizer.java	Fri May 10 19:27:31 2013 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBQueryOptimizer.java	Fri May 10 19:46:20 2013 +0300
     1.3 @@ -117,9 +117,11 @@
     1.4  		new SameTermFilterOptimizer().optimize(expr, dataset, bindings);
     1.5  
     1.6  		//XXX
     1.7 +	
     1.8 +		new TemporalJoinOptimizer().optimize(expr, dataset, bindings, temporalJoins);
     1.9 +		
    1.10  		new SpatialJoinOptimizer().optimize(expr, dataset, bindings,spatialJoins);
    1.11  		
    1.12 -		//new TemporalJoinOptimizer().optimize(expr, dataset, bindings, temporalJoins);
    1.13  	}
    1.14  
    1.15  	protected void rdbmsOptimizations(TupleExpr expr, Dataset dataset, BindingSet bindings) {