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, Dialect
An SQL dialect for Postgres.
- Author:
- Mark Paluch, Jose Luis Leon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the array support object that describes how array-typed columns are supported by this dialect.Returns theBindMarkersFactoryused 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 PostgresDialect
getExistsFunction, getIdentifierProcessing, getIdGeneration, limit, lock, simpleTypesMethods inherited from class AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dialect
getExistsFunction, getIdentifierProcessing, getIdGeneration, getInsertRenderContext, getLikeEscaper, getSelectContext, limit, lock, orderByNullHandling, simpleTypes, supportsSingleQueryLoadingMethods inherited from interface R2dbcDialect
getSimpleTypeHolder, renderForGeneratedValues
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
PostgresDialect
public PostgresDialect()
-
-
Method Details
-
getBindMarkersFactory
Description copied from interface:R2dbcDialectReturns theBindMarkersFactoryused by this dialect.- Specified by:
getBindMarkersFactoryin interfaceR2dbcDialect- Returns:
- the
BindMarkersFactoryused by this dialect.
-
getSimpleTypes
Description copied from interface:R2dbcDialectReturn a collection of types that are natively supported by this database/driver. Defaults toCollections.emptySet().- Specified by:
getSimpleTypesin interfaceR2dbcDialect- Returns:
- a collection of types that are natively supported by this database/driver. Defaults to
Collections.emptySet().
-
getArraySupport
Description copied from interface:DialectReturns the array support object that describes how array-typed columns are supported by this dialect.- Specified by:
getArraySupportin interfaceDialect- Overrides:
getArraySupportin classPostgresDialect- Returns:
- the array support object that describes how array-typed columns are supported by this dialect.
-
getConverters
Description copied from interface:DialectReturn a collection of converters for this dialect.- Specified by:
getConvertersin interfaceDialect- Specified by:
getConvertersin interfaceR2dbcDialect- Overrides:
getConvertersin classPostgresDialect- Returns:
- a collection of converters for this dialect.
-