return IndexType.None;
}
@SuppressWarnings("unchecked")
private Validator resolveValidator(final Class entityInterface, final String propertyName) {
Validate annotation = (Validate) ReflectionTools.getGetterOfProperty(entityInterface, propertyName).getAnnotation(Validate.class);
if (annotation != null)
try {
return (Validator) Class.forName(annotation.value()).newInstance();
} catch (Exception e) {
throw new HiveRuntimeException(e);
}
return nonNullValidator;
}