| org.geotools.data.jdbc.JDBCTextFeatureWriter org.geotools.data.postgis.PostgisFeatureWriter
PostgisFeatureWriter | public class PostgisFeatureWriter extends JDBCTextFeatureWriter (Code) | | An implementation of FeatureWriter that will work over a result set.
|
Field Summary | |
protected static WKTWriter | geometryWriter Well Known Text writer (from JTS). |
geometryWriter | protected static WKTWriter geometryWriter(Code) | | Well Known Text writer (from JTS).
|
PostgisFeatureWriter | public PostgisFeatureWriter(FeatureReader fReader, QueryData queryData, boolean WKBEnabled, boolean byteaWKB, PostgisSQLBuilder sqlBuilder) throws IOException(Code) | | Parameters: fReader - Parameters: queryData - Parameters: WKBEnabled - Parameters: byteaWKB - -- true if you're using postgis 1.0+. they changed how to do wkb writing. throws: IOException - |
encodeName | protected String encodeName(String tableName)(Code) | | DJB: this is the javadoc from the superclass, but this wasnt being done.
Encodes the tableName, default is to do nothing, but postgis will
override and put double quotes around the tablename.
|
isWKBEnabled | public boolean isWKBEnabled()(Code) | | Returns true if the WKB format is used to transfer geometries, false
otherwise
|
makeSelectForUpdateSql | protected String makeSelectForUpdateSql(Feature current)(Code) | | For postgres >= 8.1 NOWAIT is used (meaning you get a response).
Prior versions will block during concurrent editing.
|
setWKBEnabled | public void setWKBEnabled(boolean enabled)(Code) | | If turned on, WKB will be used to transfer geometry data instead of WKT
Parameters: enabled - |
|
|