public void setMarkings(Map<String,String> markings) { if (null != markings) { this.markings = new HashMap<String,String>(markings); } else { this.markings = null; } super.setMarkings(this.markings); }
e.setMarkings(markings); e.setMarkings(markings);
event.setMarkings(markings);
protected BaseQueryResponse createGroupedResponse(Multiset<Collection<FieldBase<?>>> multiset) { Map<String,String> markings = Maps.newHashMap(); EventQueryResponseBase response = this.responseObjectFactory.getEventQueryResponse(); List<EventBase> events = new ArrayList<>(); for (Collection<FieldBase<?>> entry : multiset.elementSet()) { EventBase event = this.responseObjectFactory.getEvent(); event.setMarkings(markings); List<FieldBase<?>> fields = new ArrayList(entry); FieldBase<?> counter = this.responseObjectFactory.getField(); counter.setName("COUNT"); counter.setMarkings(markings); counter.setValue(multiset.count(entry)); counter.setTimestamp(0L); fields.add(counter); event.setFields(fields); events.add(event); } response.setEvents(events); response.setTotalEvents((long) events.size()); response.setReturnedEvents((long) events.size()); return response; }
throw new RuntimeException("could not make markings from: " + columnVisibility); event.setMarkings(markings);
try { columnVisibility = this.markingFunctions.combine(visibilitiesToMerge); event.setMarkings(this.markingFunctions.translateFromColumnVisibility(columnVisibility)); } catch (Exception e1) { throw new RuntimeException("could not make markings from: " + columnVisibility);
event.setMarkings(markings);
throw new RuntimeException("could not parse to markings: " + thing.getColumnVisibility()); event.setMarkings(markings);
event.setMarkings(markings);
event.setMarkings(markings);
event.setMarkings(markings); event.setFields(new ArrayList<>(documentFields));
event.setMarkings(markings);
event.setMarkings(markings);