|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.sql.AbstractRequestHandler
org.deegree.io.datastore.sql.transaction.SQLTransaction
org.deegree.io.datastore.sql.generic.GenericSQLTransaction
public class GenericSQLTransaction
Special transaction implementation for the GenericSQLDatastore.
Please note that the quadtree management isn't finished yet.
What should work:
What definitely won't work:
org.deegree.io.quadtree| Field Summary | |
|---|---|
static HashMap<String,String> |
quadTreeVersionInfo
saves versioninfos about the different quadtrees. |
| Fields inherited from class org.deegree.io.datastore.sql.AbstractRequestHandler |
|---|
aliasGenerator, conn, datastore, FT_COLUMN, FT_PREFIX |
| Constructor Summary | |
|---|---|
GenericSQLTransaction(AbstractSQLDatastore ds,
TableAliasGenerator aliasGenerator,
Connection conn)
|
|
| Method Summary | |
|---|---|
int |
performDelete(MappedFeatureType mappedFeatureType,
Filter filter,
String lockId)
Deletes the features from the datastore that are matched by the given filter and type. |
List<FeatureId> |
performInsert(List<Feature> features)
Inserts the given feature instances into the datastore. |
int |
performUpdate(MappedFeatureType mappedFeatureType,
Feature replacementFeature,
Filter filter,
String lockId)
Performs an update operation against the datastore. |
int |
performUpdate(MappedFeatureType mappedFeatureType,
Map<PropertyPath,FeatureProperty> replacementProps,
Filter filter,
String lockId)
Performs an update operation against the datastore. |
| Methods inherited from class org.deegree.io.datastore.sql.transaction.SQLTransaction |
|---|
commit, getConnection, getDatastore, performNative, release, rollback |
| Methods inherited from class org.deegree.io.datastore.sql.AbstractRequestHandler |
|---|
appendColumnsList, appendFeatureIdColumns, appendFeatureIdConstraint, appendFeatureIdConstraint, appendJoinCondition, appendJoins, appendQualifiedColumn, appendQualifiedColumnsList, determineAffectedAndModifiableFIDs, determineAffectedFIDs, determineSubFeatures, determineSuperFeatures, extractFeatureId, extractFeatureIds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static HashMap<String,String> quadTreeVersionInfo
| Constructor Detail |
|---|
GenericSQLTransaction(AbstractSQLDatastore ds,
TableAliasGenerator aliasGenerator,
Connection conn)
throws DatastoreException
ds - aliasGenerator - conn -
DatastoreException| Method Detail |
|---|
public int performDelete(MappedFeatureType mappedFeatureType,
Filter filter,
String lockId)
throws DatastoreException
SQLTransaction
performDelete in interface DatastoreTransactionperformDelete in class SQLTransactionlockId - optional id of associated lock (may be null)
DatastoreException
public List<FeatureId> performInsert(List<Feature> features)
throws DatastoreException
SQLTransaction
performInsert in interface DatastoreTransactionperformInsert in class SQLTransactionDatastoreExceptionFeatureIdAssigner
public int performUpdate(MappedFeatureType mappedFeatureType,
Feature replacementFeature,
Filter filter,
String lockId)
throws DatastoreException
SQLTransactionThe filter is expected to match exactly one feature which will be replaced by the specified replacement feature.
performUpdate in interface DatastoreTransactionperformUpdate in class SQLTransactionmappedFeatureType - feature type that is to be updatedreplacementFeature - feature instance that will replace the selected featurefilter - selects the single feature instances that is to be replacedlockId - optional id of associated lock (may be null)
DatastoreException
public int performUpdate(MappedFeatureType mappedFeatureType,
Map<PropertyPath,FeatureProperty> replacementProps,
Filter filter,
String lockId)
throws DatastoreException
SQLTransaction
performUpdate in interface DatastoreTransactionperformUpdate in class SQLTransactionmappedFeatureType - feature type that is to be updatedreplacementProps - properties and their replacement valuesfilter - selects the feature instances that are to be updatedlockId - optional id of associated lock (may be null)
DatastoreException
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net