result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 18:37:41 +09:00
parent 6eda977943
commit 64a106489c

View File

@ -68,14 +68,11 @@ public class OFResultSetRow extends OFResultSet{
Query query = this.item.getQuery(); Query query = this.item.getQuery();
List<String> metrics = this.item.getMetrics(); List<String> metrics = this.item.getMetrics();
// 동적 키인지 일반 키들인지 체크해야함 // 일단은 동적 키적용
String metricsType = (String) query.getQueryInfo().get("metricsType");
List<String> arrayColumns = (List<String>) this.item.getQuery().getQueryInfo().get("arrayColumns"); List<String> arrayColumns = (List<String>) this.item.getQuery().getQueryInfo().get("arrayColumns");
List<String> keyColumns = (List<String>) this.item.getQuery().getQueryInfo().get("keyColumns"); List<String> keyColumns = (List<String>) this.item.getQuery().getQueryInfo().get("keyColumns");
List<String> keys = query.getKeys(); List<String> keys = query.getKeys();
boolean find = false; boolean find = false;
int findIndex = -1; int findIndex = -1;
for (String keyColumn: keyColumns) { for (String keyColumn: keyColumns) {