Record Class FilterEvaluator.SelectionResult
java.lang.Object
java.lang.Record
io.trino.sql.gen.columnar.FilterEvaluator.SelectionResult
- Enclosing interface:
FilterEvaluator
public static record FilterEvaluator.SelectionResult(SelectedPositions selectedPositions, long filterTimeNanos)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSelectionResult(SelectedPositions selectedPositions, long filterTimeNanos) Creates an instance of aSelectionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefilterTimeNanosrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theselectedPositionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SelectionResult
Creates an instance of aSelectionResultrecord class.- Parameters:
selectedPositions- the value for theselectedPositionsrecord componentfilterTimeNanos- the value for thefilterTimeNanosrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
selectedPositions
Returns the value of theselectedPositionsrecord component.- Returns:
- the value of the
selectedPositionsrecord component
-
filterTimeNanos
public long filterTimeNanos()Returns the value of thefilterTimeNanosrecord component.- Returns:
- the value of the
filterTimeNanosrecord component
-