有没有办法在下面的示例中不指定所有类型参数?我试过只使用“记录”,但无济于事。
Map<Integer,Result<Record6<Integer, String, Integer, String, String, Integer>>> records = db()
.select(TRANSITIONS.TRANSITION_ID, TRANSITIONS.TYPE, POSES.POSE_ID, POSES.NAME, IMAGES.URL, IMAGES.SCORE.max())
.from(TRANSITIONS
.join(POSES).on(POSES.POSE_ID.equal(TRANSITIONS.TO_POSE_ID))
.join(IMAGES).on(IMAGES.POSE_ID.equal(POSES.POSE_ID)))
.where(TRANSITIONS.FROM_POSE_ID.equal(fromPoseId))
.groupBy(TRANSITIONS.TRANSITION_ID, TRANSITIONS.TYPE, POSES.POSE_ID, POSES.NAME, IMAGES.URL)
.fetchGroups(TRANSITIONS.TRANSITION_ID);