Package org.gbif.api.model.predicate
Class LikePredicate<S extends SearchParameter>
- java.lang.Object
-
- org.gbif.api.model.predicate.SimplePredicate<S>
-
- org.gbif.api.model.predicate.LikePredicate<S>
-
- All Implemented Interfaces:
Serializable,Predicate
public class LikePredicate<S extends SearchParameter> extends SimplePredicate<S>
This predicate checks if itskeyis LIKE itsvalue. The syntax for one?or any*arbitrary matching characters is the one used by ElasticSearch, Unix/DOS shells, etc.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LikePredicate(S key, String value, Boolean matchCase)LikePredicate(S key, String value, String checklistKey, Boolean matchCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Experimental StringgetChecklistKey()-
Methods inherited from class org.gbif.api.model.predicate.SimplePredicate
equals, getKey, getValue, hashCode, isMatchCase, toString
-
-
-
-
Constructor Detail
-
LikePredicate
public LikePredicate(S key, String value, Boolean matchCase)
-
LikePredicate
public LikePredicate(S key, String value, @Nullable String checklistKey, @Nullable Boolean matchCase)
-
-
Method Detail
-
getChecklistKey
@Experimental public @Experimental String getChecklistKey()
-
-