|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ign.cogit.geoxygene.datatools.ojb.GeodatabaseOjb
fr.ign.cogit.geoxygene.datatools.postgis.GeodatabaseOjbPostgis
public class GeodatabaseOjbPostgis
Implementation d'une Geodatabase utilisant OJB comme mappeur et Postgis comme SGBDR geographique.
| Field Summary |
|---|
| Fields inherited from class fr.ign.cogit.geoxygene.datatools.ojb.GeodatabaseOjb |
|---|
_conn, _db, _metadataList, _odmg, _tx |
| Fields inherited from interface fr.ign.cogit.geoxygene.datatools.Geodatabase |
|---|
ORACLE, POSTGIS |
| Constructor Summary | |
|---|---|
GeodatabaseOjbPostgis()
Constructeur direct. |
|
GeodatabaseOjbPostgis(GeodatabaseOjb ojb)
Constructeur en specialisant GeodatabaseOjb. |
|
| Method Summary | |
|---|---|
int |
countObjects(java.lang.Class theClass)
Renvoie le nombre d'objets persistants de la classe theClass. |
int |
getDBMS()
renvoie le type de SGBD associe. |
java.lang.Object |
loadAllFeatures(java.lang.Class featureClass,
java.lang.Class featureListClass,
GM_Object geom)
Charge tous les FT_Feature de la classe theClass intersectant le GM_Object geom, dans la classe featureListClass. |
java.lang.Object |
loadAllFeatures(java.lang.Class featureClass,
java.lang.Class featureListClass,
GM_Object geom,
double dist)
Charge tous les FT_Feature de la classe theClass a une distance dist du GM_Object geom, dans la classe featureListClass. |
FT_FeatureCollection |
loadAllFeatures(java.lang.Class featureClass,
GM_Object geom)
Charge tous les FT_Feature de la classe theClass intersectant le GM_Object geom, dans la classe FT_FeatureCollection. |
FT_FeatureCollection |
loadAllFeatures(java.lang.Class featureClass,
GM_Object geom,
double dist)
Charge tous les FT_Feature de la classe theClass a une distance dist du GM_Object geom, dans la classe FT_FeatureCollection. |
int |
maxId(java.lang.Class theClass)
Renvoie l'identifiant maximum de la classe theClass. |
void |
mbr(java.lang.Class clazz)
Ne fonctionne pas sous POSTGIS. |
int |
minId(java.lang.Class theClass)
Renvoie l'identifiant minimum de la classe theClass. |
void |
refreshRepository(java.io.File newRepository)
Utilise par EsayLoader pour recharger un fichier de mapping qui a ete modifie. |
void |
spatialIndex(java.lang.Class clazz)
Calcule un index spatial sur la table mappee avec la classe (R-Tree). |
| Methods inherited from class fr.ign.cogit.geoxygene.datatools.ojb.GeodatabaseOjb |
|---|
abort, begin, checkpoint, clearCache, close, commit, deletePersistent, exeSQL, exeSQLQuery, getConnection, getMetadata, getMetadata, getMetadata, getODMGDatabase, getODMGImplementation, getODMGTransaction, initConnection, initMetadata, initODMG, isOpen, load, loadAll, loadAllFeatures, loadAllFeatures, loadOQL, makePersistent, newOQLQuery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.ign.cogit.geoxygene.datatools.Geodatabase |
|---|
abort, begin, checkpoint, clearCache, close, commit, deletePersistent, exeSQL, exeSQLQuery, getConnection, getMetadata, getMetadata, getMetadata, isOpen, load, loadAll, loadAllFeatures, loadAllFeatures, loadOQL, makePersistent, newOQLQuery |
| Constructor Detail |
|---|
public GeodatabaseOjbPostgis()
public GeodatabaseOjbPostgis(GeodatabaseOjb ojb)
| Method Detail |
|---|
public FT_FeatureCollection loadAllFeatures(java.lang.Class featureClass,
GM_Object geom)
loadAllFeatures in interface Geodatabase
public java.lang.Object loadAllFeatures(java.lang.Class featureClass,
java.lang.Class featureListClass,
GM_Object geom)
loadAllFeatures in interface Geodatabase
public FT_FeatureCollection loadAllFeatures(java.lang.Class featureClass,
GM_Object geom,
double dist)
loadAllFeatures in interface Geodatabase
public java.lang.Object loadAllFeatures(java.lang.Class featureClass,
java.lang.Class featureListClass,
GM_Object geom,
double dist)
loadAllFeatures in interface Geodatabasepublic void mbr(java.lang.Class clazz)
mbr in interface Geodatabasepublic void spatialIndex(java.lang.Class clazz)
spatialIndex in interface Geodatabasepublic int countObjects(java.lang.Class theClass)
countObjects in interface Geodatabasepublic int maxId(java.lang.Class theClass)
maxId in interface Geodatabasepublic int minId(java.lang.Class theClass)
minId in interface Geodatabasepublic int getDBMS()
getDBMS in interface Geodatabase
public void refreshRepository(java.io.File newRepository)
throws java.lang.Exception
refreshRepository in interface Geodatabasejava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||