Record Class Predicate.BetweenPredicate
java.lang.Object
java.lang.Record
com.loomcache.server.query.Predicate.BetweenPredicate
- 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
ConstructorsConstructorDescriptionBetweenPredicate(String fieldName, Object low, Object high) Creates an instance of aBetweenPredicaterecord 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.high()Returns the value of thehighrecord component.low()Returns the value of thelowrecord component.booleanTests whether the given row matches this predicate.toString()Returns a string representation of this record class.
-
Constructor Details
-
BetweenPredicate
-
-
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
-
low
Returns the value of thelowrecord component.- Returns:
- the value of the
lowrecord component
-
high
Returns the value of thehighrecord component.- Returns:
- the value of the
highrecord component
-