/** * Creates a {@link StandingQueryAttribute} which returns true if the given attribute does not have values for * an object. * <p> * An index can then be built on this attribute, and it will be able to to answer a <code>not(has(attribute))</code> * query, returning objects which do not have values for that attribute, in constant time complexity O(1). * * @param entityIndex The index which will be used in a <code>not(has(attribute))</code> query * @return a {@link StandingQueryAttribute} which returns true if the given attribute does not have values for * an object */ @Deprecated static <O extends Entity, A> StandingQueryAttribute<EntityHandle<O>> forObjectsMissing(EntityIndex<O, A> entityIndex) { return forStandingQuery(not(has(entityIndex))); }