public class MySqlDialect extends org.springframework.data.relational.core.dialect.MySqlDialect implements R2dbcDialect
Modifier and Type | Class and Description |
---|---|
static class |
MySqlDialect.BooleanToByteConverter
|
static class |
MySqlDialect.ByteToBooleanConverter
|
Modifier and Type | Field and Description |
---|---|
static MySqlDialect |
INSTANCE
Singleton instance.
|
Constructor and Description |
---|
MySqlDialect() |
Modifier and Type | Method and Description |
---|---|
BindMarkersFactory |
getBindMarkersFactory()
Returns the
BindMarkersFactory used by this dialect. |
Collection<Object> |
getConverters()
Return a collection of converters for this dialect.
|
Collection<? extends Class<?>> |
getSimpleTypes()
Return a collection of types that are natively supported by this database/driver.
|
String |
renderForGeneratedValues(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
Render a
SqlIdentifier in a way suitable for registering it as a generated key with a statement through
Statement#returnGeneratedValues . |
getIdentifierProcessing, limit, lock
getAfterFromTable, getAfterOrderBy, getSelectContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimpleTypeHolder
public static final MySqlDialect INSTANCE
public BindMarkersFactory getBindMarkersFactory()
R2dbcDialect
BindMarkersFactory
used by this dialect.getBindMarkersFactory
in interface R2dbcDialect
BindMarkersFactory
used by this dialect.public Collection<? extends Class<?>> getSimpleTypes()
R2dbcDialect
Collections.emptySet()
.getSimpleTypes
in interface R2dbcDialect
Collections.emptySet()
.public Collection<Object> getConverters()
R2dbcDialect
getConverters
in interface R2dbcDialect
getConverters
in interface org.springframework.data.relational.core.dialect.Dialect
getConverters
in class org.springframework.data.relational.core.dialect.MySqlDialect
public String renderForGeneratedValues(org.springframework.data.relational.core.sql.SqlIdentifier identifier)
R2dbcDialect
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.renderForGeneratedValues
in interface R2dbcDialect
identifier
- to render. Must not be null.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.