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

io.ebean.event.BeanQueryRequest Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.event;

import io.ebean.Database;
import io.ebean.Query;
import io.ebean.Transaction;

/**
 * Holds the information available for a bean query.
 */
public interface BeanQueryRequest {

  /**
   * Return the DB processing the request.
   */
  Database database();

  /**
   * Return the Transaction associated with this request.
   */
  Transaction transaction();

  /**
   * Returns the query.
   */
  Query query();

  /**
   * Return true if an Id IN expression should have the bind parameters padded.
   */
  boolean isPadInExpression();

  /**
   * Return true if multi-value binding using Array or Table Values is supported.
   */
  boolean isMultiValueIdSupported();

  /**
   * Return true if multi-value binding is supported for this value type.
   */
  boolean isMultiValueSupported(Class valueType);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy