| org.geotools.data.jdbc.JDBCDataStore org.geotools.data.oracle.OracleDataStore
OracleDataStore | public class OracleDataStore extends JDBCDataStore (Code) | | author: Sean Geoghegan, Defence Science and Technology Organisation. |
Method Summary | |
protected boolean | allowTable(String tablename) Crops non feature type tables. | protected ReferencedEnvelope | bounds(Query query) This is (unfortunately) a copy and paste from PostgisFeatureStore, I simply did not
know a better place to put this... | protected AttributeType | buildAttributeType(ResultSet rs) Overrides the buildAttributeType method to check for SDO_GEOMETRY columns. | protected JDBCFeatureWriter | createFeatureWriter(FeatureReader fReader, QueryData queryData) Returns a Oracle text based feature writer that just issues the sql
statements directly, as text. | public void | createSchema(FeatureType featureType) | protected CoordinateReferenceSystem | determineCRS(int srid) | protected int | determineSRID(String tableName, String geometryColumnName) | public Envelope | getEnvelope(String typeName) Retrieve approx bounds of all Features. | protected Envelope | getEnvelope(Connection conn, FeatureType schema, String geomName, SQLBuilder sqlBuilder, Filter filter) | public FeatureSource | getFeatureSource(String typeName) Default implementation based on getFeatureReader and getFeatureWriter. | protected AttributeIO | getGeometryAttributeIO(AttributeType type, QueryData queryData) | public SQLBuilder | getSqlBuilder(String typeName) | public boolean | sql(Transaction t, String sql) |
allowTable | protected boolean allowTable(String tablename)(Code) | | Crops non feature type tables.
There are alot of additional tables in a Oracle tablespace. This tries
to remove some of them. If the schemaName is provided in the Constructor
then the job of narrowing down tables will be mush easier. Otherwise
there are alot of Meta tables and SDO tables to cull. This method tries
to remove as many as possible.
See Also: org.geotools.data.jdbc.JDBCDataStore.allowTable(java.lang.String) |
createFeatureWriter | protected JDBCFeatureWriter createFeatureWriter(FeatureReader fReader, QueryData queryData) throws IOException(Code) | | Returns a Oracle text based feature writer that just issues the sql
statements directly, as text. Jody and Sean say things will go faster
if we use updatable resultsets and all that jazz, but I can't get
those to work, and this does, so I'm going forth with it.
|
determineCRS | protected CoordinateReferenceSystem determineCRS(int srid) throws IOException(Code) | | |
getEnvelope | public Envelope getEnvelope(String typeName)(Code) | | Retrieve approx bounds of all Features.
This result is suitable for a quick map display, illustrating the data.
This value is often stored as metadata in databases such as oraclespatial.
null as a generic implementation is not provided. |
|
|