Click or drag to resize

InnerJoinRecordReader<TOuter, TInner, TResult> Class

Record reader that performs a two-way inner equi-join from two sorted input record readers.
Inheritance Hierarchy
System.Object
  Ookii.Jumbo.IO.RecordReader<TResult>
    Ookii.Jumbo.IO.MultiInputRecordReader<TResult>
      Ookii.Jumbo.IO.InnerJoinRecordReader<TOuter, TInner, TResult>

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public abstract class InnerJoinRecordReader<TOuter, TInner, TResult> : MultiInputRecordReader<TResult>
where TResult : new()

Type Parameters

TOuter
The type of the records of the outer relation.
TInner
The type of the records of the inner relation.
TResult
The type of the result records.

The InnerJoinRecordReader<TOuter, TInner, TResult> type exposes the following members.

Constructors
 NameDescription
Protected methodInnerJoinRecordReader<TOuter, TInner, TResult> Initializes a new instance of the InnerJoinRecordReader<TOuter, TInner, TResult> class.
Top
Properties
 NameDescription
Public propertyAllowRecordReuse Gets a value that indicates that this record reader is allowed to reuse record instances.
(Inherited from MultiInputRecordReader<T>)
Public propertyBufferSize Gets the buffer size to use to read input files.
(Inherited from MultiInputRecordReader<T>)
Public propertyBytesRead Gets the actual number of bytes read from the input.
(Inherited from MultiInputRecordReader<T>)
Public propertyCompressionType Gets the type of compression to use to read input files.
(Inherited from MultiInputRecordReader<T>)
Public propertyCurrentInputCount Gets the current number of inputs that have been added to the MultiInputRecordReader<T> for the currently active set of partitions.
(Inherited from MultiInputRecordReader<T>)
Public propertyCurrentPartition Gets or sets the partition that calls to ReadRecord() should return records for.
(Inherited from MultiInputRecordReader<T>)
Public propertyCurrentRecord Gets the current record.
(Inherited from RecordReader<T>)
Public propertyHasFinished Gets a value indicating whether this instance has read all records.
(Inherited from RecordReader<T>)
Public propertyHasRecords Gets a value that indicates whether there are records available on the data source that this reader is reading from.
(Inherited from RecordReader<T>)
Public propertyInputBytes Gets the size of the records before deserialization of all record readers.
(Inherited from MultiInputRecordReader<T>)
Protected propertyIsDisposed Gets a value that indicates whether the object has been disposed.
(Inherited from MultiInputRecordReader<T>)
Public propertyPartitionCount Gets the number of partitions assigned to this reader.
(Inherited from MultiInputRecordReader<T>)
Public propertyPartitionNumbers Gets the partition numbers assigned to this reader.
(Inherited from MultiInputRecordReader<T>)
Public propertyProgress Gets the combined progress of the record readers.
(Inherited from MultiInputRecordReader<T>)
Public propertyReadTime Gets the time spent reading.
(Inherited from RecordReader<T>)
Public propertyRecordsRead Gets the number of records that has been read by this record reader.
(Inherited from RecordReader<T>)
Public propertySourceName Gets or sets the an informational string indicating the source of the records.
(Inherited from RecordReader<T>)
Public propertyTotalInputCount Gets the total number of inputs readers that this record reader will have.
(Inherited from MultiInputRecordReader<T>)
Top
Methods
 NameDescription
Public methodAddInput Adds the specified input to be read by this record reader.
(Overrides MultiInputRecordReader<T>.AddInput(IList<RecordInput>))
Public methodAssignAdditionalPartitions Assigns additional partitions to this record reader.
(Overrides MultiInputRecordReader<T>.AssignAdditionalPartitions(IList<Int32>))
Protected methodCheckDisposed Throws a ObjectDisposedException if the object has been disposed.
(Inherited from MultiInputRecordReader<T>)
Protected methodCompare When implemented in a derived class, compares an object from the outer relation to one from the inner relation based on the join condition.
Protected methodCreateJoinResult When implemented in a derived class, creates an object of type TResult that holds the result of the join.
Public methodDispose() Cleans up all resources held by this StreamRecordReader{T}.
(Inherited from RecordReader<T>)
Protected methodDispose(Boolean) Cleans up all resources associated with this MultiInputRecordReader<T>.
(Inherited from MultiInputRecordReader<T>)
Public methodEnumerateRecords Enumerates over all the records.
(Inherited from RecordReader<T>)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetInput Returns the specified input.
(Inherited from MultiInputRecordReader<T>)
Protected methodGetInputReader(Int32) Gets the record reader for the specified input of the current partition.
(Inherited from MultiInputRecordReader<T>)
Protected methodGetInputReader(Int32, Int32) Returns the record reader for the specified partition and input.
(Inherited from MultiInputRecordReader<T>)
Protected methodGetInputReader(Int32, Int32, Boolean) Returns the record reader for the specified partition and input.
(Inherited from MultiInputRecordReader<T>)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNextPartition Moves the current partition to the next partition.
(Inherited from MultiInputRecordReader<T>)
Protected methodOnCurrentPartitionChanged Raises the CurrentPartitionChanged event.
(Inherited from MultiInputRecordReader<T>)
Protected methodOnCurrentPartitionChanging Raises the CurrentPartitionChanging event.
(Inherited from MultiInputRecordReader<T>)
Protected methodOnHasRecordsChanged Raises the HasRecordsChanged event.
(Inherited from RecordReader<T>)
Public methodReadRecord Reads a record.
(Inherited from RecordReader<T>)
Protected methodReadRecordInternal Reads a record.
(Overrides RecordReader<T>.ReadRecordInternal())
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodWaitForInputs Waits until the specified number of inputs becomes available for all currently active partitions.
(Inherited from MultiInputRecordReader<T>)
Top
Events
 NameDescription
Public eventCurrentPartitionChanged Event raised when the value of the CurrentPartition property changes.
(Inherited from MultiInputRecordReader<T>)
Public eventCurrentPartitionChanging Event raised when the value of the CurrentPartition property is about to change.
(Inherited from MultiInputRecordReader<T>)
Public eventHasRecordsChanged Occurs when the value of the HasRecords property changes.
(Inherited from RecordReader<T>)
Top
Remarks

Classes inheriting from InnerJoinRecordReader<TOuter, TInner, TResult> must specify InputTypeAttribute attributes with both TOuter and TInner.

See Also