parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputSplit.java
static ParquetInputSplit from(FileSplit split) throws IOException {
    return new ParquetInputSplit(split.getPath(),
        split.getStart(), split.getStart() + split.getLength(),
        split.getLength(), split.getLocations(), null);
  }
static ParquetInputSplit from(FileSplit split) throws IOException {
    return new ParquetInputSplit(split.getPath(),
        split.getStart(), split.getStart() + split.getLength(),
        split.getLength(), split.getLocations(), null);
  }
static ParquetInputSplit from ( FileSplit split ) throws IOException { return new ParquetInputSplit ( split . getPath ( ) , split . getStart ( ) , split . getStart ( ) + split . getLength ( ) , split . getLength ( ) , split . getLocations ( ) , null ) ; }
Builds a {@code ParquetInputSplit} from a mapreduce {@link FileSplit}.

@param split a mapreduce FileSplit
@return a ParquetInputSplit
@throws IOException if there is an error while creating the Parquet split
Builds a { @code ParquetInputSplit } from a mapreduce { @link FileSplit } .