public Task < RemoteInsertOneResult > insertOne ( final DocumentT document ) { return dispatcher . dispatchTask ( new Callable < RemoteInsertOneResult > ( ) { @ Override public RemoteInsertOneResult call ( ) { return proxy . insertOne ( document ) ; } } ) ; }
Inserts the provided document . If the document is missing an identifier the client should generate one .