public void updateFilterIndex(String rowKey, String filter_ids) { HashMap<String, Object> attributes = new HashMap<String, Object>(); attributes.put("index_name", rowKey); attributes.put("filter_ids", filter_ids); new HystrixCassandraPut<String>(keyspace, "zuul_filter_indices", rowKey, attributes).execute(); }
/** * Performs an insert/update for a row in Cassandra. * * @param rowKey * @param attributes */ public void upsert(String rowKey, Map<String, Object> attributes) { new HystrixCassandraPut<String>(keyspace, COLUMN_FAMILY, rowKey, attributes).execute(); }
@Override public void updateFilterIndex(String rowKey, String filter_ids) { HashMap<String, Object> attributes = new HashMap<String, Object>(); attributes.put("index_name", rowKey); attributes.put("filter_ids", filter_ids); new HystrixCassandraPut<String>(keyspace, "zuul_filter_indices", rowKey, attributes).execute(); }
/** * Performs an insert/update for a row in Cassandra. * * @param rowKey * @param attributes */ @Override public void upsert(String rowKey, Map<String, Object> attributes) { new HystrixCassandraPut<String>(keyspace, COLUMN_FAMILY, rowKey, attributes).execute(); }