Constructor and Description |
---|
DDLFormatterImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.String sql)
Format an SQL statement using simple rules
Insert newline after each comma
Indent three spaces after each inserted newline
If the statement contains single/double quotes return unchanged,
it is too complex and could be broken by simple formatting.
|
public java.lang.String format(java.lang.String sql)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.