public class DriverManager
extends org.h2gis.api.AbstractFunction
implements org.h2gis.api.ScalarFunction, org.h2gis.api.DriverFunction
| Constructor and Description |
|---|
DriverManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
exportTable(Connection connection,
String tableReference,
File fileName,
org.h2gis.api.ProgressVisitor progress) |
void |
exportTable(Connection connection,
String tableReference,
File fileName,
org.h2gis.api.ProgressVisitor progress,
String options) |
String[] |
getExportFormats() |
String |
getFormatDescription(String format) |
org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPE |
getImportDriverType() |
String[] |
getImportFormats() |
String |
getJavaStaticMethod() |
void |
importFile(Connection connection,
String tableReference,
File fileName,
org.h2gis.api.ProgressVisitor progress) |
void |
importFile(Connection connection,
String tableReference,
File fileName,
org.h2gis.api.ProgressVisitor progress,
boolean deleteTables) |
void |
importFile(Connection connection,
String tableReference,
File fileName,
org.h2gis.api.ProgressVisitor progress,
String options) |
boolean |
isSpatialFormat(String extension) |
static void |
openFile(Connection connection,
String fileName,
String tableName)
Create a new table
|
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
getJavaStaticMethod in interface org.h2gis.api.ScalarFunctionpublic String getFormatDescription(String format)
getFormatDescription in interface org.h2gis.api.DriverFunctionpublic boolean isSpatialFormat(String extension)
isSpatialFormat in interface org.h2gis.api.DriverFunctionpublic static void openFile(Connection connection, String fileName, String tableName) throws SQLException
connection - Active connection, do not close this connection.fileName - File path to write, if exists it may be replacedtableName - [[catalog.]schema.]table referenceSQLExceptionpublic void exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
exportTable in interface org.h2gis.api.DriverFunctionSQLExceptionIOExceptionpublic void exportTable(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress, String options) throws SQLException, IOException
exportTable in interface org.h2gis.api.DriverFunctionSQLExceptionIOExceptionpublic org.h2gis.api.DriverFunction.IMPORT_DRIVER_TYPE getImportDriverType()
getImportDriverType in interface org.h2gis.api.DriverFunctionpublic String[] getImportFormats()
getImportFormats in interface org.h2gis.api.DriverFunctionpublic String[] getExportFormats()
getExportFormats in interface org.h2gis.api.DriverFunctionpublic void importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress) throws SQLException, IOException
importFile in interface org.h2gis.api.DriverFunctionSQLExceptionIOExceptionpublic void importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress, String options) throws SQLException, IOException
importFile in interface org.h2gis.api.DriverFunctionSQLExceptionIOExceptionpublic void importFile(Connection connection, String tableReference, File fileName, org.h2gis.api.ProgressVisitor progress, boolean deleteTables) throws SQLException, IOException
importFile in interface org.h2gis.api.DriverFunctionSQLExceptionIOExceptionCopyright © 2019 CNRS. All rights reserved.