public class QualifiedObjectNameFormatterStandardImpl extends Object implements QualifiedObjectNameFormatter
DatabaseMetaData
to render qualified names.Constructor and Description |
---|
QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport) |
QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport,
DatabaseMetaData databaseMetaData) |
QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport,
String catalogSeparator,
boolean catalogAtEnd) |
Modifier and Type | Method and Description |
---|---|
String |
format(QualifiedName qualifiedName,
Dialect dialect)
Render a formatted non-table and non-sequence qualified name
|
String |
format(QualifiedSequenceName qualifiedSequenceName,
Dialect dialect)
Render a formatted sequence name
|
String |
format(QualifiedTableName qualifiedTableName,
Dialect dialect)
Render a formatted a table name
|
public QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport, String catalogSeparator, boolean catalogAtEnd)
public QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport)
public QualifiedObjectNameFormatterStandardImpl(NameQualifierSupport nameQualifierSupport, DatabaseMetaData databaseMetaData) throws SQLException
SQLException
public String format(QualifiedTableName qualifiedTableName, Dialect dialect)
QualifiedObjectNameFormatter
format
in interface QualifiedObjectNameFormatter
qualifiedTableName
- The table namedialect
- The dialectpublic String format(QualifiedSequenceName qualifiedSequenceName, Dialect dialect)
QualifiedObjectNameFormatter
format
in interface QualifiedObjectNameFormatter
qualifiedSequenceName
- The sequence namedialect
- The dialectpublic String format(QualifiedName qualifiedName, Dialect dialect)
QualifiedObjectNameFormatter
format
in interface QualifiedObjectNameFormatter
qualifiedName
- The namedialect
- The dialectCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.