public abstract class AbstractGeopackageIndex extends java.lang.Object implements GeopackageIndex
Constructor and Description |
---|
AbstractGeopackageIndex() |
Modifier and Type | Method and Description |
---|---|
void |
createIndex(JDBCConnection conn,
java.lang.String tablename,
java.lang.String fieldnamegeom,
java.lang.String fieldnameid) |
protected abstract java.lang.String |
getAttributeIndexFlagName() |
java.lang.String |
getBBoxIntersectsFilter(java.lang.String tablename,
java.lang.String fieldnameid,
java.lang.String fieldnamegeom,
double minX,
double minY,
double maxX,
double maxY) |
java.lang.String |
getBBoxIntersectsFilter(java.lang.String tablename,
java.lang.String fieldnameid,
java.lang.String fieldnamegeom,
Envelope env) |
java.lang.String |
getBBoxIntersectsFilter(java.lang.String tablename,
java.lang.String fieldnameid,
java.lang.String fieldnamegeom,
Geometry geom) |
java.lang.String |
getBBoxIntersectsFilter(java.lang.String tablename,
java.lang.String fieldnameid,
java.lang.String fieldnamegeom,
java.lang.String minX,
java.lang.String minY,
java.lang.String maxX,
java.lang.String maxY) |
Envelope |
getEnvelope(JDBCConnection conn,
java.lang.String tablename,
java.lang.String fieldnamegeom) |
protected abstract java.lang.String |
getGroup() |
boolean |
hasIndex(FeatureAttributeDescriptor attr) |
boolean |
hasIndex(JDBCConnection conn,
java.lang.String tablename,
java.lang.String fieldnamegeom) |
void |
setHasIndex(FeatureAttributeDescriptor attr,
boolean b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCreateIndexSQL, getEnvelopeSQL, getRemoveIndexSQL
protected abstract java.lang.String getGroup()
protected abstract java.lang.String getAttributeIndexFlagName()
public boolean hasIndex(JDBCConnection conn, java.lang.String tablename, java.lang.String fieldnamegeom)
hasIndex
in interface GeopackageIndex
public void createIndex(JDBCConnection conn, java.lang.String tablename, java.lang.String fieldnamegeom, java.lang.String fieldnameid) throws java.sql.SQLException
createIndex
in interface GeopackageIndex
java.sql.SQLException
public java.lang.String getBBoxIntersectsFilter(java.lang.String tablename, java.lang.String fieldnameid, java.lang.String fieldnamegeom, double minX, double minY, double maxX, double maxY)
getBBoxIntersectsFilter
in interface GeopackageIndex
public java.lang.String getBBoxIntersectsFilter(java.lang.String tablename, java.lang.String fieldnameid, java.lang.String fieldnamegeom, java.lang.String minX, java.lang.String minY, java.lang.String maxX, java.lang.String maxY)
getBBoxIntersectsFilter
in interface GeopackageIndex
public java.lang.String getBBoxIntersectsFilter(java.lang.String tablename, java.lang.String fieldnameid, java.lang.String fieldnamegeom, Envelope env)
getBBoxIntersectsFilter
in interface GeopackageIndex
public java.lang.String getBBoxIntersectsFilter(java.lang.String tablename, java.lang.String fieldnameid, java.lang.String fieldnamegeom, Geometry geom)
getBBoxIntersectsFilter
in interface GeopackageIndex
public void setHasIndex(FeatureAttributeDescriptor attr, boolean b)
setHasIndex
in interface GeopackageIndex
public boolean hasIndex(FeatureAttributeDescriptor attr)
hasIndex
in interface GeopackageIndex
public Envelope getEnvelope(JDBCConnection conn, java.lang.String tablename, java.lang.String fieldnamegeom) throws java.sql.SQLException
getEnvelope
in interface GeopackageIndex
java.sql.SQLException