geopackage-sdk/src/main/java/mil/nga/geopackage/user/UserConnection.java
private TResult handleCursor(Cursor cursor, UserQuery query) {
        TResult result = convertCursor(cursor);
        result.setQuery(query);
        if (table != null) {
            result.setTable(table);
        }
        return result;
    }
private TResult handleCursor(Cursor cursor, UserQuery query) {
        TResult result = convertCursor(cursor);
        result.setQuery(query);
        if (table != null) {
            result.setTable(table);
        }
        return result;
    }
Convert the cursor to the result type cursor

@param cursor cursor
@param query  user query
@return result cursor