Record Class Predicate.OrPredicate
java.lang.Object
java.lang.Record
com.loomcache.server.query.Predicate.OrPredicate
- 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
ConstructorsConstructorDescriptionOrPredicate(Predicate left, Predicate right) Creates an instance of aOrPredicaterecord 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.left()Returns the value of theleftrecord component.booleanTests whether the given row matches this predicate.right()Returns the value of therightrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
OrPredicate
-
-
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). -
left
Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-