presto-main/src/main/java/io/prestosql/transaction/TransactionBuilder.java/TransactionBuilder/readOnly
class TransactionBuilder:    public TransactionBuilder readOnly()
    {
        readOnly = true;
        return this;
    }