e.printStackTrace();
}
}
private static void executePush(DataSiftClient dataSift, String endpoint, HashMap<String, String> params) {
PushConnector connector = null;
try {
Map<String, Object> args = mapper.readValue(params.get("output_type"),
new TypeReference<HashMap<String, Object>>() {
});
connector = BaseConnector.fromMap(new OutputType<>(params.get("output_type")), args);