in bulkimport/src/main/java/com/microsoft/azure/documentdb/bulkimport/BatchInserter.java [103:121]
public BatchInserter(String partitionKeyRangeId, List<List<String>> batchesToInsert, DocumentClient client, String bulkImportSprocLink,
BulkImportStoredProcedureOptions options) {
this.partitionKeyRangeId = partitionKeyRangeId;
this.batchesToInsert = batchesToInsert;
this.client = client;
this.bulkImportSprocLink = bulkImportSprocLink;
this.storedProcOptions = options;
this.numberOfDocumentsImported = new AtomicInteger();
this.totalRequestUnitsConsumed = new AtomicDouble();
class RequestOptionsInternal extends RequestOptions {
RequestOptionsInternal(String partitionKeyRangeId) {
setPartitionKeyRengeId(partitionKeyRangeId);
}
}
this.requestOptions = new RequestOptionsInternal(partitionKeyRangeId);
}