kr.co.hit.live.query.element
Class StaticSqlText

java.lang.Object
  extended by kr.co.hit.live.query.element.StaticSqlText
All Implemented Interfaces:
SqlText

public class StaticSqlText
extends Object
implements SqlText

정적으로 고정된 SQL 문을 표현하는 클래스이다. 내부적으로 SqlText의 배열을 가지고 있다.

Since:
4.0
Author:
김형도

Field Summary
protected  List<SqlText> subSqls
           
 
Constructor Summary
StaticSqlText(String rawText)
           
 
Method Summary
 void appendSql(ValueObject params, StringBuilder sb, List<SqlParameter> sqlParams, int iterationIdx, DbmsSupporter supporter, DefinitionMap defMap)
          파싱된 SQL 문장을 StringBuilder에 append하고 SqlParameter 들은 sqlParams에 add한다.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subSqls

protected List<SqlText> subSqls
Constructor Detail

StaticSqlText

public StaticSqlText(String rawText)
Method Detail

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.