public class Formatter extends Object
| Constructor and Description |
|---|
Formatter(FormatConfig cfg,
Tokenizer tokenizer) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String query)
Formats whitespaces in a SQL string to make it easier to read.
|
public Formatter(FormatConfig cfg, Tokenizer tokenizer)
cfg - cfg.indent cfg.paramstokenizer - TokenizerCopyright © 2020. All rights reserved.