microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableOperation.java
public static TableOperation insertOrMerge(final TableEntity entity) {
        Utility.assertNotNull("entity", entity);
        return new TableOperation(entity, TableOperationType.INSERT_OR_MERGE);
    }
public static TableOperation insertOrMerge(final TableEntity entity) {
        Utility.assertNotNull("entity", entity);
        return new TableOperation(entity, TableOperationType.INSERT_OR_MERGE);
    }
A static factory method returning a {@link TableOperation} instance to merge the specified entity into
Microsoft Azure storage, or insert it if it does not exist. To execute this {@link TableOperation} on a given
table, call
the {@link CloudTable#execute(TableOperation)} method on a {@link CloudTableClient} instance with
the table name and the {@link TableOperation} as arguments.

@param entity
The object instance implementing {@link TableEntity} to associate with the operation.
@return
A new {@link TableOperation} instance for inserting or merging the table entity.