Package liquibase.datatype.core
Class NVarcharType
java.lang.Object
liquibase.datatype.LiquibaseDataType
liquibase.datatype.core.CharType
liquibase.datatype.core.NVarcharType
- All Implemented Interfaces:
PrioritizedService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns one of the four basic data types for use in LoadData: BOOLEAN, NUMERIC, DATE or STRINGtoDatabaseDataType
(Database database) Transforms this data type into the native data type of the target DBMS.Methods inherited from class liquibase.datatype.core.CharType
getSize, objectToSql
Methods inherited from class liquibase.datatype.LiquibaseDataType
addParameter, equals, finishInitialization, formatNumber, functionToSql, getAdditionalInformation, getAliases, getMaxParameters, getMinParameters, getName, getParameters, getPriority, getRawDefinition, hashCode, isAutoIncrement, isCurrentDateTimeFunction, numberToSql, otherToSql, setAdditionalInformation, sqlToObject, supports, toString, validate
-
Constructor Details
-
NVarcharType
public NVarcharType()
-
-
Method Details
-
toDatabaseDataType
Description copied from class:LiquibaseDataType
Transforms this data type into the native data type of the target DBMS.- Overrides:
toDatabaseDataType
in classCharType
- Parameters:
database
- theDatabase
for which the native data type is to be constructed- Returns:
- the new, native data type
-
getLoadTypeName
Description copied from class:LiquibaseDataType
Returns one of the four basic data types for use in LoadData: BOOLEAN, NUMERIC, DATE or STRING- Overrides:
getLoadTypeName
in classCharType
- Returns:
- one of the above Strings
-