private AtlasExportRequest createRequest(final List<AtlasObjectId> itemsToExport,
                                           final Map<String, Object> options) {
    AtlasExportRequest request = new AtlasExportRequest() {
      {
        setItemsToExport(itemsToExport);
        setOptions(options);
      }
    };
    LOG.debug("createRequest: {}" + request);
    return request;
  }
Helper class to create export/import request.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/atlas/AtlasRequestBuilder.java