Record Class FilterPredicate.LongInPredicate
java.lang.Object
java.lang.Record
dev.hardwood.reader.FilterPredicate.LongInPredicate
- All Implemented Interfaces:
FilterPredicate
- Enclosing interface:
FilterPredicate
public static record FilterPredicate.LongInPredicate(String column, long[] 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
ConstructorsConstructorDescriptionLongInPredicate(String column, long[] values) Creates an instance of aLongInPredicaterecord 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.long[]values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
LongInPredicate
Creates an instance of aLongInPredicaterecord 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 long[] values()Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-