public class SubQueryIndentProcessor extends Object implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
SubQueryIndentProcessor.SubQueryIndentFailureException |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
BEGIN_MARK_PREFIX |
static String |
END_MARK_PREFIX |
static String |
IDENTITY_TERMINAL |
| コンストラクタと説明 |
|---|
SubQueryIndentProcessor() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
buildSpaceBar(int size) |
static boolean |
hasSubQueryBeginOnFirstLine(String exp) |
static boolean |
hasSubQueryEndOnLastLine(String exp) |
protected static String |
ln() |
static String |
moveSubQueryEndToRear(String exp) |
protected boolean |
needsLineConnection(StringBuilder sb) |
String |
processSubQueryIndent(String sql,
String preIndent,
String originalSql) |
protected String |
replaceString(String text,
String fromText,
String toText) |
String |
resolveSubQueryBeginMark(String subQueryIdentity) |
String |
resolveSubQueryEndMark(String subQueryIdentity) |
protected void |
throwSubQueryAnyBeginMarkNotHandledException(String subQueryIdentity,
String sql,
String filteredSql,
String originalSql) |
protected void |
throwSubQueryNotFoundEndMarkException(String subQueryIdentity,
String sql,
String filteredSql,
String originalSql) |
public String processSubQueryIndent(String sql, String preIndent, String originalSql)
protected boolean needsLineConnection(StringBuilder sb)
protected void throwSubQueryNotFoundEndMarkException(String subQueryIdentity, String sql, String filteredSql, String originalSql)
protected void throwSubQueryAnyBeginMarkNotHandledException(String subQueryIdentity, String sql, String filteredSql, String originalSql)
protected String buildSpaceBar(int size)
public static boolean hasSubQueryBeginOnFirstLine(String exp)
public static boolean hasSubQueryEndOnLastLine(String exp)
protected static String ln()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.