Available Methods
- close ( )
- getSpatialReferenceSystemDao ( )
- getTileDao ( )
- getFeatureDao ( )
- getTileMatrixSetDao ( )
- getContentsDao ( )
- getGeometryColumnsDao ( )
- getTileMatrixDao ( )
- createFeatureTableWithMetadata ( )
- getFeatureTables ( )
- getExtensionsDao ( )
- createTileMatrixTable ( )
- deleteTable ( )
- createTileMatrixSetTable ( )
- getAttributesTables ( )
- getDataColumnsDao ( )
- getAttributesDao ( )
- getMetadataDao ( )
- createFeatureTable ( )
- foreignKeys ( )
- getMetadataReferenceDao ( )
- execSQL ( )
- getTileTables ( )
- isFeatureTable ( )
- createDataColumnsTable ( )
- verifyWritable ( )
- createExtensionsTable ( )
- isTable ( )
- getTables ( )
- createDataColumnConstraintsTable ( )
- createGeometryColumnsTable ( )
- getDataColumnConstraintsDao ( )
- getBoundingBox ( )
- createAttributesTableWithId ( )
Related Classes
- java.io.File
- android.content.Context
- java.util.Date
- android.app.Activity
- java.sql.SQLException
- junit.framework.TestCase
- com.j256.ormlite.stmt.QueryBuilder
- com.j256.ormlite.stmt.PreparedQuery
- com.j256.ormlite.stmt.UpdateBuilder
- com.j256.ormlite.stmt.DeleteBuilder
- com.j256.ormlite.stmt.PreparedDelete
- mil.nga.sf.proj.Projection
- mil.nga.geopackage.features.user.FeatureDao
- mil.nga.sf.proj.ProjectionFactory
- mil.nga.geopackage.BoundingBox
- mil.nga.geopackage.geom.GeoPackageGeometryData
- mil.nga.geopackage.tiles.TileBoundingBoxUtils
- mil.nga.geopackage.features.index.FeatureIndexManager
- mil.nga.sf.GeometryType
- mil.nga.geopackage.tiles.user.TileDao
- mil.nga.geopackage.GeoPackageException
- mil.nga.sf.proj.ProjectionConstants
- mil.nga.geopackage.features.columns.GeometryColumns
- mil.nga.geopackage.core.contents.Contents
- mil.nga.geopackage.features.user.FeatureRow
Java Code Examples for mil.nga.geopackage.GeoPackage#getTables()
The following examples show how to use
mil.nga.geopackage.GeoPackage#getTables() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GeoPackageTestUtils.java From geopackage-android with MIT License | 4 votes |
/** * Test the GeoPackage vacuum * * @param activity activity * @param geoPackage GeoPackage */ public static void testVacuum(Activity activity, GeoPackage geoPackage) { GeoPackageManager manager = GeoPackageFactory.getManager(activity); long size = manager.size(geoPackage.getName()); for (String table : geoPackage.getTables()) { geoPackage.deleteTable(table); geoPackage.vacuum(); long newSize = manager.size(geoPackage.getName()); TestCase.assertTrue(size > newSize); size = newSize; } }
Example 2
Source File: GeoPackageTestUtils.java From geopackage-java with MIT License | 4 votes |
/** * Test the GeoPackage vacuum * * @param geoPackage * GeoPackage */ public static void testVacuum(GeoPackage geoPackage) { String path = geoPackage.getPath(); File file = new File(path); long size = file.length(); for (String table : geoPackage.getTables()) { geoPackage.deleteTable(table); TestCase.assertEquals(size, file.length()); geoPackage.vacuum(); long newSize = file.length(); TestCase.assertTrue(size > newSize); size = newSize; } }