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

com.avaje.ebean.config.AutoTuneMode Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.config;

import com.avaje.ebean.Query;

/**
 * The mode for determining if AutoTune will be used for a given query when
 * {@link Query#setAutoTune(boolean)} has not been explicitly set on a query.
 * 

* The explicit control of {@link Query#setAutoTune(boolean)} will always take * precedence. This mode is used when this has not been explicitly set on a * query. *

*/ public enum AutoTuneMode { /** * Don't implicitly use AutoTune. Must explicitly turn it on. */ DEFAULT_OFF, /** * Use AutoTune implicitly. Must explicitly turn it off. */ DEFAULT_ON, /** * Implicitly use AutoTune if the query has not got either select() or join() * defined. */ DEFAULT_ONIFEMPTY }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy