41424344454647
if (!(split instanceof MongoInputSplit)) throw new IllegalStateException("Creation of a new RecordReader requires a MongoInputSplit instance."); final MongoInputSplit mis = (MongoInputSplit) split; return new MongoRecordReader(mis); }
51525354555657
// split is of type 'MongoHiveInputSplit' MongoHiveInputSplit mhis = (MongoHiveInputSplit) split; // return MongoRecordReader. Delegate is of type 'MongoInputSplit' return new MongoRecordReader((MongoInputSplit) mhis.getDelegate()); }
45464748495051
throw new IllegalStateException("Creation of a new RecordReader requires a MongoInputSplit instance."); } final MongoInputSplit mis = (MongoInputSplit) split; return new MongoRecordReader(mis); }