presto-main/src/main/java/io/prestosql/sql/analyzer/Analysis.java/Analysis/setSampleRatio
class Analysis:    public void setSampleRatio(SampledRelation relation, double ratio)
    {
        sampleRatios.put(NodeRef.of(relation), ratio);
    }