Interface R2dbcDialect

All Superinterfaces:
Dialect
All Known Implementing Classes:
H2Dialect, MySqlDialect, OracleDialect, PostgresDialect, SqlServerDialect

public interface R2dbcDialect extends Dialect
R2DBC-specific extension to Dialect. Represents a dialect that is implemented by a particular database.
Author:
Mark Paluch, Jens Schauder, Michael Berry
  • Method Details

    • getBindMarkersFactory

      BindMarkersFactory getBindMarkersFactory()
      Returns the BindMarkersFactory used by this dialect.
      Returns:
      the BindMarkersFactory used by this dialect.
    • getSimpleTypes

      default Collection<? extends Class<?>> getSimpleTypes()
      Return a collection of types that are natively supported by this database/driver. Defaults to Collections.emptySet().
      Returns:
      a collection of types that are natively supported by this database/driver. Defaults to Collections.emptySet().
    • getSimpleTypeHolder

      default org.springframework.data.mapping.model.SimpleTypeHolder getSimpleTypeHolder()
      Return the SimpleTypeHolder for this dialect.
      Returns:
      the SimpleTypeHolder for this dialect.
      See Also:
    • getConverters

      default Collection<Object> getConverters()
      Return a collection of converters for this dialect.
      Specified by:
      getConverters in interface Dialect
      Returns:
      a collection of converters for this dialect.
    • renderForGeneratedValues

      default String renderForGeneratedValues(SqlIdentifier identifier)
      Render a SqlIdentifier in a way suitable for registering it as a generated key with a statement through Statement#returnGeneratedValues. The default implementation renders it as it would render a SQL representation of the identifier, i.e. with quotes where applicable.
      Parameters:
      identifier - to render. Must not be null.
      Returns:
      rendered identifier. Guaranteed to be not null.
      Since:
      1.3.2