public void pipe ( final BsonReader reader , final List < BsonElement > extraElements ) { notNull ( "reader" , reader ) ; notNull ( "extraElements" , extraElements ) ; pipeDocument ( reader , extraElements ) ; }
Reads a single document from the given BsonReader and writes it to this appending the given extra elements to the document .