クラス FuncOpHandler
- java.lang.Object
-
- com.github.mygreen.sqlmapper.core.where.metamodel.OperationHandler<FunctionOp>
-
- com.github.mygreen.sqlmapper.core.where.metamodel.FuncOpHandler
-
public class FuncOpHandler extends OperationHandler<FunctionOp>
関数(FunctionOp)に対する処理を定義します。- バージョン:
- 0.3
- 作成者:
- T.TSUCHIE
-
-
フィールドの概要
-
クラスから継承されたフィールド com.github.mygreen.sqlmapper.core.where.metamodel.OperationHandler
templateMap
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 FuncOpHandler()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 voidhandle(FunctionOp operator, Operation<?> expr, Visitor<VisitorContext> visitor, VisitorContext context)演算子に対する処理を行います。protected voidinit()初期化処理voidregister(FunctionOp operator, SqlFunction function)SQL関数の処理を登録します。-
クラスから継承されたメソッド com.github.mygreen.sqlmapper.core.where.metamodel.OperationHandler
addTemplate, formatWithTemplate, getTemplate, invoke, isPropertyPath, visitConstantWithPropertyPath
-
-
-
-
メソッドの詳細
-
register
public void register(FunctionOp operator, SqlFunction function)
SQL関数の処理を登録します。- パラメータ:
operator- SQL関数名function- SQL関数の処理- 導入されたバージョン:
- 0.3
-
init
protected void init()
クラスからコピーされた説明:OperationHandler初期化処理- 定義:
initクラス内OperationHandler<FunctionOp>
-
handle
public void handle(FunctionOp operator, Operation<?> expr, Visitor<VisitorContext> visitor, VisitorContext context)
クラスからコピーされた説明:OperationHandler演算子に対する処理を行います。- 定義:
handleクラス内OperationHandler<FunctionOp>- パラメータ:
operator- 演算子expr- 演算子と非演算子を含む処理対象の式の情報visitor- Visitorcontext- このンテキスト
-
-