Interface SqlDialect.Context

  • All Known Implementing Classes:
    SqlDialect.ContextImpl
    Enclosing class:
    SqlDialect

    public static interface SqlDialect.Context
    Information for creating a dialect.

    It is immutable; to "set" a property, call one of the "with" methods, which returns a new context with the desired property value.

    • Method Detail

      • databaseProductName

        java.lang.String databaseProductName()
      • withDatabaseProductName

        SqlDialect.Context withDatabaseProductName​(java.lang.String databaseProductName)
      • databaseVersion

        java.lang.String databaseVersion()
      • withDatabaseVersion

        SqlDialect.Context withDatabaseVersion​(java.lang.String databaseVersion)
      • databaseMajorVersion

        int databaseMajorVersion()
      • withDatabaseMajorVersion

        SqlDialect.Context withDatabaseMajorVersion​(int databaseMajorVersion)
      • databaseMinorVersion

        int databaseMinorVersion()
      • withDatabaseMinorVersion

        SqlDialect.Context withDatabaseMinorVersion​(int databaseMinorVersion)
      • literalQuoteString

        @Nonnull
        java.lang.String literalQuoteString()
      • withLiteralQuoteString

        @Nonnull
        SqlDialect.Context withLiteralQuoteString​(java.lang.String literalQuoteString)
      • literalEscapedQuoteString

        @Nonnull
        java.lang.String literalEscapedQuoteString()
      • withLiteralEscapedQuoteString

        @Nonnull
        SqlDialect.Context withLiteralEscapedQuoteString​(java.lang.String literalEscapedQuoteString)
      • identifierQuoteString

        java.lang.String identifierQuoteString()
      • withIdentifierQuoteString

        @Nonnull
        SqlDialect.Context withIdentifierQuoteString​(java.lang.String identifierQuoteString)
      • unquotedCasing

        @Nonnull
        org.apache.calcite.avatica.util.Casing unquotedCasing()
      • withUnquotedCasing

        @Nonnull
        SqlDialect.Context withUnquotedCasing​(org.apache.calcite.avatica.util.Casing unquotedCasing)
      • quotedCasing

        @Nonnull
        org.apache.calcite.avatica.util.Casing quotedCasing()
      • withQuotedCasing

        @Nonnull
        SqlDialect.Context withQuotedCasing​(org.apache.calcite.avatica.util.Casing unquotedCasing)
      • caseSensitive

        boolean caseSensitive()
      • withCaseSensitive

        @Nonnull
        SqlDialect.Context withCaseSensitive​(boolean caseSensitive)