in src/main/java/com/google/cloud/solutions/bqremoteencryptionfn/fns/dlp/DlpRequestBatchExecutor.java [64:81]
private DlpRequestBatchExecutor(
int requestCellCount,
int requestMaxBytes,
String dlpColumnName,
DlpClientFactory dlpClientFactory,
Function<DlpServiceClient, Function<DlpRequestT, DlpResponseT>> dlpCallFnFactory,
Function<DlpServiceClient, Function<Table, DlpRequestT>> tableToDlpRequestFnFactory,
Function<DlpRequestT, Table> dlpRequestToTableFn,
Function<DlpResponseT, Table> dlpResponseToTableFn) {
this.requestCellCount = requestCellCount;
this.requestMaxBytes = requestMaxBytes;
this.dlpColumnName = dlpColumnName;
this.dlpClientFactory = dlpClientFactory;
this.dlpCallFnFactory = dlpCallFnFactory;
this.tableToDlpRequestFnFactory = tableToDlpRequestFnFactory;
this.dlpRequestToTableFn = dlpRequestToTableFn;
this.dlpResponseToTableFn = dlpResponseToTableFn;
}