## Uses of Interface
org.apache.hadoop.mapred.InputSplit

- Packages that use InputSplit
  Package | Description
  --- | ---
  org.apache.hadoop.mapred |
  org.apache.hadoop.mapred.join |
  org.apache.hadoop.mapred.lib |
  org.apache.hadoop.mapred.lib.db |

- - ### Uses of InputSplit in org.apache.hadoop.mapred

    Subinterfaces of InputSplit in org.apache.hadoop.mapred
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `InputSplitWithLocationInfo`

    Classes in org.apache.hadoop.mapred that implement InputSplit
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FileSplit` A section of an input file.
    `class` | `MultiFileSplit` A sub-collection of input files.

    Methods in org.apache.hadoop.mapred that return InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `InputSplit` | Reporter.`getInputSplit()` Get the `InputSplit` object for a map.
    `InputSplit[]` | MultiFileInputFormat.`getSplits(JobConf job, int numSplits)`
    `InputSplit[]` | InputFormat.`getSplits(JobConf job, int numSplits)` Logically split the set of input files for the job.
    `InputSplit[]` | FileInputFormat.`getSplits(JobConf job, int numSplits)` Splits files returned by `FileInputFormat.listStatus(JobConf)` when they're too big.

    Methods in org.apache.hadoop.mapred with parameters of type InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `RecordReader<Text,Text>` | SequenceFileAsTextInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `RecordReader<LongWritable,BytesWritable>` | FixedLengthInputFormat.`getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter)`
    `abstract RecordReader<K,V>` | MultiFileInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `RecordReader<LongWritable,Text>` | TextInputFormat.`getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter)`
    `RecordReader<K,V>` | SequenceFileInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `RecordReader<BytesWritable,BytesWritable>` | SequenceFileAsBinaryInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `RecordReader<K,V>` | InputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)` Get the `RecordReader` for the given `InputSplit`.
    `RecordReader<Text,Text>` | KeyValueTextInputFormat.`getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter)`
    `abstract RecordReader<K,V>` | FileInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `RecordReader<K,V>` | SequenceFileInputFilter.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)` Create a record reader for the given split

  - ### Uses of InputSplit in org.apache.hadoop.mapred.join

    Classes in org.apache.hadoop.mapred.join that implement InputSplit
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompositeInputSplit` This InputSplit contains a set of child InputSplits.

    Methods in org.apache.hadoop.mapred.join that return InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `InputSplit` | CompositeInputSplit.`get(int i)` Get ith child InputSplit.
    `InputSplit[]` | CompositeInputFormat.`getSplits(JobConf job, int numSplits)` Build a CompositeInputSplit from the child InputFormats by assigning the ith split from each child to the ith composite split.

    Methods in org.apache.hadoop.mapred.join with parameters of type InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `void` | CompositeInputSplit.`add(InputSplit s)` Add an InputSplit to this collection.
    `ComposableRecordReader<K,V>` | ComposableInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)`
    `ComposableRecordReader<K,TupleWritable>` | CompositeInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)` Construct a CompositeRecordReader for the children of this InputFormat as defined in the init expression.

  - ### Uses of InputSplit in org.apache.hadoop.mapred.lib

    Classes in org.apache.hadoop.mapred.lib that implement InputSplit
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CombineFileSplit`

    Methods in org.apache.hadoop.mapred.lib that return InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `InputSplit[]` | NLineInputFormat.`getSplits(JobConf job, int numSplits)` Logically splits the set of input files for the job, splits N lines of the input as one split.
    `InputSplit[]` | CombineFileInputFormat.`getSplits(JobConf job, int numSplits)`

    Methods in org.apache.hadoop.mapred.lib with parameters of type InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `RecordReader<LongWritable,Text>` | CombineTextInputFormat.`getRecordReader(InputSplit split, JobConf conf, Reporter reporter)`
    `RecordReader<K,V>` | CombineSequenceFileInputFormat.`getRecordReader(InputSplit split, JobConf conf, Reporter reporter)`
    `RecordReader<LongWritable,Text>` | NLineInputFormat.`getRecordReader(InputSplit genericSplit, JobConf job, Reporter reporter)`
    `abstract RecordReader<K,V>` | CombineFileInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)` This is not implemented yet.

  - ### Uses of InputSplit in org.apache.hadoop.mapred.lib.db

    Methods in org.apache.hadoop.mapred.lib.db that return InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `InputSplit[]` | DBInputFormat.`getSplits(JobConf job, int chunks)` Logically split the set of input files for the job.

    Methods in org.apache.hadoop.mapred.lib.db with parameters of type InputSplit
    Modifier and Type | Method and Description
    --- | ---
    `RecordReader<LongWritable,T>` | DBInputFormat.`getRecordReader(InputSplit split, JobConf job, Reporter reporter)` Get the `RecordReader` for the given `InputSplit`.

Copyright © 2022 Apache Software Foundation. All rights reserved.