public class CSquarePolygonDBImpl extends Object implements CSquarePolygonsDBInterface
| Constructor and Description |
|---|
CSquarePolygonDBImpl(CSQuarePolygonDBDescriptor desc) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession() |
File |
exportCSV(Table toExport) |
Table |
joinToWorld(Table toJoin) |
void |
openSession() |
org.gcube.data.streams.Stream<org.gcube.data.publishing.gis.publisher.plugin.fwk.model.GeometryPoint> |
streamTableRows(Table toStreamTable,
org.gcube.common.core.scope.GCUBEScope scope) |
Table |
streamToTable(org.gcube.data.streams.Stream<org.gcube.data.publishing.gis.publisher.plugin.fwk.model.CSquarePoint> points) |
public CSquarePolygonDBImpl(CSQuarePolygonDBDescriptor desc)
public Table streamToTable(org.gcube.data.streams.Stream<org.gcube.data.publishing.gis.publisher.plugin.fwk.model.CSquarePoint> points) throws SQLException
streamToTable in interface CSquarePolygonsDBInterfaceSQLExceptionpublic Table joinToWorld(Table toJoin) throws SQLException
joinToWorld in interface CSquarePolygonsDBInterfaceSQLExceptionpublic File exportCSV(Table toExport) throws IOException, SQLException
exportCSV in interface CSquarePolygonsDBInterfaceIOExceptionSQLExceptionpublic void openSession()
throws SQLException,
ClassNotFoundException
openSession in interface CSquarePolygonsDBInterfaceSQLExceptionClassNotFoundExceptionpublic void closeSession()
throws SQLException
closeSession in interface CSquarePolygonsDBInterfaceSQLExceptionpublic org.gcube.data.streams.Stream<org.gcube.data.publishing.gis.publisher.plugin.fwk.model.GeometryPoint> streamTableRows(Table toStreamTable, org.gcube.common.core.scope.GCUBEScope scope) throws Exception
streamTableRows in interface CSquarePolygonsDBInterfaceExceptionCopyright © 2015. All Rights Reserved.