@Override public int hashCode() { return operator.hashCode() + type.hashCode() * 17 + columnName.hashCode() * 3 * 17+ (literal == null ? 0 : literal.hashCode()) * 101 * 3 * 17 + (literalList == null ? 0 : literalList.hashCode()) * 103 * 101 * 3 * 17; }
if (predicate.getOperator().equals(PredicateLeaf.Operator.NULL_SAFE_EQUALS) || hasNoNull) { exceptionAnswer[pred] = TruthValue.YES_NO;
LOG.debug(reason); if (predicate.getOperator().equals(PredicateLeaf.Operator.NULL_SAFE_EQUALS) || !hasNull) { result = TruthValue.YES_NO; } else {
" Exception: " + ExceptionUtils.getStackTrace(e)); if (predicate.getOperator().equals(PredicateLeaf.Operator.NULL_SAFE_EQUALS) || !hasNull) { result = TruthValue.YES_NO; } else {
private static boolean shouldEvaluateBloomFilter(PredicateLeaf predicate, TruthValue result, BloomFilter bloomFilter) { // evaluate bloom filter only when // 1) Bloom filter is available // 2) Min/Max evaluation yield YES or MAYBE // 3) Predicate is EQUALS or IN list if (bloomFilter != null && result != TruthValue.NO_NULL && result != TruthValue.NO && (predicate.getOperator().equals(PredicateLeaf.Operator.EQUALS) || predicate.getOperator().equals(PredicateLeaf.Operator.NULL_SAFE_EQUALS) || predicate.getOperator().equals(PredicateLeaf.Operator.IN))) { return true; } return false; }
private static boolean shouldEvaluateBloomFilter(PredicateLeaf predicate, TruthValue result, BloomFilterIO bloomFilter) { // evaluate bloom filter only when // 1) Bloom filter is available // 2) Min/Max evaluation yield YES or MAYBE // 3) Predicate is EQUALS or IN list if (bloomFilter != null && result != TruthValue.NO_NULL && result != TruthValue.NO && (predicate.getOperator().equals(PredicateLeaf.Operator.EQUALS) || predicate.getOperator().equals(PredicateLeaf.Operator.NULL_SAFE_EQUALS) || predicate.getOperator().equals(PredicateLeaf.Operator.IN))) { return true; } return false; }
@Override public int hashCode() { return operator.hashCode() + type.hashCode() * 17 + columnName.hashCode() * 3 * 17+ (literal == null ? 0 : literal.hashCode()) * 101 * 3 * 17 + (literalList == null ? 0 : literalList.hashCode()) * 103 * 101 * 3 * 17; }
@Override public int hashCode() { return operator.hashCode() + type.hashCode() * 17 + columnName.hashCode() * 3 * 17+ (literal == null ? 0 : literal.hashCode()) * 101 * 3 * 17 + (literalList == null ? 0 : literalList.hashCode()) * 103 * 101 * 3 * 17; } }