Click or drag to resize

MultiPartitionRecordReader<T>.AllowAdditionalPartitions Property

Gets or sets a value indicating whether the task may request additional partitions from the job server if it finishes the current ones.

Namespace:  Ookii.Jumbo.Jet
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public bool AllowAdditionalPartitions { get; set; }

Property Value

Type: Boolean
true if getting additional partitions is allowed; otherwise, false. The default value is true.
Remarks

A task can set this property to false to prevent the task from requesting additional partitions.

If this property is false, and a call to ReadRecord() returned false, you may change this property to true and attempt the call to ReadRecord() again.

Note that if this stage doesn't use multiple partitions per task or if dynamic partition assignment was disabled a task will never get additional partitions even if this property is true.

See Also