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

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

public class SimpleSqlText
extends Object
implements SqlText

Text로만 이루어진 SQL 문장을 표현한다.

Since:
4.0
Author:
김형도

Field Summary
protected  List<SqlParameter> params
           
protected  String text
           
 
Constructor Summary
SimpleSqlText(String text, List<SqlParameter> params)
           
 
Method Summary
 void appendSql(ValueObject paramVO, 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

text

protected String text

params

protected List<SqlParameter> params
Constructor Detail

SimpleSqlText

public SimpleSqlText(String text,
                     List<SqlParameter> params)
Method Detail

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.