public int index ( boolean force ) { int count = 0 ; if ( force || ! isIndexed ( ) ) { getOrCreateExtension ( ) ; TableIndex tableIndex = getOrCreateTableIndex ( ) ; createOrClearGeometryIndices ( ) ; geoPackage . unindexGeometryIndexTable ( ) ; count = indexTable ( tableIndex ) ; geoPackage . indexGeometryIndexTable ( ) ; } return count ; }
Index the feature table