code: @Override
      public void exportTable(Connection connection, String tableReference, File fileName, ProgressVisitor progress, String encoding) throws SQLException, IOException{
          GeoJsonWriteDriver geoJsonDriver = new GeoJsonWriteDriver(connection);
          geoJsonDriver.write(progress,tableReference, fileName, encoding);
      }
docs: Export a table or a query to a geojson file
  
  @param connection
  @param tableReference
  @param fileName
  @param progress
  @param encoding
  @throws SQLException
  @throws IOException