From 1c5b3d2d92359d8d5c857a13b62d4cf0d1715999 Mon Sep 17 00:00:00 2001 From: "jackdaw@loafle.com" Date: Tue, 25 Apr 2017 16:03:17 +0900 Subject: [PATCH] result set --- .../overflow/crawler/result/OFResultSet.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java index cc0f67d..a581a7f 100644 --- a/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java +++ b/src/main/java/com/loafle/overflow/crawler/result/OFResultSet.java @@ -12,9 +12,17 @@ import java.util.Map; public class OFResultSet { private Item item; - private List rows; + private List> rows; private List meta; + public List> getRows() { + return rows; + } + + public void setRows(List> rows) { + this.rows = rows; + } + public Item getItem() { return item; } @@ -23,13 +31,6 @@ public class OFResultSet { this.item = item; } - public List getRows() { - return rows; - } - - public void setRows(List rows) { - this.rows = rows; - } public List getMeta() { return meta; @@ -49,7 +50,7 @@ public class OFResultSet { this.meta = meta; } - public void addRow(String [] row) { + public void addRow(List row) { rows.add(row); }