public long getLength(int idx) {
    if (inputSplits != null) {
      try {
        return inputSplits[idx].getLength();
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
    return -1;
  }
The position of the first byte in the file to process.
ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputSplit.java