kr.co.hit.live.query.element
Class DynamicSqlText
java.lang.Object
kr.co.hit.live.query.element.DynamicSqlText
- All Implemented Interfaces:
- SqlText
- Direct Known Subclasses:
- ConditionalSqlText, IterateSqlText
public abstract class DynamicSqlText
- extends Object
- implements SqlText
동적인 SQL 문장을 표현하기 위한 SqlText 인터페이스의 확장이다.
- Since:
- 4.0
- Author:
- 김형도
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
children
protected List<SqlText> children
- 하위 Sql 문장들을 저장한다.
DynamicSqlText
public DynamicSqlText()
addSqlText
public void addSqlText(SqlText text)
getSqlList
public List<SqlText> getSqlList()
appendSql
public abstract void appendSql(ValueObject params,
StringBuilder sb,
List<SqlParameter> sqlParams,
int iterationIdx,
DbmsSupporter supporter,
DefinitionMap defMap)
- Description copied from interface:
SqlText
- 파싱된 SQL 문장을 StringBuilder에 append하고 SqlParameter 들은 sqlParams에 add한다.
- Specified by:
appendSql in interface SqlText
sb - SQL 문장을 여기에 계속 추가한다.sqlParams - SqlParameter 객체를 여기에 계속 추가한다.
Copyright © 2014. All Rights Reserved.