}
private Record buildRvtRecord(String ns, int nrOfFields) throws Exception {
RecordBuilder rvtRecordBuilder = repository.recordBuilder().defaultNamespace(ns);
for (int i = 0; i < nrOfFields; i++) {
rvtRecordBuilder.field("stringField"+i, "value"+i);
}
return repository.recordBuilder().defaultNamespace(ns).recordType("rvtFieldRT").field("rvtField", rvtRecordBuilder.build()).build();
}
private Record buildJsonRecord(String ns, int nrOfFields) throws Exception {