public class RTreeIndexTests extends CommonFixture
Sources
CommonFixture.GeoPackageVersiondatabaseConnection, dataSource, gpkgFile, ROOT_PKG_PATH| Constructor and Description |
|---|
RTreeIndexTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
extensionIndexImplementation()
A GeoPackage SHALL implement spatial indexes on feature table geometry
columns using the SQLite Virtual Table RTrees and triggers specified
below.
|
void |
extensionsTableRows()
A GeoPackage that implements spatial indexes SHALL have a
`gpkg_extensions` table that contains a row for each spatially
indexed column with `extension_name` "gpkg_rtree_index", the
`table_name` of the table with a spatially indexed column, the
`column_name` of the spatially indexed column, and a `scope` of
"write-only".
|
void |
setUp()
Sets up variables used across methods
|
void |
validateExtensionPresent(org.testng.ITestContext testContext)
The "gpkg_rtree_index" extension name SHALL be used as a
gpkg_extensions table extension_name column value to specify
implementation of spatial indexes on a geometry column.
|
checkPrimaryKey, close, getAllowedVersions, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabledpublic void validateExtensionPresent(org.testng.ITestContext testContext)
throws SQLException
testContext - the ITestContext to useSQLException - on any errorpublic void setUp()
throws SQLException
SQLException - if there is a database errorpublic void extensionsTableRows()
throws SQLException
SQLException - on any errorpublic void extensionIndexImplementation()
throws SQLException
SQLException - on any errorCopyright © 2018 Open Geospatial Consortium. All rights reserved.