public class InPredicate<S extends SearchParameter> extends Object implements Predicate
key
contains any of its values
.Constructor and Description |
---|
InPredicate(S key,
Collection<String> values,
Boolean matchCase) |
Modifier and Type | Method and 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() |
public InPredicate(S key, Collection<String> values, Boolean matchCase)
public Collection<String> getValues()
@Experimental public @Experimental Boolean isMatchCase()
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.
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.