kr.co.hit.live.query.element
Class SqlTextParser
java.lang.Object
kr.co.hit.live.query.element.SqlTextParser
public class SqlTextParser
- extends Object
Inline parameter가 포함되어 있는 SQL 문장을 받아서 SqlText 객체들의 리스트로 파싱한다.
파라메터 구분자는 #과 $를 사용하며 구분자를 문자열로 입력하기 위하여 각각 ##과 $$를 사용한다.
다중 쓰레드에서 동기화는 보장하지 않는다.
- Since:
- 4.0
- Author:
- 김형도
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlTextParser
public SqlTextParser()
parse
public List<SqlText> parse(String rawText)
- 주어진 Sql 문장을 파싱하여 SqlText 객체의 배열로 반환한다.
- Parameters:
rawText -
- Returns:
Copyright © 2014. All Rights Reserved.