Interface KeywordSupport

All Known Implementing Classes:
AbstractSybaseDialect, AbstractTransactSQLDialect, AzureSQLServerDialect, CockroachDB202SpatialDialect, CockroachDialect, DB2Dialect, DB2iDialect, DB2SpatialDialect, DB2zDialect, Dialect, GenericDialect, H2Dialect, HANADialect, HANASpatialDialect, HSQLDialect, MariaDBDialect, MySQL56InnoDBSpatialDialect, MySQL56SpatialDialect, MySQL5InnoDBSpatialDialect, MySQL5SpatialDialect, MySQLDialect, MySQLSpatialDialect, OracleDialect, OracleSpatial10gDialect, OracleSpatialSDO10gDialect, PostgisPG10Dialect, PostgisPG93Dialect, PostgisPG94Dialect, PostgisPG95Dialect, PostgresPlusDialect, PostgreSQLDialect, SpannerDialect, SpannerPostgreSQLDialect, SQLServerDialect, SqlServerSpatialDialect, SybaseASEDialect, SybaseDialect

@SPI({USE,IMPLEMENT,SUPPLY}) public interface KeywordSupport

Defines the stable SQL keywords of a Dialect and filters driver observations.

Return an immutable lowercase set from getKeywords(). Driver-reported words belong to JDBC metadata and are admitted separately through acceptsJdbcKeyword(String).

Since:
8.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Decide whether a normalized driver-reported word is truly a keyword for this database.
    Return the immutable ANSI and Dialect-defined keyword set.
  • Method Details

    • getKeywords

      Set<String> getKeywords()
      Return the immutable ANSI and Dialect-defined keyword set.
    • acceptsJdbcKeyword

      default boolean acceptsJdbcKeyword(String keyword)
      Decide whether a normalized driver-reported word is truly a keyword for this database.