 | MultiInputRecordReaderTGetInput Method |
Returns the specified input.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxprotected RecordInput? GetInput(
int partition,
int index,
bool memoryOnly
)
Protected Function GetInput (
partition As Integer,
index As Integer,
memoryOnly As Boolean
) As RecordInput
protected:
RecordInput^ GetInput(
int partition,
int index,
bool memoryOnly
)
member GetInput :
partition : int *
index : int *
memoryOnly : bool -> RecordInput
Parameters
- partition Int32
- The partition of the input to return.
- index Int32
- The index of the record input to return.
- memoryOnly Boolean
- to return only inputs that are stored in memory; otherwise, .
Return Value
RecordInput
The
RecordInput instance for the input, or
if
memoryOnly
was
and the input was not stored in memory.
Remarks
Because the MultiInputRecordReaderT tries to keep the inputs that in memory in front of the inputs that aren't, if
a call to GetInput(Int32, Int32, Boolean) returned , subsequent calls with the same partition
and index might not return .
Once a call to GetInput(Int32, Int32, Boolean) has returned a value other than , subsequent
calls with the same partition and index are guaranteed to return the same value.
Two calls to GetInput(Int32, Int32, Boolean) with the same index but a different partition
aren't guaranteed to return inputs from the same source.
See Also