presto-cassandra/src/main/java/io/prestosql/plugin/cassandra/util/CassandraCqlUtils.java/CassandraCqlUtils/quoteStringLiteral
class CassandraCqlUtils:    public static String quoteStringLiteral(String string)
    {
        return "'" + string.replace("'", "''") + "'";
    }