Record Class Predicate.NotPredicate
java.lang.Object
java.lang.Record
com.loomcache.server.query.Predicate.NotPredicate
- 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
ConstructorsConstructorDescriptionNotPredicate(Predicate predicate) Creates an instance of aNotPredicaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanTests whether the given row matches this predicate.Returns the value of thepredicaterecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
NotPredicate
Creates an instance of aNotPredicaterecord class.- Parameters:
predicate- the value for thepredicaterecord component
-
-
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). -
predicate
Returns the value of thepredicaterecord component.- Returns:
- the value of the
predicaterecord component
-