Strabon

changeset 776:d6259e17e93d temporals

Commented some printouts.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Sat Dec 08 20:35:21 2012 +0200 (2012-12-08)
parents 07471ffabaca
children 32e6314a2c4b
files generaldb/src/main/java/org/openrdf/sail/generaldb/managers/HashManager.java generaldb/src/main/java/org/openrdf/sail/generaldb/managers/LiteralManager.java generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java generaldb/src/main/java/org/openrdf/sail/generaldb/schema/PeriodTable.java postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java postgis/src/main/java/org/openrdf/sail/postgis/iteration/PostGISBindingIteration.java runtime/src/main/java/eu/earthobservatory/runtime/generaldb/NQuadsParser.java runtime/src/main/java/eu/earthobservatory/runtime/generaldb/QuadRDFHandler.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/HashManager.java	Fri Dec 07 20:11:40 2012 +0200
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/HashManager.java	Sat Dec 08 20:35:21 2012 +0200
     1.3 @@ -549,12 +549,12 @@
     1.4  		/***********************************************/
     1.5  		//FIXME den xerw kata poso boleyei edw i eisagwgi tis diaxeirisis tou neou pinaka
     1.6  		//den exei kopei akoma se kommatia
     1.7 -		System.out.println("I am in hash manager, "+value.toString());
     1.8 +//		System.out.println("I am in hash manager, "+value.toString());
     1.9  		/***********************************************/
    1.10  		Number id = value.getInternalId();
    1.11  		table.insert(id, idseq.hashOf(value));
    1.12  		if (value instanceof RdbmsLiteral) {
    1.13 -			System.out.println("Ayto stelnw ston LiteralManager, "+value.toString());
    1.14 +//			System.out.println("Ayto stelnw ston LiteralManager, "+value.toString());
    1.15  			literals.insert(id, (RdbmsLiteral)value);
    1.16  		}
    1.17  		else if (value instanceof RdbmsURI) {
     2.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/LiteralManager.java	Fri Dec 07 20:11:40 2012 +0200
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/LiteralManager.java	Sat Dec 08 20:35:21 2012 +0200
     2.3 @@ -118,7 +118,7 @@
     2.4  					 * Will need some other place to add them if this approach does work
     2.5  					 * 
     2.6  					 */
     2.7 -					System.out.println("DATATYPE:"+datatype);
     2.8 +//					System.out.println("DATATYPE:"+datatype);
     2.9  					if(XMLGSDatatypeUtil.isWKTDatatype(datatype)) //WKT case
    2.10  					{
    2.11  						table.insertWKT(id, label, dt, null, null);
    2.12 @@ -133,8 +133,8 @@
    2.13  					}
    2.14  					else if(XMLGSDatatypeUtil.isPeriodDatatype(datatype)) // valid period  case- Constant
    2.15  					{ //TODO remember that the period should be validated, haven't decided the level yet though
    2.16 -						System.out.println("LABEL TO literalTable:"+label);
    2.17 -						System.out.println("ID TO literalTable:"+id.toString());
    2.18 +//						System.out.println("LABEL TO literalTable:"+label);
    2.19 +//						System.out.println("ID TO literalTable:"+id.toString());
    2.20  						table.insertTemporal(id, label);
    2.21  					}
    2.22  				}
     3.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Fri Dec 07 20:11:40 2012 +0200
     3.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Sat Dec 08 20:35:21 2012 +0200
     3.3 @@ -1019,7 +1019,7 @@
     3.4  					}
     3.5  				}
     3.6  			}
     3.7 -			System.out.println("NOT SPATIAL NOR TEMPORAL FUNCTION- SIMPLE VALUE");
     3.8 +//			System.out.println("NOT SPATIAL NOR TEMPORAL FUNCTION- SIMPLE VALUE");
     3.9  		
    3.10  		
    3.11  
     4.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java	Fri Dec 07 20:11:40 2012 +0200
     4.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/LiteralTable.java	Sat Dec 08 20:35:21 2012 +0200
     4.3 @@ -194,8 +194,8 @@
     4.4  	{
     4.5  
     4.6  		//TODO the label should be validated as a period before reaching this point. Not sure yet on which level this should be done
     4.7 -		System.out.println("LABEL: "+label);
     4.8 -		System.out.println("NUMBER: "+id.toString());
     4.9 +//		System.out.println("LABEL: "+label);
    4.10 +//		System.out.println("NUMBER: "+id.toString());
    4.11  
    4.12  		temporalTable.insert(id, label);
    4.13  	}
     5.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/PeriodTable.java	Fri Dec 07 20:11:40 2012 +0200
     5.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/schema/PeriodTable.java	Sat Dec 08 20:35:21 2012 +0200
     5.3 @@ -181,7 +181,7 @@
     5.4  	public  void insert(Number id, String period)
     5.5  		throws SQLException, InterruptedException
     5.6  	{
     5.7 -		System.out.println("PERIOD:"+period);
     5.8 +//		System.out.println("PERIOD:"+period);
     5.9  		ValueBatch batch = getValueBatch();
    5.10  		if (isExpired(batch)) {
    5.11  			batch = newValueBatch();
     6.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Fri Dec 07 20:11:40 2012 +0200
     6.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Sat Dec 08 20:35:21 2012 +0200
     6.3 @@ -291,7 +291,7 @@
     6.4  			}
     6.5  			else{
     6.6  				//XXX original/default case
     6.7 -				System.out.println("DEFAUUUUULT!: a value column will be printed");
     6.8 +				//System.out.println("DEFAUUUUULT!: a value column will be printed");
     6.9  				filter.column(alias, "value");
    6.10  			}
    6.11  		}
    6.12 @@ -2524,7 +2524,7 @@
    6.13  			throws UnsupportedRdbmsOperatorException
    6.14  			{
    6.15  		filter.openBracket();
    6.16 -		System.out.println(expr.getLeftArg().getClass().getCanonicalName());
    6.17 +		//System.out.println(expr.getLeftArg().getClass().getCanonicalName());
    6.18  		boolean check1 = expr.getLeftArg().getClass().getCanonicalName().equals("org.openrdf.sail.generaldb.algebra.GeneralDBSqlNull");
    6.19  		if(check1)
    6.20  		{
     7.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/iteration/PostGISBindingIteration.java	Fri Dec 07 20:11:40 2012 +0200
     7.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/iteration/PostGISBindingIteration.java	Sat Dec 08 20:35:21 2012 +0200
     7.3 @@ -61,7 +61,7 @@
     7.4  	throws SQLException
     7.5  	{
     7.6  //TODO implement method 
     7.7 -		System.out.println("CREATE TEMPORAL VALUE!");
     7.8 +//		System.out.println("CREATE TEMPORAL VALUE!");
     7.9  
    7.10  		return null;
    7.11  	}
    7.12 @@ -77,4 +77,4 @@
    7.13  		return vf.getRdbmsPolyhedron(114, GeoConstants.WKT, label, srid);
    7.14  
    7.15  	}
    7.16 -}
    7.17 \ No newline at end of file
    7.18 +}
     8.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/NQuadsParser.java	Fri Dec 07 20:11:40 2012 +0200
     8.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/NQuadsParser.java	Sat Dec 08 20:35:21 2012 +0200
     8.3 @@ -274,13 +274,13 @@
     8.4          // subject is either an uriref (<foo://bar>) or a nodeID (_:node1)
     8.5          if (c == '<') {
     8.6              // subject is an uriref
     8.7 -        	System.out.println("PARSEURI");
     8.8 +        	//System.out.println("PARSEURI");
     8.9              c = parseUriRef(c, sb);
    8.10              context = createURI(sb.toString());
    8.11          } else if (c == '_') {
    8.12              // subject is a bNode
    8.13              c = parseNodeID(c, sb);
    8.14 -        	System.out.println("PARSENODE");
    8.15 +        	//System.out.println("PARSENODE");
    8.16              context = createBNode(sb.toString());
    8.17          }else if(c == '"'){
    8.18          	c = parseLiteral(c, sb);
    8.19 @@ -295,4 +295,4 @@
    8.20  
    8.21          return c;
    8.22      }
    8.23 -}
    8.24 \ No newline at end of file
    8.25 +}
     9.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/QuadRDFHandler.java	Fri Dec 07 20:11:40 2012 +0200
     9.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/QuadRDFHandler.java	Sat Dec 08 20:35:21 2012 +0200
     9.3 @@ -69,7 +69,7 @@
     9.4  					 if (!triples.toString().contains(triple))
     9.5  					 {
     9.6  						 triples.append(triple);
     9.7 -						 System.out.println("TRIPLE:"+triple);
     9.8 +//						 System.out.println("TRIPLE:"+triple);
     9.9  
    9.10  					 }
    9.11