Package org.h2gis.functions.io.fgb
Class FGBDriverFunction
- java.lang.Object
-
- org.h2gis.functions.io.fgb.FGBDriverFunction
-
- All Implemented Interfaces:
org.h2gis.api.DriverFunction
public class FGBDriverFunction extends Object implements org.h2gis.api.DriverFunction
FlatGeobuffer reader/write driver function- Author:
- Erwan Bocher, Nicolas Fortin
-
-
Field Summary
Fields Modifier and Type Field Description static StringDESCRIPTION
-
Constructor Summary
Constructors Constructor Description FGBDriverFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]exportTable(Connection connection, String tableReference, File fileName, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, String options, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress)String[]exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress)String[]getExportFormats()StringgetFormatDescription(String format)org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPEgetImportDriverType()String[]getImportFormats()String[]importFile(Connection connection, String tableReference, File fileName, boolean deleteTables, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, String options, boolean deleteTables, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress)String[]importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress)booleanisSpatialFormat(String extension)
-
-
-
Field Detail
-
DESCRIPTION
public static String DESCRIPTION
-
-
Method Detail
-
getImportDriverType
public org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
- Specified by:
getImportDriverTypein interfaceorg.h2gis.api.DriverFunction
-
getImportFormats
public String[] getImportFormats()
- Specified by:
getImportFormatsin interfaceorg.h2gis.api.DriverFunction
-
getExportFormats
public String[] getExportFormats()
- Specified by:
getExportFormatsin interfaceorg.h2gis.api.DriverFunction
-
getFormatDescription
public String getFormatDescription(String format)
- Specified by:
getFormatDescriptionin interfaceorg.h2gis.api.DriverFunction
-
isSpatialFormat
public boolean isSpatialFormat(String extension)
- Specified by:
isSpatialFormatin interfaceorg.h2gis.api.DriverFunction
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, String options, boolean deleteFiles, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
exportTable
public String[] exportTable(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
exportTablein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, String options, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, boolean deleteTables, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
importFile
public String[] importFile(Connection connection, String tableReference, File fileName, String options, boolean deleteTables, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
- Specified by:
importFilein interfaceorg.h2gis.api.DriverFunction- Throws:
SQLExceptionIOException
-
-