Package org.gbif.api.model.predicate
Class InPredicate<S extends SearchParameter>
- java.lang.Object
-
- org.gbif.api.model.predicate.InPredicate<S>
-
- All Implemented Interfaces:
Serializable
,Predicate
public class InPredicate<S extends SearchParameter> extends Object implements Predicate
This predicate checks if itskey
contains any of itsvalues
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InPredicate(S key, Collection<String> values, Boolean matchCase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
S
getKey()
Collection<String>
getValues()
int
hashCode()
@Experimental Boolean
isMatchCase()
This flag enables the use of case-sensitive matches and aggregations on certain search parameters.String
toString()
-
-
-
Constructor Detail
-
InPredicate
public InPredicate(S key, Collection<String> values, Boolean matchCase)
-
-
Method Detail
-
getValues
public Collection<String> getValues()
-
isMatchCase
@Experimental public @Experimental Boolean isMatchCase()
This flag enables the use of case-sensitive matches and aggregations on certain search parameters.Fields that support this feature are: occurrenceId, recordedBy, samplingProtocol, catalogNumber, collectionCode, institutionCode, eventId, parentEventId, waterBody, stateProvince, recordNumber, identifiedBy, organismId and locality.
This is an experimental feature and its implementation map change or be removed at any time.
-
-