Package io.trino.operator
Class SimplePageWithPositionEqualsAndHash
- java.lang.Object
-
- io.trino.operator.SimplePageWithPositionEqualsAndHash
-
- All Implemented Interfaces:
PageWithPositionEqualsAndHash
public class SimplePageWithPositionEqualsAndHash extends Object implements PageWithPositionEqualsAndHash
-
-
Constructor Summary
Constructors Constructor Description SimplePageWithPositionEqualsAndHash(List<Type> channelTypes, List<Integer> equalityChannels, BlockTypeOperators blockTypeOperators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Page left, int leftPosition, Page right, int rightPosition)longhashCode(Page page, int position)
-
-
-
Constructor Detail
-
SimplePageWithPositionEqualsAndHash
public SimplePageWithPositionEqualsAndHash(List<Type> channelTypes, List<Integer> equalityChannels, BlockTypeOperators blockTypeOperators)
-
-
Method Detail
-
equals
public boolean equals(Page left, int leftPosition, Page right, int rightPosition)
- Specified by:
equalsin interfacePageWithPositionEqualsAndHash
-
hashCode
public long hashCode(Page page, int position)
- Specified by:
hashCodein interfacePageWithPositionEqualsAndHash
-
-