-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from SPalominos/master
Fixes and column filter
- Loading branch information
Showing
8 changed files
with
192 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
data-manager-api/src/main/java/org/orbisgis/datamanagerapi/dsl/IColumnsBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Bundle DataManager API is part of the OrbisGIS platform | ||
* | ||
* OrbisGIS is a java GIS application dedicated to research in GIScience. | ||
* OrbisGIS is developed by the GIS group of the DECIDE team of the | ||
* Lab-STICC CNRS laboratory, see <http://www.lab-sticc.fr/>. | ||
* | ||
* The GIS group of the DECIDE team is located at : | ||
* | ||
* Laboratoire Lab-STICC – CNRS UMR 6285 | ||
* Equipe DECIDE | ||
* UNIVERSITÉ DE BRETAGNE-SUD | ||
* Institut Universitaire de Technologie de Vannes | ||
* 8, Rue Montaigne - BP 561 56017 Vannes Cedex | ||
* | ||
* DataManager API is distributed under GPL 3 license. | ||
* | ||
* Copyright (C) 2019 CNRS (Lab-STICC UMR CNRS 6285) | ||
* | ||
* | ||
* DataManager API is free software: you can redistribute it and/or modify it under the | ||
* terms of the GNU General Public License as published by the Free Software | ||
* Foundation, either version 3 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* DataManager API is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR | ||
* A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* DataManager API. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* For more information, please consult: <http://www.orbisgis.org/> | ||
* or contact directly: | ||
* info_at_ orbisgis.org | ||
*/ | ||
package org.orbisgis.datamanagerapi.dsl; | ||
|
||
import org.orbisgis.datamanagerapi.dataset.ITable; | ||
|
||
/** | ||
* Interface defining methods for the SQL 'select ... from' building. The request construction can be continued thanks to the | ||
* {@link IWhereBuilderOrOptionBuilder} or its result can be get calling 'eachRow' to iterate on the resultSet or | ||
* 'as ITable' to get the {@link ITable} object | ||
* | ||
* @author Erwan Bocher (CNRS) | ||
* @author Sylvain PALOMINOS (UBS 2019) | ||
*/ | ||
public interface IColumnsBuilder { | ||
|
||
/** | ||
* Indicates the columns use for the selection. | ||
* | ||
* @param columns Array of the columns use for the selection. | ||
* | ||
* @return {@link IWhereBuilderOrOptionBuilder} instance to continue building. | ||
*/ | ||
IWhereBuilderOrOptionBuilder columns(String... columns); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.