private static FormatBundle < DatasetKeyInputFormat > inputBundle ( Configuration conf ) { FormatBundle < DatasetKeyInputFormat > bundle = FormatBundle . forInput ( DatasetKeyInputFormat . class ) ; for ( Map . Entry < String , String > entry : conf ) { bundle . set ( entry . getKey ( ) , entry . getValue ( ) ) ; } return bundle ; }
Builds a FormatBundle for DatasetKeyInputFormat by copying a temp config .