code: private static void resetMapperForThrift(boolean isCql3Enabled)
      {
          if (isCql3Enabled)
          {
              validationClassMapper.put(Byte.class, BytesType.class);
              validationClassMapper.put(byte.class, BytesType.class);
              validationClassMapper.put(Short.class, IntegerType.class);
              validationClassMapper.put(short.class, IntegerType.class);
              validationClassMapper.put(java.sql.Time.class, DateType.class);
              validationClassMapper.put(java.sql.Date.class, DateType.class);
              validationClassMapper.put(java.util.Date.class, DateType.class);
              validationClassMapper.put(java.sql.Timestamp.class, DateType.class);
          }
      }
docs: Reset mapper for thrift.
  
  @param isCql3Enabled
  the is cql3 enabled