Class AbstractGeopackageIndex
java.lang.Object
org.gvsig.sqlite.dal.geopackage.index.AbstractGeopackageIndex
- All Implemented Interfaces:
GeopackageIndex
- Direct Known Subclasses:
GeopackageIndexNGA,GeopackageIndexRTree
- Author:
- jjdelcerro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateIndex(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom, String fieldnameid) protected abstract StringgetBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, double minX, double minY, double maxX, double maxY) getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, String minX, String minY, String maxX, String maxY) getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, org.gvsig.fmap.geom.Geometry geom) getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, org.gvsig.fmap.geom.primitive.Envelope env) org.gvsig.fmap.geom.primitive.EnvelopegetEnvelope(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom) protected abstract StringgetGroup()booleanhasIndex(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor attr) booleanhasIndex(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom) voidsetHasIndex(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor attr, boolean b) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.sqlite.dal.geopackage.index.GeopackageIndex
getCreateIndexSQL, getEnvelopeSQL, getRemoveIndexSQL
-
Constructor Details
-
AbstractGeopackageIndex
public AbstractGeopackageIndex()
-
-
Method Details
-
getGroup
-
getAttributeIndexFlagName
-
hasIndex
public boolean hasIndex(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom) - Specified by:
hasIndexin interfaceGeopackageIndex
-
createIndex
public void createIndex(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom, String fieldnameid) throws SQLException - Specified by:
createIndexin interfaceGeopackageIndex- Throws:
SQLException
-
getBBoxIntersectsFilter
public String getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, double minX, double minY, double maxX, double maxY) - Specified by:
getBBoxIntersectsFilterin interfaceGeopackageIndex
-
getBBoxIntersectsFilter
public String getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, String minX, String minY, String maxX, String maxY) - Specified by:
getBBoxIntersectsFilterin interfaceGeopackageIndex
-
getBBoxIntersectsFilter
public String getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, org.gvsig.fmap.geom.primitive.Envelope env) - Specified by:
getBBoxIntersectsFilterin interfaceGeopackageIndex
-
getBBoxIntersectsFilter
public String getBBoxIntersectsFilter(String tablename, String fieldnameid, String fieldnamegeom, org.gvsig.fmap.geom.Geometry geom) - Specified by:
getBBoxIntersectsFilterin interfaceGeopackageIndex
-
setHasIndex
public void setHasIndex(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor attr, boolean b) - Specified by:
setHasIndexin interfaceGeopackageIndex
-
hasIndex
public boolean hasIndex(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor attr) - Specified by:
hasIndexin interfaceGeopackageIndex
-
getEnvelope
public org.gvsig.fmap.geom.primitive.Envelope getEnvelope(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn, String tablename, String fieldnamegeom) throws SQLException - Specified by:
getEnvelopein interfaceGeopackageIndex- Throws:
SQLException
-