code: private AttributeType getBasicAttributeType(Object value) {
      if (value == null) {
        return null;
      }
  
      if (value instanceof Integer) {
        return INT;
      } else if (value instanceof Double || value instanceof Float) {
        return DECIMAL;
      } else if (value instanceof Long) {
        return LONG;
      } else if (value instanceof Boolean) {
        return BOOL;
      } else {
        return STRING;
      }
    }
docs: Sets the basic type based on instance of the value Object