#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

@@ -94,4 +94,8 @@ public interface SpiExpression extends Expression {
*/
SpiExpression copyForPlanKey();
/**
* Return the bind Id value if this is a "equal to" expression for the id property.
*/
Object getIdEqualTo(String idName);
}
@@ -133,6 +133,11 @@ public interface SpiQuery<T> extends Query<T> {
}
}
/**
* Check for a single "equal to" expression for the Id.
*/
void checkIdEqualTo();
/**
* Return true if AutoTune should be attempted on this query.
*/