15 package com.cloudera.impala.analysis;
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
21 import com.cloudera.impala.thrift.TExprNode;
22 import com.google.common.base.Preconditions;
28 private final static Logger
LOG = LoggerFactory.getLogger(
29 ExistsPredicate.class);
38 Preconditions.checkNotNull(subquery);
39 children_.add(subquery);
59 super.analyze(analyzer);
65 Preconditions.checkState(
false);
73 StringBuilder strBuilder =
new StringBuilder();
75 strBuilder.append(
"EXISTS ");
76 strBuilder.append(getChild(0).toSql());
77 return strBuilder.toString();
ExistsPredicate(Subquery subquery, boolean notExists)
void toThrift(TExprNode msg)
ExistsPredicate(ExistsPredicate other)
void analyze(Analyzer analyzer)