protected LdbcQuery14Result toResult()

in common/src/main/java/com/youtrackdb/ldbc/common/queries/ComplexReadQuery14.java [106:113]


    protected LdbcQuery14Result toResult(Map<String, Object> record) {
        @SuppressWarnings("unchecked")
        List<Long> personIds = (List<Long>) record.get("personIdsInPath");
        Object weightObj = record.get("pathWeight");
        double weight = weightObj instanceof Number ? ((Number) weightObj).doubleValue() : 0.0;

        return new LdbcQuery14Result(personIds, weight);
    }