Query Engine API Upsert Functionality

How can I upsert using Query Engine API?