geopackage-sdk/src/main/java/mil/nga/geopackage/db/metadata/TableMetadataDataSource.java
public boolean updateLastIndexed(long geoPackageId, String tableName, long lastIndexed) {
        String whereClause = TableMetadata.COLUMN_GEOPACKAGE_ID
                + " = ? AND " + TableMetadata.COLUMN_TABLE_NAME + " = ?";
        String[] whereArgs = new String[]{String.valueOf(geoPackageId), tableName};
        ContentValues values = new ContentValues();
        values.put(TableMetadata.COLUMN_LAST_INDEXED, lastIndexed);
        int updateCount = db.update(
                TableMetadata.TABLE_NAME, values,
                whereClause, whereArgs);
        return updateCount > 0;
    }
public boolean updateLastIndexed(long geoPackageId, String tableName, long lastIndexed) {
        String whereClause = TableMetadata.COLUMN_GEOPACKAGE_ID
                + " = ? AND " + TableMetadata.COLUMN_TABLE_NAME + " = ?";
        String[] whereArgs = new String[]{String.valueOf(geoPackageId), tableName};
        ContentValues values = new ContentValues();
        values.put(TableMetadata.COLUMN_LAST_INDEXED, lastIndexed);
        int updateCount = db.update(
                TableMetadata.TABLE_NAME, values,
                whereClause, whereArgs);
        return updateCount > 0;
    }
public boolean updateLastIndexed ( long geoPackageId , String tableName , long lastIndexed ) { String whereClause = TableMetadata . COLUMN_GEOPACKAGE_ID + " = ? AND " + TableMetadata . COLUMN_TABLE_NAME + " = ?" ; String [ ] whereArgs = new String [ ] { String . valueOf ( geoPackageId ) , tableName } ; ContentValues values = new ContentValues ( ) ; values . put ( TableMetadata . COLUMN_LAST_INDEXED , lastIndexed ) ; int updateCount = db . update ( TableMetadata . TABLE_NAME , values , whereClause , whereArgs ) ; return updateCount > 0 ; }
Update the last indexed time

@param geoPackageId GeoPackage id
@param tableName    table name
@param lastIndexed  last indexed
@return updated flag
Update the last indexed time