geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/GeometryMetadataDataSource.java
public Cursor query(long geoPackageId, String tableName) {
        String selection = GeometryMetadata.COLUMN_GEOPACKAGE_ID
                + " = ? AND " + GeometryMetadata.COLUMN_TABLE_NAME + " = ?";
        String[] selectionArgs = new String[]{String.valueOf(geoPackageId), tableName};
        Cursor cursor = db.query(
                GeometryMetadata.TABLE_NAME,
                GeometryMetadata.COLUMNS, selection, selectionArgs, null, null, null);
        return cursor;
    }
public Cursor query(long geoPackageId, String tableName) {
        String selection = GeometryMetadata.COLUMN_GEOPACKAGE_ID
                + " = ? AND " + GeometryMetadata.COLUMN_TABLE_NAME + " = ?";
        String[] selectionArgs = new String[]{String.valueOf(geoPackageId), tableName};
        Cursor cursor = db.query(
                GeometryMetadata.TABLE_NAME,
                GeometryMetadata.COLUMNS, selection, selectionArgs, null, null, null);
        return cursor;
    }
public Cursor query ( long geoPackageId , String tableName ) { String selection = GeometryMetadata . COLUMN_GEOPACKAGE_ID + " = ? AND " + GeometryMetadata . COLUMN_TABLE_NAME + " = ?" ; String [ ] selectionArgs = new String [ ] { String . valueOf ( geoPackageId ) , tableName } ; Cursor cursor = db . query ( GeometryMetadata . TABLE_NAME , GeometryMetadata . COLUMNS , selection , selectionArgs , null , null , null ) ; return cursor ; }
Query for all table geometry metadata

@param geoPackageId GeoPackage id
@param tableName    table name
@return cursor that must be closed
Query for all table geometry metadata