Record Class FilterPredicate.IntInPredicate
java.lang.Object
java.lang.Record
dev.hardwood.reader.FilterPredicate.IntInPredicate
- All Implemented Interfaces:
FilterPredicate
- Enclosing interface:
FilterPredicate
public static record FilterPredicate.IntInPredicate(String column, int[] values)
extends Record
implements FilterPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface FilterPredicate
FilterPredicate.And, FilterPredicate.BinaryColumnPredicate, FilterPredicate.BinaryInPredicate, FilterPredicate.BooleanColumnPredicate, FilterPredicate.DateColumnPredicate, FilterPredicate.DecimalColumnPredicate, FilterPredicate.DoubleColumnPredicate, FilterPredicate.FloatColumnPredicate, FilterPredicate.InstantColumnPredicate, FilterPredicate.IntColumnPredicate, FilterPredicate.IntInPredicate, FilterPredicate.IsNotNullPredicate, FilterPredicate.IsNullPredicate, FilterPredicate.LongColumnPredicate, FilterPredicate.LongInPredicate, FilterPredicate.Not, FilterPredicate.Operator, FilterPredicate.Or, FilterPredicate.SignedBinaryColumnPredicate, FilterPredicate.TimeColumnPredicate -
Constructor Summary
ConstructorsConstructorDescriptionIntInPredicate(String column, int[] values) Creates an instance of aIntInPredicaterecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumn()Returns the value of thecolumnrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.int[]values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
IntInPredicate
Creates an instance of aIntInPredicaterecord class.- Parameters:
column- the value for thecolumnrecord componentvalues- the value for thevaluesrecord component
-
-
Method Details
-
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). -
hashCode
-
toString
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
values
public int[] values()Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-