クラス AutoAnyDeleteImpl<T>
- java.lang.Object
-
- com.github.mygreen.sqlmapper.core.query.auto.AutoAnyDeleteImpl<T>
-
- 型パラメータ:
T- 処理対象となるエンティティの型
- すべての実装されたインタフェース:
AutoAnyDelete<T>
public class AutoAnyDeleteImpl<T> extends Object implements AutoAnyDelete<T>
任意の条件を指定して削除を行うSQLを自動生成するクエリの実装です。- 作成者:
- T.TSUCHIE
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 AutoAnyDeleteImpl(@NonNull SqlMapperContext context, @NonNull EntityPath<T> entityPath)
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 intexecute()クエリを実行します。Class<T>getBaseClass()SqlMapperContextgetContext()SqlMapperの設定情報。EntityMetagetEntityMeta()EntityPath<T>getEntityPath()PredicategetWhere()クライテリアです。AutoAnyDeleteImpl<T>where(@NonNull Predicate where)検索条件を指定します。
-
-
-
コンストラクタの詳細
-
AutoAnyDeleteImpl
public AutoAnyDeleteImpl(@NonNull @NonNull SqlMapperContext context, @NonNull @NonNull EntityPath<T> entityPath)
-
-
メソッドの詳細
-
where
public AutoAnyDeleteImpl<T> where(@NonNull @NonNull Predicate where)
インタフェースからコピーされた説明:AutoAnyDelete検索条件を指定します。- 定義:
whereインタフェース内AutoAnyDelete<T>- パラメータ:
where- 検索条件。- 戻り値:
- 自身のインスタンス。
-
execute
public int execute()
インタフェースからコピーされた説明:AutoAnyDeleteクエリを実行します。- 定義:
executeインタフェース内AutoAnyDelete<T>- 戻り値:
- 削除したレコード件数を返します。
-
getContext
public SqlMapperContext getContext()
SqlMapperの設定情報。
-
getEntityPath
public EntityPath<T> getEntityPath()
-
getEntityMeta
public EntityMeta getEntityMeta()
-
getWhere
public Predicate getWhere()
クライテリアです。
-
-