kr.co.hit.live.query.element
Class SimpleSqlText
java.lang.Object
kr.co.hit.live.query.element.SimpleSqlText
- All Implemented Interfaces:
- SqlText
public class SimpleSqlText
- extends Object
- implements SqlText
Text로만 이루어진 SQL 문장을 표현한다.
- Since:
- 4.0
- Author:
- 김형도
text
protected String text
params
protected List<SqlParameter> params
SimpleSqlText
public SimpleSqlText(String text,
List<SqlParameter> params)
appendSql
public void appendSql(ValueObject paramVO,
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.