Class AbstractFormatter
java.lang.Object
org.pgcodekeeper.core.database.base.formatter.AbstractFormatter
- All Implemented Interfaces:
IFormatter
- Direct Known Subclasses:
ChFormatter,MsFormatter,PgFormatter
Abstract base class for SQL formatter implementations.
Provides common functionality and structure for database-specific formatters.
-
Method Summary
Modifier and TypeMethodDescriptionFormats the source text according to configuration and database type.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pgcodekeeper.core.database.api.formatter.IFormatter
getFormatItems
-
Method Details
-
formatText
Description copied from interface:IFormatterFormats the source text according to configuration and database type.- Specified by:
formatTextin interfaceIFormatter- Returns:
- Formatted SQL string
-