public interface SearchType
result.
Plain queries only select a set of data but by themselves do not return any specific parts from it. Typical search types are aggregations across fields, a list of messages and other metadata.
| Modifier and Type | Interface and Description |
|---|---|
static class |
SearchType.Fallback |
static interface |
SearchType.Result
Each search type should declare an implementation of its result conforming to this interface.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_FIELD |
| Modifier and Type | Method and Description |
|---|---|
SearchType |
applyExecutionContext(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.fasterxml.jackson.databind.JsonNode state) |
Filter |
filter() |
String |
id() |
String |
type() |
static final String TYPE_FIELD
String type()
String id()
SearchType applyExecutionContext(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.fasterxml.jackson.databind.JsonNode state)
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.