#745 - ElasticSearch - internally translate where().id.eq(42) ... to where().setId(42)

This commit is contained in:
Robin Bygrave committed 2016-06-20 22:29:38 +12:00
1 parent d12e55c20b
commit c793d6652f
18 files changed
+153 -31

No files matched your search

@@ -1768,6 +1768,13 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
pc.deleted(rootBeanType, idValue);
}
/**
* Return the Id property name or null if no Id property exists.
*/
public String getIdName() {
return (idProperty == null) ? null : idProperty.getName();
}
/**
* Helper method to return the unique property. If only one property makes up
* the unique id then it's value is returned. If there is a concatenated