public DataSet loadFromMetaData ( List < RecordMetaData > list ) throws IOException { if ( underlying == null ) { Record r = recordReader . loadFromMetaData ( list . get ( 0 ) ) ; initializeUnderlying ( r ) ; } //Convert back to composable: List < RecordMetaData > l = new ArrayList <> ( list . size ( ) ) ; for ( RecordMetaData m : list ) { l . add ( new RecordMetaDataComposableMap ( Collections . singletonMap ( READER_KEY , m ) ) ) ; } MultiDataSet m = underlying . loadFromMetaData ( l ) ; return mdsToDataSet ( m ) ; }
Load a multiple examples to a DataSet using the provided RecordMetaData instances .