| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Set | |
| private static final Set | |
| private static final String | |
| private static final String | |
| private static final Set | |
| private static final Set | |
| private static final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String
The original SQL string source)Implements org. |
| BEGIN_CLAUSES | back to summary |
|---|---|
| private static final Set<String> BEGIN_CLAUSES | |
| DML | back to summary |
|---|---|
| private static final Set<String> DML | |
| END_CLAUSES | back to summary |
|---|---|
| private static final Set<String> END_CLAUSES | |
| INDENT_STRING | back to summary |
|---|---|
| private static final String INDENT_STRING | |
| INITIAL | back to summary |
|---|---|
| private static final String INITIAL | |
| LOGICAL | back to summary |
|---|---|
| private static final Set<String> LOGICAL | |
| MISC | back to summary |
|---|---|
| private static final Set<String> MISC | |
| QUANTIFIERS | back to summary |
|---|---|
| private static final Set<String> QUANTIFIERS | |
| BasicFormatterImpl | back to summary |
|---|---|
| public BasicFormatterImpl() | |
| format | back to summary |
|---|---|
| public String format(String source) Implements org. Doc from org. Format the source SQL string. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean | |
| private LinkedList | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv String | |
| private LinkedList | |
| pack-priv int | |
| pack-priv StringBuilder | |
| pack-priv String | |
| pack-priv StringTokenizer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static boolean | |
| private static boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public String | |
| private void | |
| private void | |
| private void | |
| private void |
| afterBeginBeforeEnd | back to summary |
|---|---|
| pack-priv boolean afterBeginBeforeEnd | |
| afterBetween | back to summary |
|---|---|
| pack-priv boolean afterBetween | |
| afterByOrFromOrSelects | back to summary |
|---|---|
| private LinkedList<Boolean> afterByOrFromOrSelects | |
| afterByOrSetOrFromOrSelect | back to summary |
|---|---|
| pack-priv boolean afterByOrSetOrFromOrSelect | |
| afterInsert | back to summary |
|---|---|
| pack-priv boolean afterInsert | |
| afterOn | back to summary |
|---|---|
| pack-priv boolean afterOn | |
| beginLine | back to summary |
|---|---|
| pack-priv boolean beginLine | |
| indent | back to summary |
|---|---|
| pack-priv int indent | |
| inFunction | back to summary |
|---|---|
| pack-priv int inFunction | |
| lastToken | back to summary |
|---|---|
| pack-priv String lastToken | |
| lcToken | back to summary |
|---|---|
| pack-priv String lcToken | |
| parenCounts | back to summary |
|---|---|
| private LinkedList<Integer> parenCounts | |
| parensSinceSelect | back to summary |
|---|---|
| pack-priv int parensSinceSelect | |
| result | back to summary |
|---|---|
| pack-priv StringBuilder result | |
| token | back to summary |
|---|---|
| pack-priv String token | |
| tokens | back to summary |
|---|---|
| pack-priv StringTokenizer tokens | |
| FormatProcess | back to summary |
|---|---|
| public FormatProcess(String sql) | |
| beginNewClause | back to summary |
|---|---|
| private void beginNewClause() | |
| closeParen | back to summary |
|---|---|
| private void closeParen() | |
| commaAfterByOrFromOrSelect | back to summary |
|---|---|
| private void commaAfterByOrFromOrSelect() | |
| commaAfterOn | back to summary |
|---|---|
| private void commaAfterOn() | |
| endNewClause | back to summary |
|---|---|
| private void endNewClause() | |
| isFunctionName | back to summary |
|---|---|
| private static boolean isFunctionName(String tok) | |
| isWhitespace | back to summary |
|---|---|
| private static boolean isWhitespace(String token) | |
| logical | back to summary |
|---|---|
| private void logical() | |
| misc | back to summary |
|---|---|
| private void misc() | |
| newline | back to summary |
|---|---|
| private void newline() | |
| on | back to summary |
|---|---|
| private void on() | |
| openParen | back to summary |
|---|---|
| private void openParen() | |
| out | back to summary |
|---|---|
| private void out() | |
| perform | back to summary |
|---|---|
| public String perform() | |
| select | back to summary |
|---|---|
| private void select() | |
| updateOrInsertOrDelete | back to summary |
|---|---|
| private void updateOrInsertOrDelete() | |
| values | back to summary |
|---|---|
| private void values() | |
| white | back to summary |
|---|---|
| private void white() | |