private void parametrizeCondition() {
        String query = this.condition.toString();
        String[] tokens = query.split("\\[");
        int ordinal = 1;
        for (String token : tokens) {
            if (token.contains("]")) {
                String candidate = token.substring(0, token.indexOf("]"));
                if (this.placeholders.containsKey(candidate)) {
                    this.parameters.put(ordinal, this.placeholders.get(candidate));
                    ordinal++;
                    if (candidate.equals("pattern-value")) {
                        ordinalOfContainPattern = ordinal;
                    }
                }
            }
        }
        for (String placeholder : this.placeholders.keySet()) {
            query = query.replace("[" + placeholder + "]", "?");
        }
        this.finalCompiledCondition = query;
    }
Util method for walking through the generated condition string and isolating the parameters which will be filled
in later as part of building the SQL statement. This method will:
(a) eliminate all temporary placeholders and put "?" in their places.
(b) build and maintain a sorted map of ordinals and the coresponding parameters which will fit into the above
places in the PreparedStatement.
modules/siddhi-core/src/test/java/io/siddhi/core/query/table/util/TestStoreConditionVisitor.java