com.cloudera.api.v6
Interface BatchResource


public interface BatchResource


Method Summary
 ApiBatchResponse execute(ApiBatchRequest bReq)
          Executes a batch of API requests in one database transaction.
 

Method Detail

execute

@PermitAll
@Path(value="/")
ApiBatchResponse execute(ApiBatchRequest bReq)
Executes a batch of API requests in one database transaction. If any request fails, execution halts and the transaction is rolled back.

Parameters:
bReq - Batch of request to execute.
Returns:
Batch response, containing one element for each executed request element. If a request element was skipped (i.e. a previous request element failed), it will not have a corresponding response element.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.