Strabon

changeset 1057:ef787b84dbe2

made appendrelate recognise a GeneralDBSqlSpatialConstructTriple function as an argument.
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Sun Apr 21 16:31:22 2013 +0300 (2013-04-21)
parents e2b76cad5b7c
children 1382b01c2060
files postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java
line diff
     1.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Sat Apr 20 12:12:38 2013 +0300
     1.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Sun Apr 21 16:31:22 2013 +0300
     1.3 @@ -2367,6 +2367,10 @@
     1.4  			{
     1.5  				appendConstructFunction(expr.getLeftArg(), filter);
     1.6  			}
     1.7 +			else if(expr.getLeftArg() instanceof GeneralDBSqlSpatialConstructTriple)
     1.8 +			{
     1.9 +				appendConstructFunction(expr.getLeftArg(), filter);				
    1.10 +			}	
    1.11  			else if(expr.getLeftArg() instanceof GeneralDBSqlCase)
    1.12  			{
    1.13  				GeneralDBLabelColumn onlyLabel = (GeneralDBLabelColumn)((GeneralDBSqlCase)expr.getLeftArg()).getEntries().get(0).getResult();