@Test public void testEqualityWithReference() { try { TypePairComparator<T, R> comparator = getComparator(true); Tuple2<T[], R[]> data = getSortedData(); for (int x = 0; x < data.f0.length; x++) { comparator.setReference(data.f0[x]); assertTrue(comparator.equalToReference(data.f1[x])); } } catch (Exception e) { System.err.println(e.getMessage()); e.printStackTrace(); fail("Exception in test: " + e.getMessage()); } }
pairComparator.setReference(left); for (IN2 right : matchingHashes) { if (pairComparator.equalToReference(right)) { function.join(leftSerializer.copy(left), rightSerializer.copy(right), collector);
this.partition.setReadPosition(pointer); BT result = this.accessor.deserialize(this.partition); if (this.comparator.equalToReference(result)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); BT result = this.accessor.deserialize(this.partition); if (this.comparator.equalToReference(result)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); BT result = this.accessor.deserialize(this.partition); if (this.comparator.equalToReference(result)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); reuse = this.accessor.deserialize(reuse, this.partition); if (this.comparator.equalToReference(reuse)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); reuse = this.accessor.deserialize(reuse, this.partition); if (this.comparator.equalToReference(reuse)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); BT result = this.accessor.deserialize(this.partition); if (this.comparator.equalToReference(result)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); reuse = this.accessor.deserialize(reuse, this.partition); if (this.comparator.equalToReference(reuse)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
this.partition.setReadPosition(pointer); reuse = this.accessor.deserialize(reuse, this.partition); if (this.comparator.equalToReference(reuse)) { if (isBuildOuterJoin) { probedSet.set(numInSegment - 1);
pairComparator.setReference(left); for (IN2 right : matchingHashes) { if (pairComparator.equalToReference(right)) { function.join(leftSerializer.copy(left), rightSerializer.copy(right), collector);
pairComparator.setReference(left); for (IN2 right : matchingHashes) { if (pairComparator.equalToReference(right)) { function.join(leftSerializer.copy(left), rightSerializer.copy(right), collector);