@Deprecated
	default void add(ActionRequest... actionRequests) {
		for (ActionRequest actionRequest : actionRequests) {
			if (actionRequest instanceof IndexRequest) {
				add((IndexRequest) actionRequest);
			} else if (actionRequest instanceof DeleteRequest) {
				add((DeleteRequest) actionRequest);
			} else if (actionRequest instanceof UpdateRequest) {
				add((UpdateRequest) actionRequest);
			} else {
				throw new IllegalArgumentException("RequestIndexer only supports Index, Delete and Update requests");
			}
		}
	}
Add multiple {@link ActionRequest} to the indexer to prepare for sending requests to Elasticsearch.

@param actionRequests The multiple {@link ActionRequest} to add.
@deprecated use the {@link DeleteRequest}, {@link IndexRequest} or {@link UpdateRequest}
elasticsearch5-xh/elasticsearch5-xh-sink/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/RequestIndexer.java