code: function BatchWriter(queries, consistency, options) {
    this.queries = queries;
    options = utils.extend({atomic: true}, options);
    this.type = options.atomic ? 0 : 1;
    this.type = options.counter ? 2 : this.type;
    this.consistency = consistency;
    this.streamId = null;
    if (consistency === null || typeof consistency === 'undefined') {
      this.consistency = types.consistencies.getDefault();
    }
  }
docs: Writes a batch request
  @param {Array} queries Array of objects with the properties query and params
  @constructor