インターフェース UpdateSpecification.UpdateOperation<T>

型パラメーター:
T -
含まれているインターフェース:
UpdateSpecification<T>
関数インターフェース:
これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。

@FunctionalInterfaceSE public static interface UpdateSpecification.UpdateOperation<T>
述語を指定せずに UPDATE 部分のみを考慮する、UpdateSpecification の簡略化された拡張。これは、再利用可能な仕様の関心事を分離できます。例:
UpdateSpecification<User> updateLastname = UpdateSpecification
                .<User> update((root, update, criteriaBuilder) -> update.set("lastname", "Heisenberg"))
                .where(userHasFirstname("Walter").and(userHasLastname("White")));

repository.update(updateLastname);
導入:
4.0
作成者:
Mark Paluch, Peter Aisher