public interface DatabaseStrategy
Modifier and Type | Method and Description |
---|---|
Expression |
expressionForCheckConstraintToRestrictTimeOfDate(PropertyInfo pi,
Column columnForPi)
For a property with a value type that does not store time (e.g.
|
String |
geometryDataType(ProcessMapEntry me,
int srid) |
Statement |
geometryIndexColumnPart(String indexName,
Table table,
Column column,
Map<String,String> geometryCharacteristics) |
Statement |
geometryMetadataUpdateStatement(Table tableWithColumn,
Column columForGeometryTypedProperty,
int srid) |
String |
limitedLengthCharacterDataType(int size) |
String |
primaryKeyDataType() |
String |
unlimitedLengthCharacterDataType() |
boolean |
validate(Map<String,ProcessMapEntry> mapEntryByType,
MapEntryParamInfos mepp)
Database specific validation of the parameters (including their
characteristics) defined by the map entries declared for the SQL DDL
target.
|
String primaryKeyDataType()
String geometryDataType(ProcessMapEntry me, int srid)
me
- map entry in configuration filesrid
- defined in configuration fileString unlimitedLengthCharacterDataType()
String limitedLengthCharacterDataType(int size)
Statement geometryIndexColumnPart(String indexName, Table table, Column column, Map<String,String> geometryCharacteristics)
indexName
- table
- column
- geometryCharacteristics
- additional geometry specific characteristics - can be
null
Statement geometryMetadataUpdateStatement(Table tableWithColumn, Column columForGeometryTypedProperty, int srid)
tableWithColumn
- columForGeometryTypedProperty
- srid
- null
if this operation is
not applicable to the actual database strategyboolean validate(Map<String,ProcessMapEntry> mapEntryByType, MapEntryParamInfos mepp)
mapEntryByType
- mepp
- true
if the parameters are valid, else
false
Expression expressionForCheckConstraintToRestrictTimeOfDate(PropertyInfo pi, Column columnForPi)
pi
- columnForPi
- null
if
this is not necessary (or not implemented; check the actual
database strategies for details)Copyright © 2017. All rights reserved.