presto-parser/src/main/java/io/prestosql/sql/QueryUtil.java/QueryUtil/singleValueQuery
class QueryUtil:    public static Query singleValueQuery(String columnName, boolean value)
    {
        Relation values = values(row(value ? TRUE_LITERAL : FALSE_LITERAL));
        return simpleQuery(
                selectList(new AllColumns()),
                aliased(values, "t", ImmutableList.of(columnName)));
    }