Strabon

changeset 1005:f41269e98e09

tidy up and added license comments
author Babis Nikolaou <charnik@di.uoa.gr>
date Sat Apr 06 01:16:00 2013 +0300 (2013-04-06)
parents 8fb408631e75
children 0330ee642c7c
files generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBConnection.java generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBProvider.java generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBTripleRepository.java generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleManager.java monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBConnectionFactory.java monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBProvider.java postgis/src/main/java/org/openrdf/sail/postgis/PostGISConnectionFactory.java postgis/src/main/java/org/openrdf/sail/postgis/PostGISProvider.java runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBConnection.java	Fri Apr 05 23:01:56 2013 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBConnection.java	Sat Apr 06 01:16:00 2013 +0300
     1.3 @@ -1,7 +1,11 @@
     1.4 -/*
     1.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     1.6 - *
     1.7 - * Licensed under the Aduna BSD-style license.
     1.8 +/**
     1.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    1.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    1.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    1.12 + * 
    1.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    1.14 + * 
    1.15 + * http://www.strabon.di.uoa.gr/
    1.16   */
    1.17  package org.openrdf.sail.generaldb;
    1.18  
    1.19 @@ -41,7 +45,7 @@
    1.20   * Coordinates the triple store, namespace manager, optimizer, and evaluation
    1.21   * strategy into the {@link SailConnection} interface.
    1.22   * 
    1.23 - * @author James Leigh
    1.24 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    1.25   * 
    1.26   */
    1.27  public class GeneralDBConnection extends SailConnectionBase {
    1.28 @@ -112,7 +116,6 @@
    1.29  		throws SailException
    1.30  	{
    1.31  		removeStatementsInternal(null, null, null, contexts);
    1.32 -		//XXX our code
    1.33  //		triples.clearGeoValues();
    1.34  	}
    1.35  
     2.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBProvider.java	Fri Apr 05 23:01:56 2013 +0300
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBProvider.java	Sat Apr 06 01:16:00 2013 +0300
     2.3 @@ -1,18 +1,19 @@
     2.4 -/*
     2.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     2.6 - *
     2.7 - * Licensed under the Aduna BSD-style license.
     2.8 +/**
     2.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    2.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    2.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    2.12 + * 
    2.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    2.14 + * 
    2.15 + * http://www.strabon.di.uoa.gr/
    2.16   */
    2.17  package org.openrdf.sail.generaldb;
    2.18 -
    2.19 -import org.openrdf.sail.rdbms.RdbmsProvider;
    2.20 -
    2.21   
    2.22  /**
    2.23   * Checks the database product name and version to be compatible with this
    2.24   * Sesame store.
    2.25   * 
    2.26 - * @author James Leigh
    2.27 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    2.28   * 
    2.29   */
    2.30  public abstract class GeneralDBProvider  {
     3.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBTripleRepository.java	Fri Apr 05 23:01:56 2013 +0300
     3.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/GeneralDBTripleRepository.java	Sat Apr 06 01:16:00 2013 +0300
     3.3 @@ -493,6 +493,7 @@
     3.4  	
     3.5  	/**
     3.6  	 * @author Manos Karpathiotatis <mk@di.uoa.gr>
     3.7 +	 * 
     3.8  	 * @throws RdbmsException
     3.9  	 */
    3.10  	public void clearGeoValues() throws RdbmsException
     4.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleManager.java	Fri Apr 05 23:01:56 2013 +0300
     4.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleManager.java	Sat Apr 06 01:16:00 2013 +0300
     4.3 @@ -1,7 +1,11 @@
     4.4 -/*
     4.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     4.6 - *
     4.7 - * Licensed under the Aduna BSD-style license.
     4.8 +/**
     4.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    4.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    4.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    4.12 + * 
    4.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    4.14 + * 
    4.15 + * http://www.strabon.di.uoa.gr/
    4.16   */
    4.17  package org.openrdf.sail.generaldb.managers;
    4.18  
    4.19 @@ -10,7 +14,7 @@
    4.20  import org.openrdf.generaldb.managers.base.ManagerBase;
    4.21  /**
    4.22   * 
    4.23 - * @author James Leigh
    4.24 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    4.25   */
    4.26  public class TripleManager extends ManagerBase {
    4.27  
     5.1 --- a/monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBConnectionFactory.java	Fri Apr 05 23:01:56 2013 +0300
     5.2 +++ b/monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBConnectionFactory.java	Sat Apr 06 01:16:00 2013 +0300
     5.3 @@ -1,7 +1,11 @@
     5.4 -/*
     5.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     5.6 - *
     5.7 - * Licensed under the Aduna BSD-style license.
     5.8 +/**
     5.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    5.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    5.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    5.12 + * 
    5.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    5.14 + * 
    5.15 + * http://www.strabon.di.uoa.gr/
    5.16   */
    5.17  package org.openrdf.sail.monetdb;
    5.18  
    5.19 @@ -31,7 +35,8 @@
    5.20  import org.openrdf.sail.rdbms.schema.TableFactory;
    5.21  
    5.22  /** 
    5.23 - * @author George Garbis <ggarbis@di.uoa.gr> ??
    5.24 + * @author George Garbis <ggarbis@di.uoa.gr>
    5.25 + * @author Charalampos Nikolaou <charnik@di.uoa.gr>
    5.26   */
    5.27  public class MonetDBConnectionFactory extends GeneralDBConnectionFactory {
    5.28  
    5.29 @@ -123,6 +128,7 @@
    5.30  			bfactory.setValueFactory(vf);
    5.31  			bfactory.setUsingHashTable(hashManager != null);
    5.32  			s.setQueryBuilderFactory(bfactory);
    5.33 +			
    5.34  			GeneralDBConnection conn = new GeneralDBConnection(sail, s);
    5.35  			conn.setNamespaces(namespaces);
    5.36  			GeneralDBEvaluationFactory efactory = new MonetDBEvaluationFactory();
     6.1 --- a/monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBProvider.java	Fri Apr 05 23:01:56 2013 +0300
     6.2 +++ b/monetdb/src/main/java/org/openrdf/sail/monetdb/MonetDBProvider.java	Sat Apr 06 01:16:00 2013 +0300
     6.3 @@ -1,19 +1,21 @@
     6.4 -/*
     6.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     6.6 - *
     6.7 - * Licensed under the Aduna BSD-style license.
     6.8 +/**
     6.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    6.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    6.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    6.12 + * 
    6.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    6.14 + * 
    6.15 + * http://www.strabon.di.uoa.gr/
    6.16   */
    6.17  package org.openrdf.sail.monetdb;
    6.18  
    6.19  import org.openrdf.sail.generaldb.GeneralDBProvider;
    6.20 -
    6.21 -
    6.22   
    6.23  /**
    6.24   * Checks the database product name and version to be compatible with this
    6.25   * Sesame store.
    6.26   * 
    6.27 - * @author James Leigh
    6.28 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    6.29   * 
    6.30   */
    6.31  public class MonetDBProvider extends GeneralDBProvider {
     7.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/PostGISConnectionFactory.java	Fri Apr 05 23:01:56 2013 +0300
     7.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/PostGISConnectionFactory.java	Sat Apr 06 01:16:00 2013 +0300
     7.3 @@ -1,7 +1,11 @@
     7.4 -/*
     7.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     7.6 - *
     7.7 - * Licensed under the Aduna BSD-style license.
     7.8 +/**
     7.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    7.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    7.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    7.12 + * 
    7.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    7.14 + * 
    7.15 + * http://www.strabon.di.uoa.gr/
    7.16   */
    7.17  package org.openrdf.sail.postgis;
    7.18  
    7.19 @@ -34,7 +38,7 @@
    7.20   * Responsible to initialise and wire all components together that will be
    7.21   * needed to satisfy any sail connection request.
    7.22   * 
    7.23 - * @author James Leigh
    7.24 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    7.25   */
    7.26  public class PostGISConnectionFactory extends GeneralDBConnectionFactory {
    7.27  
    7.28 @@ -101,6 +105,7 @@
    7.29  			bfactory.setValueFactory(vf);
    7.30  			bfactory.setUsingHashTable(hashManager != null);
    7.31  			s.setQueryBuilderFactory(bfactory);
    7.32 +			
    7.33  			GeneralDBConnection conn = new GeneralDBConnection(sail, s);
    7.34  			conn.setNamespaces(namespaces);
    7.35  			GeneralDBEvaluationFactory efactory = new PostGISEvaluationFactory();
     8.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/PostGISProvider.java	Fri Apr 05 23:01:56 2013 +0300
     8.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/PostGISProvider.java	Sat Apr 06 01:16:00 2013 +0300
     8.3 @@ -1,19 +1,21 @@
     8.4 -/*
     8.5 - * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
     8.6 - *
     8.7 - * Licensed under the Aduna BSD-style license.
     8.8 +/**
     8.9 + * This Source Code Form is subject to the terms of the Mozilla Public
    8.10 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    8.11 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    8.12 + * 
    8.13 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    8.14 + * 
    8.15 + * http://www.strabon.di.uoa.gr/
    8.16   */
    8.17  package org.openrdf.sail.postgis;
    8.18  
    8.19  import org.openrdf.sail.generaldb.GeneralDBProvider;
    8.20  
    8.21 -
    8.22 - 
    8.23  /**
    8.24   * Checks the database product name and version to be compatible with this
    8.25   * Sesame store.
    8.26   * 
    8.27 - * @author James Leigh
    8.28 + * @author Manos Karpathiotakis <mk@di.uoa.gr>
    8.29   * 
    8.30   */
    8.31  public class PostGISProvider extends GeneralDBProvider {
     9.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Fri Apr 05 23:01:56 2013 +0300
     9.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/generaldb/Strabon.java	Sat Apr 06 01:16:00 2013 +0300
     9.3 @@ -3,7 +3,7 @@
     9.4   * License, v. 2.0. If a copy of the MPL was not distributed with this
     9.5   * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     9.6   * 
     9.7 - * Copyright (C) 2010, 2011, 2012, Pyravlos Team
     9.8 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
     9.9   * 
    9.10   * http://www.strabon.di.uoa.gr/
    9.11   */