code: private Stream<BatchAndTotalResultWithInfo> getResultOfBatchAndTotalWithInfo(Stream<BatchAndTotalResult> iterate, GraphDatabaseService db, String label, String rel, String prop) {
  		List<String> constraints = new ArrayList<>();
  		List<String> indexes = new ArrayList<>();
  
  		if(label != null){
  			Iterable<ConstraintDefinition> constraintsForLabel = db.schema().getConstraints(Label.label(label));
  			constraintsForLabel.forEach((c) -> {
  				constraints.add(c.toString());
  			});
  			Iterable<IndexDefinition> idxs = db.schema().getIndexes(Label.label(label));
  			idxs.forEach((i) -> {
  				indexes.add(i.toString());
  			}
docs: /*
  Create the response for rename apoc with impacted constraints and indexes