From b05d957ae2702632d8fab07ab0a46f7d72806d2d Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Tue, 25 Apr 2017 17:37:48 +0900 Subject: [PATCH] result set --- .../com/loafle/overflow/crawler/result/OFResultSetRow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java index ccd5da5..63407b7 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSetRow.java @@ -88,7 +88,8 @@ public class OFResultSetRow extends OFResultSet{ for (int i =0 ; i< arrayColumns.size() ; ++i) { // replace String k = "$" + i; - metric = metric.replace(k,data.get(this.meta.get(arrayColumns.get(i)))); + String replaceString = data.get(this.meta.get(arrayColumns.get(i))); + metric = metric.replace(k,"'" + replaceString + "'"); } return metric;