ing
resultsetcol
This commit is contained in:
parent
6eda977943
commit
e781e680d1
|
@ -27,9 +27,12 @@ public class OFResultSetCol extends OFResultSet{
|
|||
this.meta.put(meta.get(indexI), indexI);
|
||||
}
|
||||
|
||||
if( arrayColumns != null) {
|
||||
for( int indexI = 0 ; indexI < arrayColumns.size(); ++indexI) {
|
||||
this.meta.put(arrayColumns.get(indexI), indexI+ meta.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -57,11 +60,14 @@ public class OFResultSetCol extends OFResultSet{
|
|||
|
||||
arrayValue.clear();
|
||||
|
||||
if(arrayColumns != null ) {
|
||||
for(int indexL =0; indexL < arrayColumns.size(); ++indexL) {
|
||||
columnIdx = this.meta.get(arrayColumns.get(indexL));
|
||||
|
||||
arrayValue.add(row.get(columnIdx));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
for(int indexK = 0 ; indexK < metrics.size(); ++indexK) {
|
||||
|
@ -83,6 +89,10 @@ public class OFResultSetCol extends OFResultSet{
|
|||
|
||||
private String convertMetric(String metric, List<String> arrayValue) {
|
||||
|
||||
if(arrayValue == null || arrayValue.size() <= 0) {
|
||||
return metric;
|
||||
}
|
||||
|
||||
String convertChar = "$";
|
||||
String convertStr = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user