com.github.chengyuxing.sql.plugins.NamedParamFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbit-sql Show documentation
Show all versions of rabbit-sql Show documentation
Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql
file.
package com.github.chengyuxing.sql.plugins;
import org.jetbrains.annotations.NotNull;
/**
* Non-prepared Sql named parameter ({@code :key}) value formatter.
*/
@FunctionalInterface
public interface NamedParamFormatter {
/**
* Format named parameter to string literal.
*
* @param value value
* @return formatted value
*/
@NotNull String format(Object value);
}