presto-parser/src/main/java/io/prestosql/sql/QueryUtil.java/QueryUtil/caseWhen
class QueryUtil:    public static Expression caseWhen(Expression operand, Expression result)
    {
        return new SearchedCaseExpression(ImmutableList.of(new WhenClause(operand, result)), Optional.empty());
    }