| org.geotools.data.jdbc.JDBCDataStore org.geotools.data.geometryless.JDBCDataStore org.geotools.data.geometryless.LocationsXYDataStore
buildAttributeType | protected AttributeType buildAttributeType(ResultSet rs) throws IOException(Code) | | Constructs an AttributeType from a row in a ResultSet. The ResultSet
contains the information retrieved by a call to getColumns() on the
DatabaseMetaData object. This information can be used to construct an
Attribute Type.
This simply returns the constructed geometry when the column is the first
(X)
Note: Overriding methods must never move the current row pointer in the
result set.
Parameters: rs - The ResultSet containing the result of aDatabaseMetaData.getColumns call. The AttributeType built from the ResultSet. throws: SQLException - If an error occurs processing the ResultSet. throws: DataSourceException - Provided for overriding classes to wrap exceptions caused byother operations they may perform to determine additionaltypes. This will only be thrown by the default implementationif a type is present that is not present in theTYPE_MAPPINGS. |
getFeatureWriter | public FeatureWriter getFeatureWriter(String typeName) throws IOException(Code) | | Utility method for getting a FeatureWriter for modifying existing
features, using no feature filtering and auto-committing. Not used for
adding new features.
Parameters: typeName - the feature type name (the table name) a FeatureWriter for modifying existing features throws: IOException - if the database cannot be properly accessed |
getFeatureWriterAppend | public FeatureWriter getFeatureWriterAppend(String typeName) throws IOException(Code) | | Utility method for getting a FeatureWriter for adding new features, using
auto-committing. Not used for modifying existing features.
Parameters: typeName - the feature type name (the table name) a FeatureWriter for adding new features throws: IOException - if the database cannot be properly accessed |
Fields inherited from org.geotools.data.geometryless.JDBCDataStore | public static String DEFAULT_NAMESPACE(Code)(Java Doc)
|
|
|