All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.expression.IdInCommon Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.expression;

import java.util.Collection;
import java.util.Set;

/**
 * ID IN expression common for cache handling.
 */
public interface IdInCommon {

  /**
   * Return the ids this expression is looking to fetch.
   */
  Collection idValues();

  /**
   * Remove Ids that where obtained from l2 cache. Don't fetch these from DB.
   */
  int removeIds(Set hitIds);
}