public class OracleStrategy extends Object implements DatabaseStrategy, MessageSource
Modifier and Type | Field and Description |
---|---|
static String |
GEOM_PARAM_LAYER_GTYPE |
static String |
GEOM_PARAM_LAYER_GTYPE_VALIDATION_REGEX
Regular expression
(?
|
Constructor and Description |
---|
OracleStrategy(ShapeChangeResult result) |
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 columnForGeometryTypedProperty,
int srid) |
String |
limitedLengthCharacterDataType(int size) |
String |
message(int mnr)
Return a message for a message number.
|
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.
|
public static final String GEOM_PARAM_LAYER_GTYPE
public static final String GEOM_PARAM_LAYER_GTYPE_VALIDATION_REGEX
public OracleStrategy(ShapeChangeResult result)
public String primaryKeyDataType()
primaryKeyDataType
in interface DatabaseStrategy
public String geometryDataType(ProcessMapEntry me, int srid)
geometryDataType
in interface DatabaseStrategy
me
- map entry in configuration filesrid
- defined in configuration filepublic String unlimitedLengthCharacterDataType()
unlimitedLengthCharacterDataType
in interface DatabaseStrategy
public String limitedLengthCharacterDataType(int size)
limitedLengthCharacterDataType
in interface DatabaseStrategy
public Statement geometryIndexColumnPart(String indexName, Table table, Column column, Map<String,String> geometryCharacteristics)
geometryIndexColumnPart
in interface DatabaseStrategy
geometryCharacteristics
- additional geometry specific characteristics - can be
null
public Statement geometryMetadataUpdateStatement(Table tableWithColumn, Column columnForGeometryTypedProperty, int srid)
geometryMetadataUpdateStatement
in interface DatabaseStrategy
null
if this operation is
not applicable to the actual database strategypublic boolean validate(Map<String,ProcessMapEntry> mapEntryByType, MapEntryParamInfos mepp)
DatabaseStrategy
validate
in interface DatabaseStrategy
true
if the parameters are valid, else
false
public Expression expressionForCheckConstraintToRestrictTimeOfDate(PropertyInfo pi, Column columnForPi)
DatabaseStrategy
expressionForCheckConstraintToRestrictTimeOfDate
in interface DatabaseStrategy
null
if
this is not necessary (or not implemented; check the actual
database strategies for details)public String message(int mnr)
MessageSource
message
in interface MessageSource
Copyright © 2017. All rights reserved.