presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/setLimit
class Analysis:    public void setLimit(Node node, long rowCount)
    {
        limit.put(NodeRef.of(node), OptionalLong.of(rowCount));
    }