Class PostgresDialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.PostgresDialect
org.springframework.data.r2dbc.dialect.PostgresDialect
- All Implemented Interfaces:
R2dbcDialect
,org.springframework.data.relational.core.dialect.Dialect
- Direct Known Subclasses:
H2Dialect
public class PostgresDialect
extends org.springframework.data.relational.core.dialect.PostgresDialect
implements R2dbcDialect
An SQL dialect for Postgres.
- Author:
- Mark Paluch, Jose Luis Leon
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.relational.core.dialect.PostgresDialect
org.springframework.data.relational.core.dialect.PostgresDialect.PostgresArrayColumns
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.relational.core.dialect.ArrayColumns
Returns theBindMarkersFactory
used by this dialect.Return a collection of converters for this dialect.Collection<? extends Class<?>>
Return a collection of types that are natively supported by this database/driver.Methods inherited from class org.springframework.data.relational.core.dialect.PostgresDialect
getExistsFunction, getIdentifierProcessing, limit, lock, simpleTypes
Methods inherited from class org.springframework.data.relational.core.dialect.AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getExistsFunction, getIdentifierProcessing, getIdGeneration, getInsertRenderContext, getLikeEscaper, getSelectContext, limit, lock, orderByNullHandling, simpleTypes
Methods inherited from interface org.springframework.data.r2dbc.dialect.R2dbcDialect
getSimpleTypeHolder, renderForGeneratedValues
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
PostgresDialect
public PostgresDialect()
-
-
Method Details
-
getBindMarkersFactory
Description copied from interface:R2dbcDialect
Returns theBindMarkersFactory
used by this dialect.- Specified by:
getBindMarkersFactory
in interfaceR2dbcDialect
- Returns:
- the
BindMarkersFactory
used by this dialect.
-
getSimpleTypes
Description copied from interface:R2dbcDialect
Return a collection of types that are natively supported by this database/driver. Defaults toCollections.emptySet()
.- Specified by:
getSimpleTypes
in interfaceR2dbcDialect
- Returns:
- a collection of types that are natively supported by this database/driver. Defaults to
Collections.emptySet()
.
-
getArraySupport
public org.springframework.data.relational.core.dialect.ArrayColumns getArraySupport()- Specified by:
getArraySupport
in interfaceorg.springframework.data.relational.core.dialect.Dialect
- Overrides:
getArraySupport
in classorg.springframework.data.relational.core.dialect.PostgresDialect
-
getConverters
Description copied from interface:R2dbcDialect
Return a collection of converters for this dialect.- Specified by:
getConverters
in interfaceorg.springframework.data.relational.core.dialect.Dialect
- Specified by:
getConverters
in interfaceR2dbcDialect
- Overrides:
getConverters
in classorg.springframework.data.relational.core.dialect.PostgresDialect
- Returns:
- a collection of converters for this dialect.
-