presto-main/src/main/java/io/prestosql/sql/planner/LiteralInterpreter.java/LiteralInterpreter/evaluate
class LiteralInterpreter:    public static Object evaluate(Metadata metadata, ConnectorSession session, Expression node)
    {
        if (!(node instanceof Literal)) {
            throw new IllegalArgumentException("node must be a Literal");
        }
        return new LiteralVisitor(metadata).process(node, session);
    }