Changeset 713:34e9c0a98cb1


Ignore:
Timestamp:
11/16/12 19:03:54 (5 years ago)
Author:
Konstantina
Branch:
temporals
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generaldb/src/main/java/org/openrdf/sail/generaldb/algebra/GeneralDBColumnVar.java

    r689 r713  
    118118        /** 
    119119         * Extra constructor to use in spatial cases 
     120         * Constant: Deprecated this constructor, because isSpatial is not the only one boolean member of the class now.  
     121         * Use setSpatial and setTemporal for both cases from now on 
    120122         * @param isSpatial 
    121123         * @return 
    122124         */ 
    123         public static GeneralDBColumnVar createObj(String alias, Var v, Value value, boolean isSpatial) { 
     125        /*public static GeneralDBColumnVar createObj(String alias, Var v, Value value, boolean isSpatial) { 
    124126                GeneralDBColumnVar var = new GeneralDBColumnVar(); 
    125127                var.alias = alias; 
     
    140142                return var; 
    141143        } 
    142  
     144*/ 
    143145        public static GeneralDBColumnVar createCtx(String alias, Var v, Resource resource) { 
    144146                GeneralDBColumnVar var = new GeneralDBColumnVar(); 
     
    161163                return var; 
    162164        } 
    163 //checks whether the sql variable is a temporal variable 
     165//creates a temporal ColumnVar 
    164166         
    165167        public static GeneralDBColumnVar createTemporalColumn(String alias, Var v, Value value) { 
Note: See TracChangeset for help on using the changeset viewer.