public class PostgisTable extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PostgisTable.Field |
static class |
PostgisTable.FieldType |
static class |
PostgisTable.GeometryType |
static class |
PostgisTable.POINT |
| Constructor and Description |
|---|
PostgisTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
fillCSVPreparedStatament(Map<String,String> row,
PreparedStatement toFill,
boolean explicitGeometry) |
void |
fillObjectsPreparedStatement(Map<String,Object> row,
PreparedStatement toFill) |
String |
getCreateStatement() |
String |
getDeleteByFieldStatement(PostgisTable.Field field) |
String |
getGeometryColumn() |
String |
getInsertionStatement(boolean geometryText) |
static String |
sanitizeFieldName(String fieldName) |
void |
setObjectInPreparedStatement(PostgisTable.Field field,
Object value,
PreparedStatement toFill,
int psFieldIndex) |
void |
setTablename(String tablename) |
public String getGeometryColumn()
public void setTablename(String tablename)
public String getCreateStatement()
public String getDeleteByFieldStatement(PostgisTable.Field field)
public String getInsertionStatement(boolean geometryText)
public void fillObjectsPreparedStatement(Map<String,Object> row, PreparedStatement toFill) throws SQLException
SQLExceptionpublic void setObjectInPreparedStatement(PostgisTable.Field field, Object value, PreparedStatement toFill, int psFieldIndex) throws SQLException
SQLExceptionpublic void fillCSVPreparedStatament(Map<String,String> row, PreparedStatement toFill, boolean explicitGeometry) throws SQLException
SQLExceptionCopyright © 2022. All Rights Reserved.