Package org.apache.druid.query.search
Class BySegmentSearchResultValue
- java.lang.Object
-
- org.apache.druid.query.search.SearchResultValue
-
- org.apache.druid.query.search.BySegmentSearchResultValue
-
- All Implemented Interfaces:
Iterable<SearchHit>,BySegmentResultValue<Result<SearchResultValue>>
public class BySegmentSearchResultValue extends SearchResultValue implements BySegmentResultValue<Result<SearchResultValue>>
-
-
Constructor Summary
Constructors Constructor Description BySegmentSearchResultValue(List<Result<SearchResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.IntervalgetInterval()List<Result<SearchResultValue>>getResults()StringgetSegmentId()List<SearchHit>getValue()StringtoString()-
Methods inherited from class org.apache.druid.query.search.SearchResultValue
equals, hashCode, iterator
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
BySegmentSearchResultValue
public BySegmentSearchResultValue(List<Result<SearchResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
-
Method Detail
-
getValue
public List<SearchHit> getValue()
- Overrides:
getValuein classSearchResultValue
-
getResults
public List<Result<SearchResultValue>> getResults()
- Specified by:
getResultsin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
getSegmentId
public String getSegmentId()
- Specified by:
getSegmentIdin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
getInterval
public org.joda.time.Interval getInterval()
- Specified by:
getIntervalin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
toString
public String toString()
- Overrides:
toStringin classSearchResultValue
-
-