public class JsonWriteDriver extends Object
| Constructor and Description |
|---|
JsonWriteDriver(Connection connection)
A JSON driver to write a table to a JSON file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(org.h2gis.api.ProgressVisitor progress,
ResultSet resultSet,
File file)
Write a resulset to a json file
|
void |
write(org.h2gis.api.ProgressVisitor progress,
ResultSet rs,
File fileName,
String encoding)
Write a resulset to a json file
|
void |
write(org.h2gis.api.ProgressVisitor progress,
String tableName,
File fileName,
String encoding)
Write the table to JSON format.
|
public JsonWriteDriver(Connection connection)
connection - public void write(org.h2gis.api.ProgressVisitor progress,
ResultSet resultSet,
File file)
throws SQLException,
IOException
progress - resultSet - file - SQLExceptionIOExceptionpublic void write(org.h2gis.api.ProgressVisitor progress,
ResultSet rs,
File fileName,
String encoding)
throws SQLException,
IOException
progress - rs - input resulsetfileName - the output fileencoding - SQLExceptionIOExceptionpublic void write(org.h2gis.api.ProgressVisitor progress,
String tableName,
File fileName,
String encoding)
throws SQLException,
IOException
progress - tableName - fileName - SQLExceptionIOExceptionCopyright © 2019 CNRS. All rights reserved.