copyWith method

FdcDataSetOperationOptions copyWith({
  1. FdcDataSetOperationExecutionMode? sortExecutionMode,
  2. int? isolateSortThreshold,
  3. int? cooperativeChunkSize,
  4. bool? enableSortValueCache,
  5. int? sortValueCacheSize,
})

Creates a copy with selected values replaced.

Implementation

FdcDataSetOperationOptions copyWith({
  FdcDataSetOperationExecutionMode? sortExecutionMode,
  int? isolateSortThreshold,
  int? cooperativeChunkSize,
  bool? enableSortValueCache,
  int? sortValueCacheSize,
}) {
  return FdcDataSetOperationOptions(
    sortExecutionMode: sortExecutionMode ?? this.sortExecutionMode,
    isolateSortThreshold: isolateSortThreshold ?? this.isolateSortThreshold,
    cooperativeChunkSize: cooperativeChunkSize ?? this.cooperativeChunkSize,
    enableSortValueCache: enableSortValueCache ?? this.enableSortValueCache,
    sortValueCacheSize: sortValueCacheSize ?? this.sortValueCacheSize,
  );
}