return metaField;
}
@SuppressWarnings("unchecked")
public MetaField processEmbedded(DboTableMeta t, Field field) {
NoSqlEmbedded embedded = field.getAnnotation(NoSqlEmbedded.class);
Class<?> type = field.getType();
Class<?> valType = null;
if(type.equals(List.class) || type.equals(Set.class)) {
ParameterizedType genType = (ParameterizedType) field.getGenericType();
type = (Class<?>) genType.getActualTypeArguments()[0];
} else if(type.equals(Map.class)) {
ParameterizedType genType = (ParameterizedType) field.getGenericType();
type = (Class<?>) genType.getActualTypeArguments()[0];
valType = (Class<?>) genType.getActualTypeArguments()[1];
}
boolean isIndexed = false;
if (field.isAnnotationPresent(NoSqlIndexed.class))
isIndexed = true;
String colNameOrig = embedded.columnNamePrefix();
String colName = field.getName();
if(!"".equals(colNameOrig))
colName = colNameOrig;
MetaField metaField;