Java 类com.facebook.presto.sql.tree.ExistsPredicate 实例源码

项目:hue    文件:VeroGenExpFormatter.java   
@Override
protected String visitExists(ExistsPredicate node, Void context)
{
    return "EXISTS (" + sqlFormatter.formatSql(node.getSubquery()) + ")";
}
项目:presto-query-formatter    文件:ExpressionFormatter.java   
@Override
protected String visitExists(ExistsPredicate node, StackableAstVisitorContext<Integer> indent)
{
    return "EXISTS " + process(node.getSubquery(), indent) + indentString(indent.getContext());
}
项目:presto    文件:AstBuilder.java   
@Override
public Node visitExists(SqlBaseParser.ExistsContext context)
{
    return new ExistsPredicate(getLocation(context), (Query) visit(context.query()));
}
项目:presto    文件:ExpressionFormatter.java   
@Override
protected String visitExists(ExistsPredicate node, Boolean unmangleNames)
{
    return "EXISTS (" + formatSql(node.getSubquery(), unmangleNames) + ")";
}
项目:EchoQuery    文件:ExpressionFormatter.java   
@Override
protected String visitExists(ExistsPredicate node, Boolean unmangleNames)
{
    return "EXISTS (" + formatSql(node.getSubquery(), unmangleNames) + ")";
}