com.jn.sqlhelper.dialect.instrument.ClauseTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlhelper-dialect Show documentation
Show all versions of sqlhelper-dialect Show documentation
Database dialects ( supports pagination, UrlParser, SqlStatementParser, WallFilter, BatchExecutor for Test)
based Java, you can use it in any ORM framework.
package com.jn.sqlhelper.dialect.instrument;
import com.jn.langx.annotation.NonNull;
import com.jn.langx.lifecycle.Initializable;
import com.jn.sqlhelper.dialect.sqlparser.SqlStatementWrapper;
/**
* SQL 子句转换器
* @param SQL 语句
*
* @see com.jn.sqlhelper.dialect.instrument.orderby.OrderByTransformer
* @see com.jn.sqlhelper.dialect.instrument.where.WhereTransformer
*
*/
public interface ClauseTransformer extends Initializable {
Instrumentation> getInstrumentation();
void setInstrumentation(Instrumentation> instrumentation);
SqlStatementWrapper transform(@NonNull SqlStatementWrapper statement, @NonNull TransformConfig config);
}