Strabon

changeset 713:34e9c0a98cb1 temporals

Deprecated one of spatial columnVar constructors. Now a general columnVar will be created and its spatial or temporal nature will be defined later using the respective setter methods
author Konstantina
date Fri Nov 16 19:03:54 2012 +0200 (2012-11-16)
parents e2c4582dba90
children 413597bcb8e6
files generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBColumnVar.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBColumnVar.java	Fri Nov 16 18:55:41 2012 +0200
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBColumnVar.java	Fri Nov 16 19:03:54 2012 +0200
     1.3 @@ -117,10 +117,12 @@
     1.4  	
     1.5  	/**
     1.6  	 * Extra constructor to use in spatial cases
     1.7 +	 * Constant: Deprecated this constructor, because isSpatial is not the only one boolean member of the class now. 
     1.8 +	 * Use setSpatial and setTemporal for both cases from now on
     1.9  	 * @param isSpatial
    1.10  	 * @return
    1.11  	 */
    1.12 -	public static GeneralDBColumnVar createObj(String alias, Var v, Value value, boolean isSpatial) {
    1.13 +	/*public static GeneralDBColumnVar createObj(String alias, Var v, Value value, boolean isSpatial) {
    1.14  		GeneralDBColumnVar var = new GeneralDBColumnVar();
    1.15  		var.alias = alias;
    1.16  		var.column = "obj";
    1.17 @@ -139,7 +141,7 @@
    1.18  		
    1.19  		return var;
    1.20  	}
    1.21 -
    1.22 +*/
    1.23  	public static GeneralDBColumnVar createCtx(String alias, Var v, Resource resource) {
    1.24  		GeneralDBColumnVar var = new GeneralDBColumnVar();
    1.25  		var.alias = alias;
    1.26 @@ -160,7 +162,7 @@
    1.27  		}
    1.28  		return var;
    1.29  	}
    1.30 -//checks whether the sql variable is a temporal variable
    1.31 +//creates a temporal ColumnVar
    1.32  	
    1.33  	public static GeneralDBColumnVar createTemporalColumn(String alias, Var v, Value value) {
    1.34  		GeneralDBColumnVar var = new GeneralDBColumnVar();