Class IdentifierHelperBuilder


  • public class IdentifierHelperBuilder
    extends java.lang.Object
    Builder for IdentifierHelper instances. Mainly here to allow progressive building of the immutable (after instantiation) IdentifierHelper.
    • Method Detail

      • applyReservedWords

        public void applyReservedWords​(java.sql.DatabaseMetaData metaData)
                                throws java.sql.SQLException
        Applies any reserved words reported via DatabaseMetaData.getSQLKeywords()
        Parameters:
        metaData - The metadata to get reserved words from
        Throws:
        java.sql.SQLException - Any access to DatabaseMetaData can case SQLException; just re-throw.
      • applyIdentifierCasing

        public void applyIdentifierCasing​(java.sql.DatabaseMetaData metaData)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • isGloballyQuoteIdentifiers

        public boolean isGloballyQuoteIdentifiers()
      • setGloballyQuoteIdentifiers

        public void setGloballyQuoteIdentifiers​(boolean globallyQuoteIdentifiers)
      • isSkipGlobalQuotingForColumnDefinitions

        public boolean isSkipGlobalQuotingForColumnDefinitions()
      • setSkipGlobalQuotingForColumnDefinitions

        public void setSkipGlobalQuotingForColumnDefinitions​(boolean skipGlobalQuotingForColumnDefinitions)
      • setAutoQuoteKeywords

        public void setAutoQuoteKeywords​(boolean autoQuoteKeywords)
      • setNameQualifierSupport

        public void setNameQualifierSupport​(NameQualifierSupport nameQualifierSupport)
      • setUnquotedCaseStrategy

        public void setUnquotedCaseStrategy​(IdentifierCaseStrategy unquotedCaseStrategy)
      • clearReservedWords

        public void clearReservedWords()
      • applyReservedWords

        public void applyReservedWords​(java.util.Set<java.lang.String> words)
      • setReservedWords

        public void setReservedWords​(java.util.Set<java.lang.String> words)