| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final JdbcEnvironment | |
| private static final Logger | |
| private final NameQualifierSupport | |
| private final IdentifierCaseStrategy | |
| private final TreeSet | |
| private final IdentifierCaseStrategy |
| Access | Constructor and Description |
|---|---|
| public | NormalizingIdentifierHelperImpl(JdbcEnvironment jdbcEnvironment, NameQualifierSupport nameQualifierSupport, boolean globallyQuoteIdentifiers, boolean globallyQuoteIdentifiersSkipColumnDefinitions, boolean autoQuoteKeywords, boolean autoQuoteInitialUnderscore, TreeSet<String> reservedWords, IdentifierCaseStrategy unquotedCaseStrategy, IdentifierCaseStrategy quotedCaseStrategy)
|
| Modifier and Type | Method and Description |
|---|---|
| public Identifier | applyGlobalQuoting(String
The text to be (possibly) quoted text)Implements org. column-definition
as defined by jakarta.,
jakarta., etc. This method should not
be called in any other scenario.
|
| public boolean | isReservedWord(String
The word to check word)Implements org. |
| public Identifier | normalizeQuoting(Identifier
The identifier for which to normalize quoting. identifier)Implements org. |
| public Identifier | toIdentifier(String
The text form of a name as obtained from mapping information. text)Implements org. |
| public Identifier | toIdentifier(String
The text form of a name as obtained from mapping information. text, boolean Is the identifier to be quoted explicitly. quoted)Implements org. |
| public String | toMetaDataCatalogName(Identifier
The Identifier representation of a catalog name identifier)Implements org. java. calls.
|
| public String | toMetaDataObjectName(Identifier
The Identifier representation of an object name identifier)Implements org. java. calls.
|
| public String | toMetaDataSchemaName(Identifier
The Identifier representation of a schema name identifier)Implements org. java. calls.
|
| private String |
| autoQuoteInitialUnderscore | back to summary |
|---|---|
| private final boolean autoQuoteInitialUnderscore | |
| autoQuoteKeywords | back to summary |
|---|---|
| private final boolean autoQuoteKeywords | |
| globallyQuoteIdentifiers | back to summary |
|---|---|
| private final boolean globallyQuoteIdentifiers | |
| globallyQuoteIdentifiersSkipColumnDefinitions | back to summary |
|---|---|
| private final boolean globallyQuoteIdentifiersSkipColumnDefinitions | |
| jdbcEnvironment | back to summary |
|---|---|
| private final JdbcEnvironment jdbcEnvironment | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| nameQualifierSupport | back to summary |
|---|---|
| private final NameQualifierSupport nameQualifierSupport | |
| quotedCaseStrategy | back to summary |
|---|---|
| private final IdentifierCaseStrategy quotedCaseStrategy | |
| reservedWords | back to summary |
|---|---|
| private final TreeSet<String> reservedWords | |
| unquotedCaseStrategy | back to summary |
|---|---|
| private final IdentifierCaseStrategy unquotedCaseStrategy | |
| NormalizingIdentifierHelperImpl | back to summary |
|---|---|
| public NormalizingIdentifierHelperImpl(JdbcEnvironment jdbcEnvironment, NameQualifierSupport nameQualifierSupport, boolean globallyQuoteIdentifiers, boolean globallyQuoteIdentifiersSkipColumnDefinitions, boolean autoQuoteKeywords, boolean autoQuoteInitialUnderscore, TreeSet<String> reservedWords, IdentifierCaseStrategy unquotedCaseStrategy, IdentifierCaseStrategy quotedCaseStrategy) | |
| applyGlobalQuoting | back to summary |
|---|---|
| public Identifier applyGlobalQuoting(String text) Implements org. Doc from org. Intended only for use in handling quoting requirements for
This method is needed to account for that fact that the JPA spec says that
| |
| isReservedWord | back to summary |
|---|---|
| public boolean isReservedWord(String word) Implements org. Doc from org. Check whether the given word represents a reserved word. | |
| normalizeQuoting | back to summary |
|---|---|
| public Identifier normalizeQuoting(Identifier identifier) Implements org. Doc from org. Essentially quotes the identifier if it needs to be. Useful to apply global quoting, as well as reserved word quoting after calls to naming strategies.
| |
| toIdentifier | back to summary |
|---|---|
| public Identifier toIdentifier(String text) Implements org. Doc from org. Generate an Identifier instance from its simple name as obtained from mapping information. Note that Identifiers returned from here may be implicitly quoted based on 'globally quoted identifiers' or based on reserved words.
| |
| toIdentifier | back to summary |
|---|---|
| public Identifier toIdentifier(String text, boolean quoted) Implements org. Doc from org. Generate an Identifier instance from its simple name as obtained from mapping information. Additionally, this form takes a boolean indicating whether to explicitly quote the Identifier. Note that Identifiers returned from here may be implicitly quoted based on 'globally quoted identifiers' or based on reserved words.
| |
| toMetaDataCatalogName | back to summary |
|---|---|
| public String toMetaDataCatalogName(Identifier identifier) Implements org. Doc from org. Render the Identifier representation of a catalog name into the String form needed
in
| |
| toMetaDataObjectName | back to summary |
|---|---|
| public String toMetaDataObjectName(Identifier identifier) Implements org. Doc from org. Render the Identifier representation of an object name (table, sequence, etc) into the
String form needed in
| |
| toMetaDataSchemaName | back to summary |
|---|---|
| public String toMetaDataSchemaName(Identifier identifier) Implements org. Doc from org. Render the Identifier representation of a schema name into the String form needed
in
| |
| toMetaDataText | back to summary |
|---|---|
| private String toMetaDataText(Identifier identifier) | |