
com.github.obase.mysql.xml.Part Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of obase-mysql Show documentation
Show all versions of obase-mysql Show documentation
A very simple/efficient Mysql Client Framework
The newest version!
package com.github.obase.mysql.xml;
import com.github.obase.mysql.JdbcMeta;
import com.github.obase.mysql.impl.ParamBuilder;
public interface Part {
Part[] EMPTY_ARRAY = new Part[0];
String[] EMPTY_PARAM = new String[0];
String DEF_SEP = " OR ";
char SPACE = '\u0020';
/**
* 判断是否动态标签
*
* @return
*/
boolean isDynamic();
String getSeparator();
/**
* 静态标签逻辑
*
*/
String getPsql();
String[] getParams();
/**
* 处理动态逻辑, 并将结果附加到psqls与params
*/
boolean processDynamic(JdbcMeta meta, Object bean, StringBuilder psql, ParamBuilder params, int idx);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy