java.lang.Object
org.graylog.plugins.views.search.rest.scriptingapi.response.decorators.IdDecorator
All Implemented Interfaces:
FieldDecorator

public class IdDecorator extends Object implements FieldDecorator
This decorator is needed to support field.id format for messages and aggregations. The ID is the actual content of the fields below, but since we default to outputting name, we need some logic that will return the raw IDs if requested.