Package org.h2gis.functions.io.fgb
Class FGBEngine
- java.lang.Object
-
- org.h2gis.functions.io.file_table.FileEngine<FGBDriver>
-
- org.h2gis.functions.io.fgb.FGBEngine
-
- All Implemented Interfaces:
org.h2.api.TableEngine
public class FGBEngine extends FileEngine<FGBDriver>
FlatGeobuffer engine for link with file instead of copy- Author:
- Erwan Bocher, Nicolas Fortin
-
-
Constructor Summary
Constructors Constructor Description FGBEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FGBDrivercreateDriver(File filePath, List<String> args)Create the driver instance using the file name and additional arguments provided in SQL create table request.protected voidfeedCreateTableData(FGBDriver driver, org.h2.command.ddl.CreateTableData data)Add columns definition of the file into the CreateTableData instance.-
Methods inherited from class org.h2gis.functions.io.file_table.FileEngine
createTable, getUniqueColumnName
-
-
-
-
Method Detail
-
createDriver
protected FGBDriver createDriver(File filePath, List<String> args) throws IOException
Description copied from class:FileEngineCreate the driver instance using the file name and additional arguments provided in SQL create table request.- Specified by:
createDriverin classFileEngine<FGBDriver>- Parameters:
filePath- First argument, file nameargs- Additional argument, contains the file name as first argument- Returns:
- Instance of FileDriver
- Throws:
IOException
-
feedCreateTableData
protected void feedCreateTableData(FGBDriver driver, org.h2.command.ddl.CreateTableData data) throws IOException
Description copied from class:FileEngineAdd columns definition of the file into the CreateTableData instance.- Specified by:
feedCreateTableDatain classFileEngine<FGBDriver>- Parameters:
driver- driver objectdata- Data to initialise- Throws:
IOException
-
-