Class OFieldTypesString
java.lang.Object
com.orientechnologies.orient.core.serialization.serializer.record.string.OFieldTypesString
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OTypegetOTypeFromChar(char iCharType) static OTypeParses the field type char returning the closer type.loadFieldTypes(String fieldValueAsString) loadFieldTypesV0(Map<String, Character> fieldTypes, String fieldValueAsString)
-
Field Details
-
ATTRIBUTE_FIELD_TYPES
- See Also:
-
-
Constructor Details
-
OFieldTypesString
public OFieldTypesString()
-
-
Method Details
-
getType
Parses the field type char returning the closer type. Default is STRING. b=binary if iValue.length() >= 4 b=byte if iValue.length() <= 3 s=short, l=long f=float d=double a=date t=datetime- Parameters:
iValue- Value to parseiCharType- Char value indicating the type- Returns:
- The closest type recognized
-
getOTypeFromChar
-
loadFieldTypesV0
-
loadFieldTypes
-