code: public BatchResult addBatch(ApplicationDefinition appDef, String shardName,
                                  OlapBatch batch, Map<String, String> options) {
          checkServiceState();
          String guid = m_olap.addSegment(appDef, shardName, batch, getOverwriteOption(options));
          BatchResult result = new BatchResult();
          result.setStatus(Status.OK);
          result.setComment("GUID=" + guid);
          return result;
      }
docs: Same as {@link #addBatch(ApplicationDefinition, String, OlapBatch)} but allows
  batch options to be passed. Currently, the only option supported is "overwrite",
  which must be true or false. The default is true, which means field values for
  existing objects are replaced. When overwrite is set to false, existing field
  values are not overwritten with the values in this batch.
  
  @param appDef    {@link ApplicationDefinition} of application to update.
  @param shardName Shard to add batch to.
  @param batch     {@link OlapBatch} containing object updates.
  @param options   Map of option key/value pairs. Currently, only "overwrite" is
  supported and must be true/false.
  @return          {@link BatchResult} indicating results of update.