io.ebean.LikeType Maven / Gradle / Ivy
package io.ebean;
/**
* Used to specify the type of like matching used.
*/
public enum LikeType {
/**
* You need to put in your own wildcards - no escaping is performed.
*/
RAW,
/**
* The % wildcard is added to the end of the search word and search word is escaped.
*/
STARTS_WITH,
/**
* The % wildcard is added to the beginning of the search word and search word is escaped.
*/
ENDS_WITH,
/**
* The % wildcard is added to the beginning and end of the search word and search word is escaped.
*/
CONTAINS,
/**
* Uses equal to rather than a LIKE with wildcards.
*
* This is mainly here to be available for use with ExampleExpression.
*
*/
EQUAL_TO
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy