java.lang.Object
com.orientechnologies.orient.core.serialization.serializer.record.string.OFieldTypesString

public class OFieldTypesString extends Object
  • Field Details

  • Constructor Details

    • OFieldTypesString

      public OFieldTypesString()
  • Method Details

    • getType

      public static OType getType(String iValue, char iCharType)
      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 parse
      iCharType - Char value indicating the type
      Returns:
      The closest type recognized
    • getOTypeFromChar

      public static OType getOTypeFromChar(char iCharType)
    • loadFieldTypesV0

      public static Map<String,Character> loadFieldTypesV0(Map<String,Character> fieldTypes, String fieldValueAsString)
    • loadFieldTypes

      public static Map<String,Character> loadFieldTypes(String fieldValueAsString)