Class PostgresSchemaDialect
- java.lang.Object
-
- net.lecousin.reactive.data.relational.schema.dialect.RelationalDatabaseSchemaDialect
-
- net.lecousin.reactive.data.relational.postgres.PostgresSchemaDialect
-
public class PostgresSchemaDialect extends RelationalDatabaseSchemaDialect
-
-
Constructor Summary
Constructors Constructor Description PostgresSchemaDialect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAutoIncrement(Column col, StringBuilder sql)protected StringgetColumnTypeByte(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeDateTime(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeDateTimeWithTimeZone(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeDouble(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeFloat(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeInteger(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeLong(Column col, Class<?> type, ColumnDefinition def)protected StringgetColumnTypeShort(Column col, Class<?> type, ColumnDefinition def)-
Methods inherited from class net.lecousin.reactive.data.relational.schema.dialect.RelationalDatabaseSchemaDialect
addColumnDefinition, addIndexDefinitionInTable, addNotNull, addPrimaryKey, alterTableForeignKey, canCreateIndexInTableDefinition, convertFromDataBase, convertToDataBase, createIndex, createSchemaContent, createTable, dropSchemaContent, dropTable, getColumnType, getColumnTypeBigDecimal, getColumnTypeBoolean, getColumnTypeChar, getColumnTypeDate, getColumnTypeString, getColumnTypeTime, getColumnTypeTimestamp, getColumnTypeTimeWithTimeZone
-
-
-
-
Method Detail
-
addAutoIncrement
protected void addAutoIncrement(Column col, StringBuilder sql)
- Overrides:
addAutoIncrementin classRelationalDatabaseSchemaDialect
-
getColumnTypeByte
protected String getColumnTypeByte(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeBytein classRelationalDatabaseSchemaDialect
-
getColumnTypeShort
protected String getColumnTypeShort(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeShortin classRelationalDatabaseSchemaDialect
-
getColumnTypeInteger
protected String getColumnTypeInteger(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeIntegerin classRelationalDatabaseSchemaDialect
-
getColumnTypeLong
protected String getColumnTypeLong(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeLongin classRelationalDatabaseSchemaDialect
-
getColumnTypeFloat
protected String getColumnTypeFloat(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeFloatin classRelationalDatabaseSchemaDialect
-
getColumnTypeDouble
protected String getColumnTypeDouble(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeDoublein classRelationalDatabaseSchemaDialect
-
getColumnTypeDateTime
protected String getColumnTypeDateTime(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeDateTimein classRelationalDatabaseSchemaDialect
-
getColumnTypeDateTimeWithTimeZone
protected String getColumnTypeDateTimeWithTimeZone(Column col, Class<?> type, ColumnDefinition def)
- Overrides:
getColumnTypeDateTimeWithTimeZonein classRelationalDatabaseSchemaDialect
-
-