reset json parser status on each record
This commit is contained in:
parent
b29b4e1fd7
commit
11e00c806d
|
@ -100,6 +100,9 @@ public class RunSPARQLQueryService {
|
||||||
if (isCollection) {
|
if (isCollection) {
|
||||||
parser.setCollection(true);
|
parser.setCollection(true);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
parser.setCollection(false);
|
||||||
|
}
|
||||||
String bufferedRecord = recordWriter.toString();
|
String bufferedRecord = recordWriter.toString();
|
||||||
int size = parser.parse(bufferedRecord);
|
int size = parser.parse(bufferedRecord);
|
||||||
log.debug("json elements: "+size);
|
log.debug("json elements: "+size);
|
||||||
|
|
Loading…
Reference in New Issue