Class SearchResponse
java.lang.Object
org.graylog2.rest.resources.search.responses.SearchResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchResponse.Builderbuilder()abstract Stringstatic SearchResponsecreate(String query, String builtQuery, Set<IndexRangeSummary> usedIndices, List<ResultMessageSummary> messages, Set<String> fields, long time, long totalResults, org.joda.time.DateTime from, org.joda.time.DateTime to) abstract SearchDecorationStatsfields()abstract org.joda.time.DateTimefrom()abstract List<ResultMessageSummary>messages()abstract Stringquery()abstract longtime()abstract org.joda.time.DateTimeto()abstract SearchResponse.Builderabstract longabstract Set<IndexRangeSummary>
-
Constructor Details
-
SearchResponse
public SearchResponse()
-
-
Method Details
-
query
-
builtQuery
-
usedIndices
-
messages
-
fields
-
time
public abstract long time() -
totalResults
public abstract long totalResults() -
from
public abstract org.joda.time.DateTime from() -
to
public abstract org.joda.time.DateTime to() -
decorationStats
-
toBuilder
-
builder
-
create
public static SearchResponse create(String query, String builtQuery, Set<IndexRangeSummary> usedIndices, List<ResultMessageSummary> messages, Set<String> fields, long time, long totalResults, org.joda.time.DateTime from, org.joda.time.DateTime to)
-