public abstract class SearchResponse extends Object
Constructor and Description |
---|
SearchResponse() |
Modifier and Type | Method and Description |
---|---|
abstract String |
builtQuery() |
static SearchResponse |
create(String query,
String builtQuery,
Set<IndexRange> usedIndices,
List<ResultMessage> messages,
Set<String> fields,
long time,
long totalResults,
org.joda.time.DateTime from,
org.joda.time.DateTime to) |
abstract Set<String> |
fields() |
abstract org.joda.time.DateTime |
from() |
abstract List<ResultMessage> |
messages() |
abstract String |
query() |
abstract long |
time() |
abstract org.joda.time.DateTime |
to() |
abstract long |
totalResults() |
abstract Set<IndexRange> |
usedIndices() |
public abstract String query()
public abstract String builtQuery()
public abstract Set<IndexRange> usedIndices()
public abstract List<ResultMessage> messages()
public abstract long time()
public abstract long totalResults()
public abstract org.joda.time.DateTime from()
public abstract org.joda.time.DateTime to()
public static SearchResponse create(String query, String builtQuery, Set<IndexRange> usedIndices, List<ResultMessage> messages, Set<String> fields, long time, long totalResults, org.joda.time.DateTime from, org.joda.time.DateTime to)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.