|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.Datastore
org.deegree.io.datastore.sde.SDEDatastore
public class SDEDatastore
Datastore implementation for an ESRI SDE database.
| Field Summary |
|---|
| Fields inherited from class org.deegree.io.datastore.Datastore |
|---|
SRS_UNDEFINED |
| Constructor Summary | |
|---|---|
SDEDatastore()
|
|
| Method Summary | |
|---|---|
protected SDEConnection |
acquireConnection()
Returns the database connection requested for. |
DatastoreTransaction |
acquireTransaction()
Acquires transactional access to the datastore instance. |
void |
bindSchema(MappedGMLSchema schema)
Adds the given GML application schema to the set of schemas that are handled by this datastore instance. |
void |
close()
Closes the datastore so it can free dependent resources. |
void |
configure(DatastoreConfiguration config)
Configures the datastore with the supplied configuration. |
Geometry |
convertDBToDegreeGeometry(java.lang.Object value,
CoordinateSystem coordinateSystem)
Converts a database specific geometry Object from the ResultSet to a deegree
Geometry. |
java.lang.Object |
convertDegreeToDBGeometry(Geometry geometry)
Converts a deegree Geometry to a database specific geometry Object. |
AnnotationDocument |
getAnnotationParser()
Returns the datastore specific annotation parser. |
DatastoreConfiguration |
getConfiguration()
Returns the configuration parameters of the datastore. |
MappedFeatureType |
getFeatureType(QualifiedName ftName)
Returns the feature type with the given name. |
MappedGMLSchema[] |
getSchemas()
Returns the GML application schemas that are handled by this datastore. |
SDEWhereBuilder |
getWhereBuilder(MappedFeatureType[] rootFts,
java.lang.String[] aliases,
Filter filter,
TableAliasGenerator aliasGenerator)
Returns a specific WhereBuilder implementation for SDE. |
FeatureCollection |
performQuery(Query query,
MappedFeatureType[] rootFts)
Performs a query against the datastore. |
FeatureCollection |
performQuery(Query query,
MappedFeatureType[] rootFts,
DatastoreTransaction context)
Performs a query against the datastore (in the given transaction context). |
com.esri.sde.sdk.client.SeQuery |
prepareStatement(SDEConnection conn,
StatementBuffer statementBuffer)
Converts the StatementBuffer into a PreparedStatement, which is initialized and
ready to be performed. |
protected void |
releaseConnection(SDEConnection conn)
Releases the connection. |
void |
releaseTransaction(DatastoreTransaction ta)
Returns the transaction to the datastore. |
| Methods inherited from class org.deegree.io.datastore.Datastore |
|---|
canTransformTo, determineFidsToLock, transformQuery, transformResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SDEDatastore()
| Method Detail |
|---|
public AnnotationDocument getAnnotationParser()
Datastore
getAnnotationParser in class Datastore
public void configure(DatastoreConfiguration config)
throws DatastoreException
Datastore
configure in class Datastoreconfig - configuration
DatastoreExceptionpublic DatastoreConfiguration getConfiguration()
Datastore
getConfiguration in class Datastore
public void bindSchema(MappedGMLSchema schema)
throws DatastoreException
DatastoreNote that this method may be called several times for every GML schema that uses this datastore instance.
bindSchema in class Datastoreschema - GML application schema to bind
DatastoreExceptionpublic MappedGMLSchema[] getSchemas()
Datastore
getSchemas in class Datastorepublic MappedFeatureType getFeatureType(QualifiedName ftName)
Datastore
getFeatureType in class DatastoreftName - name of the feature type
Datastore does
not this feature type
public void close()
throws DatastoreException
Datastore
close in class DatastoreDatastoreException
public FeatureCollection performQuery(Query query,
MappedFeatureType[] rootFts)
throws DatastoreException
Datastore
performQuery in class Datastorequery - query to be performedrootFts - the root feature types that are queried, more than one type means that the types
are joined
DatastoreException
public DatastoreTransaction acquireTransaction()
throws DatastoreException
Datastore
acquireTransaction in class DatastoreDatastoreException
public SDEWhereBuilder getWhereBuilder(MappedFeatureType[] rootFts,
java.lang.String[] aliases,
Filter filter,
TableAliasGenerator aliasGenerator)
throws DatastoreException
WhereBuilder implementation for SDE.
rootFts - aliases - filter - aliasGenerator -
WhereBuilder implementation for SDE.
DatastoreException
public Geometry convertDBToDegreeGeometry(java.lang.Object value,
CoordinateSystem coordinateSystem)
throws DatastoreException
Object from the ResultSet to a deegree
Geometry.
value - coordinateSystem -
DatastoreException
public java.lang.Object convertDegreeToDBGeometry(Geometry geometry)
throws DatastoreException
Geometry to a database specific geometry Object.
geometry -
DatastoreException
protected SDEConnection acquireConnection()
throws DatastoreException
DatastoreException
protected void releaseConnection(SDEConnection conn)
throws DatastoreException
conn - Connection to be released.
DatastoreException
public com.esri.sde.sdk.client.SeQuery prepareStatement(SDEConnection conn,
StatementBuffer statementBuffer)
StatementBuffer into a PreparedStatement, which is initialized and
ready to be performed.
conn - connection to be used to create the PreparedStatementstatementBuffer -
PreparedStatment, ready to be performed
public FeatureCollection performQuery(Query query,
MappedFeatureType[] rootFts,
DatastoreTransaction context)
throws DatastoreException
Datastore
performQuery in class Datastorequery - query to be performedrootFts - the root feature types that are queried, more than one type means that the types
are joinedcontext - context (used to specify the JDBCConnection, for example)
DatastoreException
public void releaseTransaction(DatastoreTransaction ta)
throws DatastoreException
DatastoreDatastore.acquireTransaction()). Underlying resources (such as
JDBCConnections are freed).
The transaction should be terminated, i.e. DatastoreTransaction.commit() or
DatastoreTransaction.rollback() must have been called before.
releaseTransaction in class Datastoreta - the DatastoreTransaction to be returned
DatastoreException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org