code: public static Class<?> getValidationClassInstance(Class<?> dataType, boolean isCql3Enabled)
      {
          resetMapperForCQL3(isCql3Enabled);
          Class<?> validation_class;
          validation_class = validationClassMapper.get(dataType);
          if (validation_class == null)
          {
              if (dataType.isEnum())
              {
                  validation_class = UTF8Type.class;
              }
              else
              {
                  validation_class = BytesType.class;
              }
          }
          resetMapperForThrift(isCql3Enabled);
          return validation_class;
      }
docs: Gets the validation class instance.
  
  @param dataType
  the data type
  @param isCql3Enabled
  the is cql3 enabled
  @return the validation class instance