Package dev.frostlake.types
Class StringType
java.lang.Object
dev.frostlake.types.DataType
dev.frostlake.types.StringType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LengthlessStringType,UuidType
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringTypestatic StringTypestatic StringTypestatic StringType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatValue(Object value) getCommonType(DataType other) intintgetSize()booleanisCompatible(DataType other) parseValue(String value)
-
Field Details
-
VARCHAR
-
STRING
-
TEXT
-
CHAR
-
-
Constructor Details
-
StringType
-
-
Method Details
-
getMaxLength
public int getMaxLength() -
parseValue
- Specified by:
parseValuein classDataType
-
formatValue
- Specified by:
formatValuein classDataType
-
isCompatible
- Specified by:
isCompatiblein classDataType
-
getCommonType
- Specified by:
getCommonTypein classDataType
-
getSize
public int getSize()
-