| java.lang.Object org.geotools.data.jdbc.DefaultSQLBuilder org.geotools.data.mysql.MySQLSQLBuilder
MySQLSQLBuilder | public class MySQLSQLBuilder extends DefaultSQLBuilder (Code) | | A MySQL-specific instance of DefaultSQLBuilder, which supports MySQL 4.1's geometric
datatypes.
author: Gary Sheppard garysheppard@psu.edu author: Andrea Aime aaime@users.sourceforge.net |
MySQLSQLBuilder | public MySQLSQLBuilder(SQLEncoder encoder)(Code) | | Parameters: encoder - |
isWKBEnabled | public boolean isWKBEnabled()(Code) | | Returns true if the WKB format is used to transfer geometries, false
otherwise
|
setWKBEnabled | public void setWKBEnabled(boolean enabled)(Code) | | If turned on, WKB will be used to transfer geometry data instead of WKT
Parameters: enabled - |
sqlColumns | public void sqlColumns(StringBuffer sql, FIDMapper mapper, AttributeType[] attributes)(Code) | | Produces the select information required.
The featureType, if known, is always requested.
sql: featureID (,attributeColumn)
We may need to provide AttributeReaders with a hook so they can request
a wrapper function.
Parameters: sql - Parameters: mapper - Parameters: attributes - |
|
|