kr.co.hit.live.query.element
Class StaticSqlText
java.lang.Object
kr.co.hit.live.query.element.StaticSqlText
- All Implemented Interfaces:
- SqlText
public class StaticSqlText
- extends Object
- implements SqlText
정적으로 고정된 SQL 문을 표현하는 클래스이다. 내부적으로 SqlText의 배열을 가지고 있다.
- Since:
- 4.0
- Author:
- 김형도
subSqls
protected List<SqlText> subSqls
StaticSqlText
public StaticSqlText(String rawText)
appendSql
public 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 객체를 여기에 계속 추가한다.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.