public List<Object> transactionLoad(TransactionLoadRequest transactionLoadRequest) {
        for (Object object : transactionLoadRequest.getObjectsToLoad() ) {
            if (!model.targetType().equals(object.getClass())) {
                throw new DynamoDBMappingException("Input object is of the classType: " + object.getClass() + " but tableMapper is declared with classType: " + model.targetType());
            }
        }
        return mapper.transactionLoad(transactionLoadRequest);
    }
public List < Object > transactionLoad ( TransactionLoadRequest transactionLoadRequest ) { for ( Object object : transactionLoadRequest . getObjectsToLoad ( ) ) { if ( ! model . targetType ( ) . equals ( object . getClass ( ) ) ) { throw new DynamoDBMappingException ( "Input object is of the classType: " + object . getClass ( ) + " but tableMapper is declared with classType: " + model . targetType ( ) ) ; } } return mapper . transactionLoad ( transactionLoadRequest ) ; }
Transactionally loads objects specified by transactionLoadRequest by calling
{@link com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper#transactionLoad(TransactionLoadRequest)} API.
@param transactionLoadRequest List of objects to load
@return List of objects
@see com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper#transactionLoad(TransactionLoadRequest)