public class JgeomSpatialHelper extends SpatialHelper
JGeometry.SpatialHelper.QueryExecutorpmf, storeMgr| Constructor and Description |
|---|
JgeomSpatialHelper(org.datanucleus.api.jdo.JDOPersistenceManagerFactory pmf)
Creates a new
JgeomSpatialHelper instance for the given PMF. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getSridFromDatastoreEntry(Class pc,
String fieldName,
javax.jdo.PersistenceManager pm)
Returns the srid of the first datastore entry for the given geometry field.
|
calculateBoundsInDatastore, checkValid, estimateBoundsFromDatastoreMetadata, getAdapter, getColumn, getColumn, getCrsNameForSrid, getCrsWktForSrid, getDimensionFromJdoMetadata, getGeometryColumnBackedFields, getIntegerFromJdoMetadata, getMetaDataManager, getSridFromDatastoreMetadata, getSridFromJdoMetadata, getTable, getValueFromJdoMetadata, isGeometryColumnBackedField, isGeometryColumnBackedField, readFirstValueForFieldpublic JgeomSpatialHelper(org.datanucleus.api.jdo.JDOPersistenceManagerFactory pmf)
JgeomSpatialHelper instance for the given PMF.pmf - The PMF, can't be null or closed.public Integer getSridFromDatastoreEntry(Class pc, String fieldName, javax.jdo.PersistenceManager pm)
null, if there are no entries or if the geometry field of the first entry is
null.pc - The PersistenceCapapable classfieldName - Name of the geometry fieldpm - PersistenceManager instance that should be used to access the datastorenullCopyright © 2015. All rights reserved.