@Override
    protected Type visitIsNullPredicate(IsNullPredicate node, AnalysisContext context) {
      process(node.getValue(), context);

      expressionTypes.put(node, BOOLEAN);
      return BOOLEAN;
    }
Example #2
0
 @Override
 protected String visitIsNullPredicate(IsNullPredicate node, Boolean unmangleNames) {
   return "(" + process(node.getValue(), unmangleNames) + " IS NULL)";
 }