Click or drag to resize

IMultiInputRecordReader Interface

Interface for record readers that combine the input of multiple record readers.

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public interface IMultiInputRecordReader : IRecordReader, 
	IDisposable

The IMultiInputRecordReader type exposes the following members.

Properties
 NameDescription
Public propertyAllowRecordReuse Gets a value that indicates that this record reader is allowed to reuse record instances.
Public propertyBufferSize Gets the buffer size to use to read input files.
Public propertyBytesRead Gets the actual number of bytes read from the input.
(Inherited from IRecordReader)
Public propertyCompressionType Gets the type of compression to use to read input files.
Public propertyCurrentInputCount Gets the current number of inputs that have been added to the MultiInputRecordReaderT.
Public propertyCurrentPartition Gets the partition that calls to ReadRecord should return records for.
Public propertyCurrentRecord Gets the current record.
(Inherited from IRecordReader)
Public propertyHasFinished Gets a value indicating whether this instance has read all records.
(Inherited from IRecordReader)
Public propertyHasRecords Gets a value that indicates whether there are records available on the data source that this reader is reading from.
(Inherited from IRecordReader)
Public propertyInputBytes Gets the size of the records before deserialization.
(Inherited from IRecordReader)
Public propertyPartitionNumbers Gets all partitions currently assigned to this reader.
Public propertyProgress Gets the progress for the task, between 0 and 1.
(Inherited from IRecordReader)
Public propertyReadTime Gets the time spent reading.
(Inherited from IRecordReader)
Public propertyRecordsRead Gets the number of records that has been read by this record reader.
(Inherited from IRecordReader)
Public propertySourceName Gets or sets the an informational string indicating the source of the records.
(Inherited from IRecordReader)
Public propertyTotalInputCount Gets the total number of inputs readers that this record reader will have.
Top
Methods
 NameDescription
Public methodAddInput Adds the specified input to be read by this record reader.
Public methodAssignAdditionalPartitions Assigns additional partitions to this record reader.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodNextPartition Moves the current partition to the next partition.
Public methodReadRecord Reads a record.
(Inherited from IRecordReader)
Top
Events
 NameDescription
Public eventCurrentPartitionChanged Event that is raised if the value of the CurrentPartition property changes.
Public eventCurrentPartitionChanging Event raised when the value of the CurrentPartition property is about to change.
Public eventHasRecordsChanged Occurs when the value of the HasRecords property changes.
(Inherited from IRecordReader)
Top
Remarks
Note  Note
Record readers must inherit from MultiInputRecordReaderT, not just implement this interface.
See Also