Class FGBWriteDriver


  • public class FGBWriteDriver
    extends Object
    FlatGeobuffer write file
    Author:
    Erwan Bocher, Nicolas Fortin
    • Constructor Detail

      • FGBWriteDriver

        public FGBWriteDriver​(Connection connection)
    • Method Detail

      • getPackedRTreeNodeSize

        public short getPackedRTreeNodeSize()
      • setPackedRTreeNodeSize

        public void setPackedRTreeNodeSize​(short packedRTreeNodeSize)
      • isCreateIndex

        public boolean isCreateIndex()
      • setCreateIndex

        public void setCreateIndex​(boolean createIndex)
      • write

        public String write​(org.h2gis.api.ProgressVisitor progress,
                            String tableName,
                            File fileName,
                            boolean deleteFiles)
                     throws IOException,
                            SQLException
        Write the spatial table to a FlatGeobuf file
        Parameters:
        progress - Progress visitor following the execution.
        tableName - table to write
        fileName - input file
        deleteFiles - true to delete the output file
        Throws:
        IOException
        SQLException