接口 TextPrepare
- 所有超级接口:
Cloneable,RunPrepare
- 所有已知实现类:
DefaultTextPrepare
order 需要区分XML定义还是动态添加
- 作者:
- zh
-
字段概要
从接口继承的字段 org.anyline.data.prepare.RunPrepare
PROCEDURE_INPUT_PARAM_TYPE, PROCEDURE_INPUT_PARAM_VALUE, SQL_VAR_BOX_REGEX, SQL_VAR_PLACEHOLDER_REGEX, SQL_VAR_PLACEHOLDER_REGEX_EXT, XML_SQL_ID_STYLE -
方法概要
修饰符和类型方法说明addCondition(String condition) 添加静态文本查询条件getText()init()setConditionValue(String condition, String variable, Object value) 添加查询条件设置SQL 主体文本从接口继承的方法 org.anyline.data.prepare.RunPrepare
addColumn, addColumn, addCondition, addCondition, addCondition, addFetchKey, addFetchKey, addPrimaryKey, addPrimaryKey, aggregation, aggregation, aggregation, aggregations, box, build, clone, condition, condition, disposable, disposable, excludeColumn, filter, full, getAlias, getBatch, getCatalog, getCatalogName, getColumns, getConditionChain, getDest, getDistinct, getExcludes, getFetchKeys, getGroups, getId, getJoin, getJoins, getOrders, getPageNavi, getPrimaryKey, getPrimaryKeys, getRuntime, getSchema, getSchemaName, getTable, getTableName, getUnions, getVersion, group, group, groups, hasPrimaryKeys, having, having, having, inner, isMultiple, isStrict, isUnionAll, join, join, join, join, join, json, json, left, map, map, map, order, order, order, order, parse, right, setAlias, setBatch, setCatalog, setDest, setDest, setDistinct, setExcludeColumns, setExcludeColumns, setFetchKey, setFetchKey, setId, setJoin, setJoin, setJoin, setMultiple, setOrders, setPageNavi, setPrimaryKey, setPrimaryKey, setRuntime, setSchema, setSelectColumns, setSelectColumns, setStrict, setUnionAll, union, union, union, union, unionAll, unionAll
-
方法详细资料
-
init
RunPrepare init() -
setText
设置SQL 主体文本- 指定者:
setText在接口中RunPrepare- 参数:
text- text- 返回:
- Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
-
getText
String getText()- 指定者:
getText在接口中RunPrepare
-
addCondition
添加静态文本查询条件- 参数:
condition- condition- 返回:
- Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
-
setConditionValue
添加查询条件- 指定者:
setConditionValue在接口中RunPrepare- 参数:
condition- 列名|查询条件IDvariable- 变量keyvalue- 值- 返回:
- Run 最终执行命令 如JDBC环境中的 SQL 与 参数值
-
getSQLVariables
- 指定者:
getSQLVariables在接口中RunPrepare
-