Record Class Predicate.InPredicate
java.lang.Object
java.lang.Record
com.loomcache.server.query.Predicate.InPredicate
- All Implemented Interfaces:
Predicate
- Enclosing interface:
Predicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface Predicate
Predicate.AndPredicate, Predicate.BetweenPredicate, Predicate.EqualsPredicate, Predicate.FalsePredicate, Predicate.GreaterThanOrEqualPredicate, Predicate.GreaterThanPredicate, Predicate.ILikePredicate, Predicate.InPredicate, Predicate.JoinColumnEqualsPredicate, Predicate.JoinPredicate, Predicate.LessThanOrEqualPredicate, Predicate.LessThanPredicate, Predicate.LikePredicate, Predicate.NotEqualsPredicate, Predicate.NotPredicate, Predicate.OrPredicate, Predicate.PartitionPredicate, Predicate.RegexPredicate, Predicate.TruePredicate -
Constructor Summary
ConstructorsConstructorDescriptionInPredicate(String fieldName, Collection<?> values) InPredicate(String fieldName, Set<Object> values) Creates an instance of aInPredicaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.booleanTests whether the given row matches this predicate.toString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
InPredicate
-
InPredicate
-
-
Method Details
-
matches
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
values
-