Interface PostgisDBManagerI
-
- All Known Implementing Classes:
PostgisDBManager
public interface PostgisDBManagerI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommit()longcount(PostgisTable table)voidcreate(PostgisTable toCreate)intdeleteByFieldValue(PostgisTable target, PostgisTable.Field field, Object value)voiddeleteTable(String tableName)PreparedStatementprepareInsertStatement(PostgisTable target, boolean createTable, boolean geometryAsText)PreparedStatementprepareStatement(String stmt)ResultSetqueryAll(PostgisTable table)voidtruncate(String tableName)
-
-
-
Method Detail
-
commit
void commit() throws SQLException- Throws:
SQLException
-
create
void create(PostgisTable toCreate) throws SQLException
- Throws:
SQLException
-
prepareInsertStatement
PreparedStatement prepareInsertStatement(PostgisTable target, boolean createTable, boolean geometryAsText) throws SQLException
- Throws:
SQLException
-
prepareStatement
PreparedStatement prepareStatement(String stmt) throws SQLException
- Throws:
SQLException
-
deleteTable
void deleteTable(String tableName) throws SQLException
- Throws:
SQLException
-
truncate
void truncate(String tableName) throws SQLException
- Throws:
SQLException
-
deleteByFieldValue
int deleteByFieldValue(PostgisTable target, PostgisTable.Field field, Object value) throws SQLException
- Throws:
SQLException
-
count
long count(PostgisTable table) throws SQLException
- Throws:
SQLException
-
queryAll
ResultSet queryAll(PostgisTable table) throws SQLException
- Throws:
SQLException
-
-